|
|
| version 1.18, 2005/05/20 13:59:47 | version 1.21, 2011/12/21 17:32:49 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2002-2003 NONAKA Kimihiro | * Copyright (c) 2002-2003 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| Line 32 | Line 30 |
| #define CPUCALL | #define CPUCALL |
| #endif | #endif |
| #ifndef STATIC_INLINE | |
| #if defined(__GNUC__) | |
| #define STATIC_INLINE static INLINE __attribute__((unused)) | |
| #else | |
| #define STATIC_INLINE static INLINE | |
| #endif | |
| #endif | |
| #if !defined(QWORD_CONST) | #if !defined(QWORD_CONST) |
| #define QWORD_CONST(v) v ## ULL | #define QWORD_CONST(v) v ## ULL |
| #define SQWORD_CONST(v) v ## LL | #define SQWORD_CONST(v) v ## LL |
| Line 44 | Line 50 |
| #define CPU_INITIALIZE() i386c_initialize() | #define CPU_INITIALIZE() i386c_initialize() |
| #define CPU_DEINITIALIZE() | #define CPU_DEINITIALIZE() |
| #define CPU_RESET() ia32reset() | #define CPU_RESET() ia32reset() |
| #define CPU_CLEARPREFETCH() CPU_PREFETCH_CLEAR() | #define CPU_CLEARPREFETCH() |
| #define CPU_INTERRUPT(vect, soft) ia32_interrupt(vect, soft) | #define CPU_INTERRUPT(vect, soft) ia32_interrupt(vect, soft) |
| #define CPU_EXEC() ia32() | #define CPU_EXEC() ia32() |
| #define CPU_EXECV30() ia32() | #define CPU_EXECV30() ia32() |