Add the actual zeroregs file; missing from a previous checkin. syslinux-3.52-pre4
authorH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jul 2007 23:00:45 +0000 (16:00 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 20 Jul 2007 23:00:45 +0000 (16:00 -0700)
com32/lib/sys/zeroregs.c [new file with mode: 0644]

diff --git a/com32/lib/sys/zeroregs.c b/com32/lib/sys/zeroregs.c
new file mode 100644 (file)
index 0000000..6d52492
--- /dev/null
@@ -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;