diff options
author | Jan Dolezal <dolezj21@fel.cvut.cz> | 2014-11-20 15:00:28 +0100 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2014-11-20 09:52:39 -0500 |
commit | d885b2b2137aeffdbbae586e9de4c014f784ca01 (patch) | |
tree | 6eb718ec295b4ffae8086b7d67a759fa7cf0cea1 /c/src/lib/libcpu/i386/idtr.S | |
parent | score: i386: functions converting real mode pointer to physical address and back (diff) | |
download | rtems-d885b2b2137aeffdbbae586e9de4c014f784ca01.tar.bz2 |
i386: GDTR manipulation functions parameters changed to use explicit width types
Diffstat (limited to 'c/src/lib/libcpu/i386/idtr.S')
-rw-r--r-- | c/src/lib/libcpu/i386/idtr.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/i386/idtr.S b/c/src/lib/libcpu/i386/idtr.S index b77bd146e0..48ce1df8c4 100644 --- a/c/src/lib/libcpu/i386/idtr.S +++ b/c/src/lib/libcpu/i386/idtr.S @@ -69,7 +69,7 @@ SYM (i386_set_IDTR): * C callable function enabling to get easilly usable info from * the actual value of GDT register. extern void i386_get_info_from_GDTR (segment_descriptors** table, - unsigned* limit); + uint16_t* limit); */ SYM (i386_get_info_from_GDTR): @@ -85,7 +85,7 @@ SYM (i386_get_info_from_GDTR): movl eax, (ecx) movzwl (esp), eax /* get limit */ - movl eax, (edx) + movw ax, (edx) addl $6, esp /* restore %esp */ ret @@ -93,7 +93,7 @@ SYM (i386_get_info_from_GDTR): /* * 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); + * extern void i386_set_GDTR (segment_descriptors*, uint16_t limit); */ SYM (i386_set_GDTR): |