summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-07-20 15:30:55 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-07-20 15:30:55 -0700
commitc96f82c281fef6a12450ceab7afd35ce5dab34e5 (patch)
tree1162536554d32f649601f84e92c29ea2c3a1415a
parentb19e0b33ad57d71635c55d9724cdff45daa24d73 (diff)
downloadsyslinux-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.h1
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