Browse Source

This file is no longer used

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
70acce06e4
1 changed files with 0 additions and 22 deletions
  1. 0
    22
      src/arch/i386/include/old_realmode.h

+ 0
- 22
src/arch/i386/include/old_realmode.h View File

@@ -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 */

Loading…
Cancel
Save