diff options
author | Richard Henderson <rth@twiddle.net> | 2013-07-08 11:48:03 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-07-08 11:48:03 -0700 |
commit | e959a30a6a5a781606431f3c65e7ed6356940d6e (patch) | |
tree | ed8618c4b3f4b753356693d8c1e1f2b73836db31 /init.c | |
parent | 7974e1e03fbad67e3d29f4b942b13b8d82891ba2 (diff) | |
download | qemu-palcode-e959a30a6a5a781606431f3c65e7ed6356940d6e.zip qemu-palcode-e959a30a6a5a781606431f3c65e7ed6356940d6e.tar.gz qemu-palcode-e959a30a6a5a781606431f3c65e7ed6356940d6e.tar.bz2 |
Optimize memory layout.
Minimizing the amount of padding between page-aligned data structures.
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -53,7 +53,8 @@ extern char _end[] __attribute__((visibility("hidden"), nocommon)); struct pcb_struct pcb __attribute__((section(".sbss"))); -static unsigned long page_dir[1024] __attribute__((aligned(PAGE_SIZE))); +static unsigned long page_dir[1024] + __attribute__((aligned(PAGE_SIZE), section(".bss.page_dir"))); /* The HWRPB must be aligned because it is exported at INIT_HWRPB. */ struct hwrpb_combine hwrpb __attribute__((aligned(PAGE_SIZE))); |