diff options
| author | hpa <hpa> | 2004-11-23 23:28:03 +0000 |
|---|---|---|
| committer | hpa <hpa> | 2004-11-23 23:28:03 +0000 |
| commit | 123a1be461723ce4514ad45adf569a0fb2043f33 (patch) | |
| tree | 7d4e79f1d1c8c1c1422e2110ae26e340d1ce2937 /com32/include | |
| parent | 2751c917e06147a876eb430241beee65ea73965d (diff) | |
| download | syslinux-123a1be461723ce4514ad45adf569a0fb2043f33.tar.gz | |
Division error handling
Diffstat (limited to 'com32/include')
| -rw-r--r-- | com32/include/klibc/diverr.h | 4 |
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 */ +} |
