aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include
diff options
context:
space:
mode:
authorhpa <hpa>2004-11-23 23:28:03 +0000
committerhpa <hpa>2004-11-23 23:28:03 +0000
commit123a1be461723ce4514ad45adf569a0fb2043f33 (patch)
tree7d4e79f1d1c8c1c1422e2110ae26e340d1ce2937 /com32/include
parent2751c917e06147a876eb430241beee65ea73965d (diff)
downloadsyslinux-123a1be461723ce4514ad45adf569a0fb2043f33.tar.gz
syslinux-123a1be461723ce4514ad45adf569a0fb2043f33.tar.xz
syslinux-123a1be461723ce4514ad45adf569a0fb2043f33.zip
Division error handling
Diffstat (limited to 'com32/include')
-rw-r--r--com32/include/klibc/diverr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/include/klibc/diverr.h b/com32/include/klibc/diverr.h
new file mode 100644
index 00000000..a4bbeddf
--- /dev/null
+++ b/com32/include/klibc/diverr.h
@@ -0,0 +1,4 @@
+static inline void __divide_error(void)
+{
+ asm volatile("int $0"); /* Divide by zero */
+}