diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/shared/bootloader/head.S | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog index 79881ea8d8..4fed9877ab 100644 --- a/c/src/lib/libbsp/powerpc/ChangeLog +++ b/c/src/lib/libbsp/powerpc/ChangeLog @@ -1,5 +1,9 @@ 2011-07-18 Till Straumann <strauman@slac.stanford.edu> + * shared/bootloader/head.S: disable USE_PPCBUG under qemu. + +2011-07-18 Till Straumann <strauman@slac.stanford.edu> + * shared/startup/bspstart.c: Select console *before* doing any potential printk() (e.g., panic). diff --git a/c/src/lib/libbsp/powerpc/shared/bootloader/head.S b/c/src/lib/libbsp/powerpc/shared/bootloader/head.S index 14ece61bfb..f768a3661c 100644 --- a/c/src/lib/libbsp/powerpc/shared/bootloader/head.S +++ b/c/src/lib/libbsp/powerpc/shared/bootloader/head.S @@ -18,6 +18,7 @@ #include <rtems/asm.h> #include <rtems/score/cpu.h> #include "bootldr.h" +#include <bspopts.h> #define TEST_PPCBUG_CALLS #undef TEST_PPCBUG_CALLS @@ -27,7 +28,9 @@ #define INVL_CACHES (HID0_DCI | HID0_ICFI) #define ENBL_CACHES (HID0_DCE | HID0_ICE) +#ifndef qemu #define USE_PPCBUG +#endif #define PRINT_CHAR(c) \ addi r20,r3,0 ; \ |