diff options
Diffstat (limited to 'cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h')
-rw-r--r-- | cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h b/cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h index 853e45ab5d..f4710c4b8f 100644 --- a/cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h +++ b/cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h @@ -32,11 +32,20 @@ extern "C" { #endif #define CPU_NAME "x86-64" -#define CPU_MODEL_NAME "XXX: x86-64 generic" +#define CPU_MODEL_NAME "amd64" -#define COM1_BASE_IO 0x3F8 +#define COM1_BASE_IO 0x3F8 #define COM1_CLOCK_RATE (115200 * 16) +#define EFLAGS_INTR_ENABLE 0x200 + +#if DEBUG +#define DBG_PRINTF(format, args...) \ + printf(format, ## args) +#else +#define DBG_PRINTF(format, args...) +#endif + #ifdef __cplusplus } #endif |