aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-07-20 16:00:45 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-07-20 16:00:45 -0700
commitb446662970f9fe414d42e7a3b3b78a9d80851153 (patch)
treef66308aa00d1b1f0feb1335db4c1a159b5ef94e5
parenteb70608df5da6706dd057a08d832db4fdd07d66b (diff)
downloadsyslinux-elf-syslinux-3.52-pre4.tar.gz
syslinux-elf-syslinux-3.52-pre4.tar.xz
syslinux-elf-syslinux-3.52-pre4.zip
Add the actual zeroregs file; missing from a previous checkin.syslinux-3.52-pre4
-rw-r--r--com32/lib/sys/zeroregs.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/com32/lib/sys/zeroregs.c b/com32/lib/sys/zeroregs.c
new file mode 100644
index 00000000..6d524921
--- /dev/null
+++ b/com32/lib/sys/zeroregs.c
@@ -0,0 +1,5 @@
+#include <com32.h>
+
+/* When we don't need to pass any registers, it's convenient to just
+ be able to pass a prepared all-zero structure. */
+const com32sys_t __com32_zero_regs;