|
@@ -21,20 +21,3 @@ void memcpy_from_real ( void *dest, segoff_t src, size_t n ) {
|
21
|
21
|
}
|
22
|
22
|
|
23
|
23
|
#endif /* KEEP_IT_REAL */
|
24
|
|
-
|
25
|
|
-
|
26
|
|
-#define RM_STACK_SIZE ( 0x1000 )
|
27
|
|
-
|
28
|
|
-/* gcc won't let us use extended asm outside a function (compiler
|
29
|
|
- * bug), ao we have to put these asm statements inside a dummy
|
30
|
|
- * function.
|
31
|
|
- */
|
32
|
|
-static void work_around_gcc_bug ( void ) __attribute__ ((used));
|
33
|
|
-static void work_around_gcc_bug ( void ) {
|
34
|
|
- /* Export _real_mode_stack_size as absolute linker symbol */
|
35
|
|
- __asm__ ( ".globl real_mode_stack_size" );
|
36
|
|
- __asm__ ( ".equ real_mode_stack_size, %c0" : : "i" (RM_STACK_SIZE) );
|
37
|
|
-}
|
38
|
|
-
|
39
|
|
-char *real_mode_stack;
|
40
|
|
-int lock_real_mode_stack;
|