mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/kern/i386/qemu/init.c (resource): Decrease struct size
by using bitfields.
This commit is contained in:
1 parent
bc8fcf4bd3
commit
6a5fe1328b
2 files changed
+7
-2
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user