mirror of https://gitee.com/openkylin/qemu.git
openbios-spelling-endianess
Gbp-Pq: Name openbios-spelling-endianess.patch Signed-off-by: Cong Liu <liucong2@kylinos.cn>
This commit is contained in:
parent
a5c3f34a28
commit
20e5e128b2
|
@ -171,9 +171,9 @@ static void write_dictionary(const char *filename)
|
|||
.version = 2,
|
||||
.cellsize = sizeof(ucell),
|
||||
#ifdef CONFIG_BIG_ENDIAN
|
||||
.endianess = -1,
|
||||
.endianness = -1,
|
||||
#else
|
||||
.endianess = 0,
|
||||
.endianness = 0,
|
||||
#endif
|
||||
.checksum = 0,
|
||||
.compression = 0,
|
||||
|
|
|
@ -252,7 +252,7 @@ void dump_header(dictionary_header_t *header)
|
|||
printk("OpenBIOS dictionary:\n");
|
||||
printk(" version: %d\n", header->version);
|
||||
printk(" cellsize: %d\n", header->cellsize);
|
||||
printk(" endianess: %s\n", header->endianess?"big":"little");
|
||||
printk(" endianness: %s\n", header->endianness?"big":"little");
|
||||
printk(" compression: %s\n", header->compression?"yes":"no");
|
||||
printk(" relocation: %s\n", header->relocation?"yes":"no");
|
||||
printk(" checksum: %08x\n", target_long(header->checksum));
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct dictionary_header {
|
|||
char signature[8];
|
||||
u8 version;
|
||||
u8 cellsize;
|
||||
u8 endianess;
|
||||
u8 endianness;
|
||||
u8 compression;
|
||||
u8 relocation;
|
||||
u8 reserved[3];
|
||||
|
|
Loading…
Reference in New Issue