debuggers.hg

view tools/firmware/rombios/32bitprotos.h @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children 5c0bf00e371d
line source
1 #ifndef PROTOS_HIGHBIOS
2 #define PROTOS_HIGHBIOS
4 /* shared include file for bcc and gcc */
6 /* bcc does not like 'enum' */
7 #define IDX_TCGINTERRUPTHANDLER 0
8 #define IDX_TCPA_ACPI_INIT 1
9 #define IDX_TCPA_EXTEND_ACPI_LOG 2
10 #define IDX_TCPA_CALLING_INT19H 3
11 #define IDX_TCPA_RETURNED_INT19H 4
12 #define IDX_TCPA_ADD_EVENT_SEPARATORS 5
13 #define IDX_TCPA_WAKE_EVENT 6
14 #define IDX_TCPA_ADD_BOOTDEVICE 7
15 #define IDX_TCPA_START_OPTION_ROM_SCAN 8
16 #define IDX_TCPA_OPTION_ROM 9
17 #define IDX_TCPA_IPL 10
18 #define IDX_TCPA_INITIALIZE_TPM 11
19 #define IDX_TCPA_MEASURE_POST 12
21 #define IDX_LAST 13 /* keep last! */
23 #ifdef GCC_PROTOS
24 #define PARMS(x...) x
25 #else
26 /* bcc doesn't want any parameter types in prototypes */
27 #define PARMS(x...)
28 #endif
30 Bit32u TCGInterruptHandler( PARMS(pushad_regs_t *regs, Bit32u esds, Bit32u flags_ptr));
32 void tcpa_acpi_init( PARMS(void) );
33 Bit32u tcpa_extend_acpi_log( PARMS(Bit32u entry_ptr) );
34 void tcpa_calling_int19h( PARMS(void) );
35 void tcpa_returned_int19h( PARMS(void) );
36 void tcpa_add_event_separators( PARMS(void) );
37 void tcpa_wake_event( PARMS(void) );
38 void tcpa_add_bootdevice( PARMS(Bit32u bootcd, Bit32u bootdrv) );
39 void tcpa_start_option_rom_scan( PARMS(void) );
40 void tcpa_option_rom( PARMS(Bit32u seg) );
41 void tcpa_ipl( PARMS(Bit32u bootcd,Bit32u seg,Bit32u off,Bit32u count) );
42 void tcpa_measure_post( PARMS(Bit32u from, Bit32u to) );
43 Bit32u tcpa_initialize_tpm( PARMS(Bit32u physpres) );
45 #endif