summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/i386/include/rtems/score/cpu.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-10-04 13:17:13 +1100
committerChris Johns <chrisj@rtems.org>2023-10-04 13:17:13 +1100
commit25a4dff56ef48dd9eb646558404b55a0555a87f4 (patch)
treeab8ceb4af945e21074059fe90dba40dbd76008e3 /cpukit/score/cpu/i386/include/rtems/score/cpu.h
parentlibtest: Include missing header file (diff)
downloadrtems-25a4dff56ef48dd9eb646558404b55a0555a87f4.tar.bz2
bsp/i386/pc686: Clean up warnings
Diffstat (limited to '')
-rw-r--r--cpukit/score/cpu/i386/include/rtems/score/cpu.h8
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(