2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 23:31:39 +00:00

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

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