diff options
author | Chris Johns <chrisj@rtems.org> | 2023-10-04 13:17:13 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-10-04 13:17:13 +1100 |
commit | 25a4dff56ef48dd9eb646558404b55a0555a87f4 (patch) | |
tree | ab8ceb4af945e21074059fe90dba40dbd76008e3 /cpukit/score/cpu/i386/include/rtems/score/cpu.h | |
parent | libtest: Include missing header file (diff) | |
download | rtems-25a4dff56ef48dd9eb646558404b55a0555a87f4.tar.bz2 |
bsp/i386/pc686: Clean up warnings
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/i386/include/rtems/score/cpu.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/i386/include/rtems/score/cpu.h b/cpukit/score/cpu/i386/include/rtems/score/cpu.h index 6aa97d309e..76ee238b6e 100644 --- a/cpukit/score/cpu/i386/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/include/rtems/score/cpu.h @@ -2,9 +2,9 @@ /** * @file - * + * * @brief Intel I386 CPU Dependent Source - * + * * This include file contains information pertaining to the Intel * i386 processor. */ @@ -51,7 +51,7 @@ extern "C" { #include <rtems/score/paravirt.h> #endif #include <rtems/score/i386.h> - + /** * @defgroup RTEMSScoreCPUi386 i386 Specific Support * @@ -163,7 +163,7 @@ typedef struct { } Context_Control; #define _CPU_Context_Get_SP( _context ) \ - (_context)->esp + (uintptr_t) (_context)->esp #ifdef RTEMS_SMP static inline bool _CPU_Context_Get_is_executing( |