diff --git a/ChangeLog b/ChangeLog index d81730900..ee26842b7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-14 Vladimir Serbinenko + + * grub-core/kern/i386/qemu/init.c (resource): Decrease struct size + by using bitfields. + 2013-12-14 Vladimir Serbinenko * grub-core/boot/i386/qemu/boot.S: Add missing EXT_C. diff --git a/grub-core/kern/i386/qemu/init.c b/grub-core/kern/i386/qemu/init.c index 09da1e97f..271b6fbfa 100644 --- a/grub-core/kern/i386/qemu/init.c +++ b/grub-core/kern/i386/qemu/init.c @@ -85,9 +85,9 @@ heap_init (grub_uint64_t addr, grub_uint64_t size, grub_memory_type_t type, struct resource { grub_pci_device_t dev; - int type; grub_size_t size; - int bar; + unsigned type:4; + unsigned bar:3; }; struct iterator_ctx