diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-12-04 11:48:05 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-12-05 10:40:55 -0500 |
commit | 0f0612e8dc287d568f2eaa8407ed3f76cfae4018 (patch) | |
tree | a044e5908e9f089cc2c86d591e31c048ccb3d802 /src/stacks.c | |
parent | 31b8b4eea9d9ad58a73b22a6060d3ac1c419c26d (diff) | |
download | seabios-0f0612e8dc287d568f2eaa8407ed3f76cfae4018.tar.gz |
Minor - move sgdt/lgdt macros from stacks.c to x86.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stacks.c')
-rw-r--r-- | src/stacks.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/stacks.c b/src/stacks.c index 78ad65c5..b7d8ade8 100644 --- a/src/stacks.c +++ b/src/stacks.c @@ -102,13 +102,6 @@ stack_hop_back(u32 eax, u32 edx, void *func) * 16bit / 32bit calling ****************************************************************/ -static inline void sgdt(struct descloc_s *desc) { - asm("sgdtl %0" : "=m"(*desc)); -} -static inline void lgdt(struct descloc_s *desc) { - asm("lgdtl %0" : : "m"(*desc) : "memory"); -} - u16 StackSeg VARLOW; // Call a 32bit SeaBIOS function from a 16bit SeaBIOS function. |