mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:45:50 +00:00
Fix them second time.
svn path=/trunk/; revision=37841
This commit is contained in:
parent
5bbb02373a
commit
987313245b
1 changed files with 9 additions and 3 deletions
|
@ -16,7 +16,9 @@
|
|||
|
||||
#define Ke386GetInterruptDescriptorTable(X) \
|
||||
__asm__("sidt %0\n\t" \
|
||||
: "=m" (X));
|
||||
: "=m" (X) \
|
||||
: /* no input */ \
|
||||
: "memory");
|
||||
|
||||
#define Ke386SetGlobalDescriptorTable(X) \
|
||||
__asm__("lgdt %0\n\t" \
|
||||
|
@ -25,11 +27,15 @@
|
|||
|
||||
#define Ke386GetGlobalDescriptorTable(X) \
|
||||
__asm__("sgdt %0\n\t" \
|
||||
: "=m" (X));
|
||||
: "=m" (X) \
|
||||
: /* no input */ \
|
||||
: "memory");
|
||||
|
||||
#define Ke386GetLocalDescriptorTable(X) \
|
||||
__asm__("sldt %0\n\t" \
|
||||
: "=m" (X));
|
||||
: "=m" (X) \
|
||||
: /* no input */ \
|
||||
: "memory");
|
||||
|
||||
#define Ke386SetLocalDescriptorTable(X) \
|
||||
__asm__("lldt %w0\n\t" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue