|
@@ -1,22 +0,0 @@
|
1
|
|
-#ifndef _OLD_REALMODE_H
|
2
|
|
-#define _OLD_REALMODE_H
|
3
|
|
-
|
4
|
|
-#include <realmode.h>
|
5
|
|
-
|
6
|
|
-#warning "Anything including this header is obsolete and must be rewritten"
|
7
|
|
-
|
8
|
|
-/* Just for now */
|
9
|
|
-#define SEGMENT(x) ( virt_to_phys ( x ) >> 4 )
|
10
|
|
-#define OFFSET(x) ( virt_to_phys ( x ) & 0xf )
|
11
|
|
-#define SEGOFF(x) { OFFSET(x), SEGMENT(x) }
|
12
|
|
-
|
13
|
|
-/* To make basemem.c compile */
|
14
|
|
-extern int lock_real_mode_stack;
|
15
|
|
-extern char *real_mode_stack;
|
16
|
|
-extern char real_mode_stack_size[];
|
17
|
|
-
|
18
|
|
-#define RM_FRAGMENT(name,asm) \
|
19
|
|
- void name ( void ) {} \
|
20
|
|
- extern char name ## _size[];
|
21
|
|
-
|
22
|
|
-#endif /* _OLD_REALMODE_H */
|