aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;