diff options
Diffstat (limited to 'src/cpu/x86/pae')
-rw-r--r-- | src/cpu/x86/pae/Makefile.inc | 7 | ||||
-rw-r--r-- | src/cpu/x86/pae/pgtbl.c | 4 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/cpu/x86/pae/Makefile.inc b/src/cpu/x86/pae/Makefile.inc index 060720c898..62176d20b8 100644 --- a/src/cpu/x86/pae/Makefile.inc +++ b/src/cpu/x86/pae/Makefile.inc @@ -1 +1,6 @@ -ramstage-$(CONFIG_CPU_AMD_MODEL_FXX) += pgtbl.c +bootblock-y += pgtbl.c +verstage-y += pgtbl.c +romstage-y += pgtbl.c +postcar-y += pgtbl.c +ramstage-y += pgtbl.c +smm-y += pgtbl.c diff --git a/src/cpu/x86/pae/pgtbl.c b/src/cpu/x86/pae/pgtbl.c index 3532e9781e..0c4bff5067 100644 --- a/src/cpu/x86/pae/pgtbl.c +++ b/src/cpu/x86/pae/pgtbl.c @@ -16,9 +16,12 @@ #include <compiler.h> #include <console/console.h> #include <cpu/cpu.h> +#include <arch/cpu.h> #include <cpu/x86/pae.h> +#include <rules.h> #include <string.h> +#if ENV_RAMSTAGE static void paging_off(void) { __asm__ __volatile__ ( @@ -115,3 +118,4 @@ void *map_2M_page(unsigned long page) result = (void *)(0x80000000 | ((page & 0x3ff) << 21)); return result; } +#endif |