Browse Source

Callback mechanism now obsolete

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
a3faaf405a
1 changed files with 0 additions and 45 deletions
  1. 0
    45
      src/include/callbacks.h

+ 0
- 45
src/include/callbacks.h View File

@@ -1,45 +0,0 @@
1
-/* Callout/callback interface for Etherboot
2
- *
3
- * This file provides the mechanisms for making calls from Etherboot
4
- * to external programs and vice-versa.
5
- *
6
- * Initial version by Michael Brown <mbrown@fensystems.co.uk>, January 2004.
7
- *
8
- * $Id$
9
- */
10
-
11
-#ifndef CALLBACKS_H
12
-#define CALLBACKS_H
13
-
14
-/* Opcodes and flags for in_call()
15
- */
16
-#define EB_OPCODE(x) ( (x) & 0xffff )
17
-#define EB_OPCODE_MAIN		(0x0000)
18
-#define EB_OPCODE_CHECK		(0x6948)	/* 'Hi' */
19
-#define EB_OPCODE_PXE		(0x7850)	/* 'Px' */
20
-#define EB_OPCODE_PXENV		(0x7650)	/* 'Pv' */
21
-#define EB_USE_INTERNAL_STACK	( 1 << 16 )
22
-#define EB_CALL_FROM_REAL_MODE	( 1 << 17 )	/* i386 only */
23
-#define EB_SKIP_OPCODE		( 1 << 18 )
24
-
25
-/* Standard return codes
26
- */
27
-#define EB_CHECK_RESULT		(0x6f486948)	/* 'HiHo' */
28
-
29
-/* Include arch-specific callbacks bits
30
- */
31
-#include "callbacks_arch.h"
32
-
33
-/* Skip the definitions that won't make sense to the assembler */
34
-#ifndef ASSEMBLY
35
-
36
-#include <stdarg.h>
37
-
38
-#ifndef in_call_data_t
39
-typedef struct {} empty_struct_t;
40
-#define in_call_data_t empty_struct_t
41
-#endif
42
-
43
-#endif /* ASSEMBLY */
44
-
45
-#endif /* CALLBACKS_H */

Loading…
Cancel
Save