summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i386/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/i386/cpu.h')
-rw-r--r--c/src/lib/libcpu/i386/cpu.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/i386/cpu.h b/c/src/lib/libcpu/i386/cpu.h
index 4c567319b9..e14acc4ce7 100644
--- a/c/src/lib/libcpu/i386/cpu.h
+++ b/c/src/lib/libcpu/i386/cpu.h
@@ -28,6 +28,8 @@
*/
#include <rtems/score/interrupts.h>
+#include <stdint.h>
+
/*
* Segment Access Routines
*
@@ -261,13 +263,13 @@ typedef struct {
* the actual value of GDT register.
*/
extern void i386_get_info_from_GDTR (segment_descriptors** table,
- unsigned* limit);
+ uint16_t* limit);
/*
* C callable function enabling to change the value of GDT register. Must be called
* with interrupts masked at processor level!!!.
*/
extern void i386_set_GDTR (segment_descriptors*,
- unsigned limit);
+ uint16_t limit);
/*
* C callable function enabling to set up one raw interrupt handler