diff options
author | Michael Brown | 2005-04-09 19:05:35 +0200 |
---|---|---|
committer | Michael Brown | 2005-04-09 19:05:35 +0200 |
commit | 44eee81d116d0d82398093f8d6487d324fe22fca (patch) | |
tree | f4c59cb86c7e07df9558ad7ac8d3a19ccc64d008 /src/arch/i386/include | |
parent | lgdt needs data32 prefix, otherwise it loads only 24 bits. (sgdt (diff) | |
download | ipxe-44eee81d116d0d82398093f8d6487d324fe22fca.tar.gz ipxe-44eee81d116d0d82398093f8d6487d324fe22fca.tar.xz ipxe-44eee81d116d0d82398093f8d6487d324fe22fca.zip |
Don't build relocate() under KEEP_IT_REAL
Diffstat (limited to 'src/arch/i386/include')
-rw-r--r-- | src/arch/i386/include/relocate.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/i386/include/relocate.h b/src/arch/i386/include/relocate.h index b2bebd54..4aec54e4 100644 --- a/src/arch/i386/include/relocate.h +++ b/src/arch/i386/include/relocate.h @@ -1,6 +1,15 @@ #ifndef RELOCATE_H #define RELOCATE_H +#ifdef KEEP_IT_REAL + +/* relocate() is conceptually impossible with KEEP_IT_REAL */ +#define relocate() + +#else + extern void relocate ( void ); +#endif + #endif /* RELOCATE_H */ |