projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2751c91
)
Division error handling
author
hpa
<hpa>
Tue, 23 Nov 2004 23:28:03 +0000
(23:28 +0000)
committer
hpa
<hpa>
Tue, 23 Nov 2004 23:28:03 +0000
(23:28 +0000)
com32/include/klibc/diverr.h
[new file with mode: 0644]
patch
|
blob
diff --git a/com32/include/klibc/diverr.h
b/com32/include/klibc/diverr.h
new file mode 100644
(file)
index 0000000..
a4bbedd
--- /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 */
+}