diff options
| author | Michael Brown | 2005-04-09 13:11:34 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-09 13:11:34 +0200 |
| commit | a3faaf405a52dfa27c4ef8bc8118aaa610f613c5 (patch) | |
| tree | f8b32082f8dc563bbb11d80f47e40b7bc07edb38 /src | |
| parent | Moved relocate.c to arch-specific dir, since it involves arch-specific (diff) | |
| download | ipxe-a3faaf405a52dfa27c4ef8bc8118aaa610f613c5.tar.gz ipxe-a3faaf405a52dfa27c4ef8bc8118aaa610f613c5.tar.xz ipxe-a3faaf405a52dfa27c4ef8bc8118aaa610f613c5.zip | |
Callback mechanism now obsolete
Diffstat (limited to 'src')
| -rw-r--r-- | src/include/callbacks.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/include/callbacks.h b/src/include/callbacks.h deleted file mode 100644 index 2a7547850..000000000 --- a/src/include/callbacks.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Callout/callback interface for Etherboot - * - * This file provides the mechanisms for making calls from Etherboot - * to external programs and vice-versa. - * - * Initial version by Michael Brown <mbrown@fensystems.co.uk>, January 2004. - * - * $Id$ - */ - -#ifndef CALLBACKS_H -#define CALLBACKS_H - -/* Opcodes and flags for in_call() - */ -#define EB_OPCODE(x) ( (x) & 0xffff ) -#define EB_OPCODE_MAIN (0x0000) -#define EB_OPCODE_CHECK (0x6948) /* 'Hi' */ -#define EB_OPCODE_PXE (0x7850) /* 'Px' */ -#define EB_OPCODE_PXENV (0x7650) /* 'Pv' */ -#define EB_USE_INTERNAL_STACK ( 1 << 16 ) -#define EB_CALL_FROM_REAL_MODE ( 1 << 17 ) /* i386 only */ -#define EB_SKIP_OPCODE ( 1 << 18 ) - -/* Standard return codes - */ -#define EB_CHECK_RESULT (0x6f486948) /* 'HiHo' */ - -/* Include arch-specific callbacks bits - */ -#include "callbacks_arch.h" - -/* Skip the definitions that won't make sense to the assembler */ -#ifndef ASSEMBLY - -#include <stdarg.h> - -#ifndef in_call_data_t -typedef struct {} empty_struct_t; -#define in_call_data_t empty_struct_t -#endif - -#endif /* ASSEMBLY */ - -#endif /* CALLBACKS_H */ |
