Changeset d885b2b2 in rtems


Ignore:
Timestamp:
Nov 20, 2014, 2:00:28 PM (5 years ago)
Author:
Jan Dolezal <dolezj21@…>
Branches:
4.11, master
Children:
b2db1f5c
Parents:
58af50d
git-author:
Jan Dolezal <dolezj21@…> (11/20/14 14:00:28)
git-committer:
Gedare Bloom <gedare@…> (11/20/14 14:52:39)
Message:

i386: GDTR manipulation functions parameters changed to use explicit width types

Location:
c/src/lib/libcpu/i386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i386/cpu.h

    r58af50d rd885b2b2  
    2828 */
    2929#include <rtems/score/interrupts.h>
     30
     31#include <stdint.h>
    3032
    3133/*
     
    262264 */
    263265extern void i386_get_info_from_GDTR (segment_descriptors** table,
    264                                      unsigned* limit);
     266                                     uint16_t* limit);
    265267/*
    266268 * C callable function enabling to change the value of GDT register. Must be called
     
    268270 */
    269271extern void i386_set_GDTR (segment_descriptors*,
    270                            unsigned limit);
     272                           uint16_t limit);
    271273
    272274/*
  • c/src/lib/libcpu/i386/idtr.S

    r58af50d rd885b2b2  
    7070 * the actual value of GDT register.
    7171extern void i386_get_info_from_GDTR (segment_descriptors** table,
    72                                      unsigned* limit);
     72                                     uint16_t* limit);
    7373 */
    7474
     
    8686
    8787        movzwl  (esp), eax          /* get limit */
    88         movl    eax, (edx)
     88        movw    ax, (edx)
    8989
    9090        addl    $6, esp             /* restore %esp */
     
    9494 * C callable function enabling to change the value of GDT register.
    9595 * Must be called with interrupts masked at processor level!!!.
    96  *   extern void i386_set_GDTR (segment_descriptors*, unsigned limit);
     96 *   extern void i386_set_GDTR (segment_descriptors*, uint16_t limit);
    9797 */
    9898SYM (i386_set_GDTR):
Note: See TracChangeset for help on using the changeset viewer.