diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-07-20 15:30:55 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-07-20 15:30:55 -0700 |
commit | c96f82c281fef6a12450ceab7afd35ce5dab34e5 (patch) | |
tree | 1162536554d32f649601f84e92c29ea2c3a1415a | |
parent | b19e0b33ad57d71635c55d9724cdff45daa24d73 (diff) | |
download | syslinux-c96f82c281fef6a12450ceab7afd35ce5dab34e5.tar.gz |
com32: add a common zero-register structure
When we don't have any registers to pass, it's convenient to be able
to share a common all-zero structure.
-rw-r--r-- | com32/include/com32.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/include/com32.h b/com32/include/com32.h index f1df2d61..264f6091 100644 --- a/com32/include/com32.h +++ b/com32/include/com32.h @@ -82,6 +82,7 @@ extern struct com32_sys_args { void __intcall(uint8_t __i, const com32sys_t *__sr, com32sys_t *__dr); void __farcall(uint16_t __es, uint16_t __eo, const com32sys_t *__sr, com32sys_t *__dr); +extern const com32sys_t __com32_zero_regs; /* * These functions convert between linear pointers in the range |