diff options
| author | Michael Brown | 2006-05-24 01:42:45 +0200 |
|---|---|---|
| committer | Michael Brown | 2006-05-24 01:42:45 +0200 |
| commit | 897313007b29afbb0c5e29c8b777c34ab812d95b (patch) | |
| tree | f7c68cfb13fd20b4f0fbc5ad2ca4f89f381820a6 /src/arch/i386/include/libkir.h | |
| parent | Cope with regions bigger than 4GB. (diff) | |
| download | ipxe-897313007b29afbb0c5e29c8b777c34ab812d95b.tar.gz ipxe-897313007b29afbb0c5e29c8b777c34ab812d95b.tar.xz ipxe-897313007b29afbb0c5e29c8b777c34ab812d95b.zip | |
Add __{text,data}16_array, since there's no way I can see to make the
usual __{text,data}16 trick work with arrays. gcc seems to accept the
__asm__ ( asmlabel ) only after the [] of the array declaration, not
before.
Diffstat (limited to 'src/arch/i386/include/libkir.h')
| -rw-r--r-- | src/arch/i386/include/libkir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/include/libkir.h b/src/arch/i386/include/libkir.h index 0923e222e..ba7995ce4 100644 --- a/src/arch/i386/include/libkir.h +++ b/src/arch/i386/include/libkir.h @@ -12,7 +12,9 @@ /* Access to variables in .data16 and .text16 in a way compatible with librm */ #define __data16( variable ) variable +#define __data16_array( variable, array ) variable array #define __text16( variable ) variable +#define __text16_array( variable,array ) variable array #define __use_data16( variable ) variable #define __use_text16( variable ) variable #define __from_data16( variable ) variable |
