david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

This file is no longer used

This commit is contained in:
Michael Brown 2007-01-04 19:36:31 +00:00
parent b12cd68726
commit 70acce06e4
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
#ifndef _OLD_REALMODE_H
#define _OLD_REALMODE_H
#include <realmode.h>
#warning "Anything including this header is obsolete and must be rewritten"
/* Just for now */
#define SEGMENT(x) ( virt_to_phys ( x ) >> 4 )
#define OFFSET(x) ( virt_to_phys ( x ) & 0xf )
#define SEGOFF(x) { OFFSET(x), SEGMENT(x) }
/* To make basemem.c compile */
extern int lock_real_mode_stack;
extern char *real_mode_stack;
extern char real_mode_stack_size[];
#define RM_FRAGMENT(name,asm) \
void name ( void ) {} \
extern char name ## _size[];
#endif /* _OLD_REALMODE_H */