From ab971bf5e37a057432c267175ddf12d6799a2b35 Mon Sep 17 00:00:00 2001 From: Amaan Cheval Date: Mon, 13 Aug 2018 15:51:47 +0530 Subject: bsps/x86_64: Reorganize header files and compile-options Updates #2898. --- cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'cpukit/score/cpu/x86_64/include/rtems/score/x86_64.h') 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 -- cgit v1.2.3