OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 * | 4 * |
5 * Data structure definitions for firmware screen block (BMPBLOCK). | 5 * Data structure definitions for firmware screen block (BMPBLOCK). |
6 * | 6 * |
7 * The BmpBlock structure looks like: | 7 * The BmpBlock structure looks like: |
8 * +-----------------------------------------+ | 8 * +-----------------------------------------+ |
9 * | BmpBlock Header | | 9 * | BmpBlock Header | |
10 * +-----------------------------------------+ | 10 * +-----------------------------------------+ |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 /* Constants for ImageInfo.format */ | 110 /* Constants for ImageInfo.format */ |
111 typedef enum ImageFormat { | 111 typedef enum ImageFormat { |
112 FORMAT_INVALID = 0, | 112 FORMAT_INVALID = 0, |
113 FORMAT_BMP, | 113 FORMAT_BMP, |
114 } ImageFormat; | 114 } ImageFormat; |
115 | 115 |
116 /* Constants for ImageInfo.compression */ | 116 /* Constants for ImageInfo.compression */ |
117 typedef enum Compression { | 117 typedef enum Compression { |
118 COMPRESS_NONE = 0, | 118 COMPRESS_NONE = 0, |
119 COMPRESS_EFIv1, /* The x86 BIOS only supports this */ | 119 COMPRESS_EFIv1, /* The x86 BIOS only supports this */ |
120 COMPRESS_TBD, /* Only on ARM? */ | 120 COMPRESS_LZMA1, /* The ARM BIOS supports LZMA1 */ |
121 MAX_COMPRESS, | 121 MAX_COMPRESS, |
122 } Compression; | 122 } Compression; |
123 | 123 |
124 __pragma(pack(pop)) /* Support packing for MSVC. */ | 124 __pragma(pack(pop)) /* Support packing for MSVC. */ |
125 | 125 |
126 #endif /* VBOOT_REFERENCE_BMPBLK_HEADER_H_ */ | 126 #endif /* VBOOT_REFERENCE_BMPBLK_HEADER_H_ */ |
OLD | NEW |