direct-io.hg

changeset 13722:8f1921600cfd

Older versions of as86 (<=0.16.0) require macro arguments to be bracketed.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@localhost.localdomain
date Tue Jan 30 14:20:00 2007 +0000 (2007-01-30)
parents 26943e88349f
children 7fdfa020d4ed
files tools/firmware/rombios/tcgbios.c
line diff
     1.1 --- a/tools/firmware/rombios/tcgbios.c	Tue Jan 30 13:59:01 2007 +0000
     1.2 +++ b/tools/firmware/rombios/tcgbios.c	Tue Jan 30 14:20:00 2007 +0000
     1.3 @@ -39,7 +39,7 @@ Bit32u tcpa_extend_acpi_log(entry_ptr)
     1.4      Bit32u entry_ptr;
     1.5  {
     1.6  	ASM_START
     1.7 -	DoUpcall IDX_TCPA_EXTEND_ACPI_LOG
     1.8 +	DoUpcall(IDX_TCPA_EXTEND_ACPI_LOG)
     1.9  	ASM_END
    1.10  }
    1.11  
    1.12 @@ -52,7 +52,7 @@ Bit32u tcpa_extend_acpi_log(entry_ptr)
    1.13  tcpa_acpi_init()
    1.14  {
    1.15  	ASM_START
    1.16 -	DoUpcall IDX_TCPA_ACPI_INIT
    1.17 +	DoUpcall(IDX_TCPA_ACPI_INIT)
    1.18  	ASM_END
    1.19  }
    1.20  
    1.21 @@ -64,7 +64,7 @@ tcpa_acpi_init()
    1.22  tcpa_calling_int19h()
    1.23  {
    1.24  	ASM_START
    1.25 -	DoUpcall IDX_TCPA_CALLING_INT19H
    1.26 +	DoUpcall(IDX_TCPA_CALLING_INT19H)
    1.27  	ASM_END
    1.28  }
    1.29  
    1.30 @@ -75,7 +75,7 @@ tcpa_calling_int19h()
    1.31  tcpa_returned_int19h()
    1.32  {
    1.33  	ASM_START
    1.34 -	DoUpcall IDX_TCPA_RETURNED_INT19H
    1.35 +	DoUpcall(IDX_TCPA_RETURNED_INT19H)
    1.36  	ASM_END
    1.37  }
    1.38  
    1.39 @@ -86,7 +86,7 @@ tcpa_returned_int19h()
    1.40  tcpa_add_event_separators()
    1.41  {
    1.42  	ASM_START
    1.43 -	DoUpcall IDX_TCPA_ADD_EVENT_SEPARATORS
    1.44 +	DoUpcall(IDX_TCPA_ADD_EVENT_SEPARATORS)
    1.45  	ASM_END
    1.46  }
    1.47  
    1.48 @@ -98,7 +98,7 @@ tcpa_add_event_separators()
    1.49  tcpa_wake_event()
    1.50  {
    1.51  	ASM_START
    1.52 -	DoUpcall IDX_TCPA_WAKE_EVENT
    1.53 +	DoUpcall(IDX_TCPA_WAKE_EVENT)
    1.54  	ASM_END
    1.55  }
    1.56  
    1.57 @@ -111,7 +111,7 @@ tcpa_wake_event()
    1.58  tcpa_start_option_rom_scan()
    1.59  {
    1.60  	ASM_START
    1.61 -	DoUpcall IDX_TCPA_START_OPTION_ROM_SCAN
    1.62 +	DoUpcall(IDX_TCPA_START_OPTION_ROM_SCAN)
    1.63  	ASM_END
    1.64  }
    1.65  
    1.66 @@ -124,7 +124,7 @@ tcpa_option_rom(seg)
    1.67      Bit32u seg;
    1.68  {
    1.69  	ASM_START
    1.70 -	DoUpcall IDX_TCPA_OPTION_ROM
    1.71 +	DoUpcall(IDX_TCPA_OPTION_ROM)
    1.72  	ASM_END
    1.73  }
    1.74  
    1.75 @@ -138,7 +138,7 @@ void
    1.76    Bit32u bootdrv;
    1.77  {
    1.78  	ASM_START
    1.79 -	DoUpcall IDX_TCPA_ADD_BOOTDEVICE
    1.80 +	DoUpcall(IDX_TCPA_ADD_BOOTDEVICE)
    1.81  	ASM_END
    1.82  }
    1.83  
    1.84 @@ -154,7 +154,7 @@ tcpa_ipl(seg)
    1.85      Bit32u seg;
    1.86  {
    1.87  	ASM_START
    1.88 -	DoUpcall IDX_TCPA_IPL
    1.89 +	DoUpcall(IDX_TCPA_IPL)
    1.90  	ASM_END
    1.91  }
    1.92  
    1.93 @@ -164,7 +164,7 @@ tcpa_initialize_tpm(physpres)
    1.94    Bit32u physpres;
    1.95  {
    1.96  	ASM_START
    1.97 -	DoUpcall IDX_TCPA_INITIALIZE_TPM
    1.98 +	DoUpcall(IDX_TCPA_INITIALIZE_TPM)
    1.99  	ASM_END
   1.100  }
   1.101  
   1.102 @@ -174,7 +174,7 @@ tcpa_measure_post(from, to)
   1.103     Bit32u to;
   1.104  {
   1.105  	ASM_START
   1.106 -	DoUpcall IDX_TCPA_MEASURE_POST
   1.107 +	DoUpcall(IDX_TCPA_MEASURE_POST)
   1.108  	ASM_END
   1.109  }
   1.110  
   1.111 @@ -194,12 +194,12 @@ tcpa_do_measure_POSTs()
   1.112  {
   1.113  	ASM_START
   1.114  
   1.115 -	POST_MEASURE post, nmi
   1.116 -	POST_MEASURE floppy_drive_post, hard_drive_post
   1.117 -	POST_MEASURE hard_drive_post, ebda_post
   1.118 -	POST_MEASURE ebda_post, eoi_jmp_post
   1.119 -	POST_MEASURE eoi_jmp_post, timer_tick_post
   1.120 -	POST_MEASURE timer_tick_post, int76_handler
   1.121 +	POST_MEASURE(post, nmi)
   1.122 +	POST_MEASURE(floppy_drive_post, hard_drive_post)
   1.123 +	POST_MEASURE(hard_drive_post, ebda_post)
   1.124 +	POST_MEASURE(ebda_post, eoi_jmp_post)
   1.125 +	POST_MEASURE(eoi_jmp_post, timer_tick_post)
   1.126 +	POST_MEASURE(timer_tick_post, int76_handler)
   1.127  
   1.128  	ret
   1.129  	ASM_END
   1.130 @@ -213,7 +213,7 @@ TCGInterruptHandler(regs_ptr, es, ds, fl
   1.131     Bit32u flags_ptr;
   1.132  {
   1.133  	ASM_START
   1.134 -	DoUpcall IDX_TCGINTERRUPTHANDLER
   1.135 +	DoUpcall(IDX_TCGINTERRUPTHANDLER)
   1.136  	ASM_END
   1.137  }
   1.138