openbios-spelling-endianess

Gbp-Pq: Name openbios-spelling-endianess.patch
Signed-off-by: Cong Liu <liucong2@kylinos.cn>
This commit is contained in:
Debian QEMU Team 2022-11-03 15:33:35 +08:00 committed by Cong Liu
parent a5c3f34a28
commit 20e5e128b2
3 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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));

View File

@ -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];