summaryrefslogtreecommitdiff
path: root/memdump/code16.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-09-21 16:52:35 -0700
committerH. Peter Anvin <hpa@zytor.com>2007-09-21 16:52:35 -0700
commit5a16eeb519c87fa4c437e838af81731b8d355052 (patch)
treef59258a720429d5ad8beaf2070f73cab6a187077 /memdump/code16.h
parent31daeb2ddb972dc70b929da1c93288e821c87ed7 (diff)
downloadsyslinux-5a16eeb519c87fa4c437e838af81731b8d355052.tar.gz
memdump: a debugging utility to dump memory over a serial port
A memory-dumping utility which runs in real mode. Thus, it can be used to get memory dumps from a relatively pristine system.
Diffstat (limited to 'memdump/code16.h')
-rw-r--r--memdump/code16.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/memdump/code16.h b/memdump/code16.h
new file mode 100644
index 00000000..ca765651
--- /dev/null
+++ b/memdump/code16.h
@@ -0,0 +1,6 @@
+/* Must be included first of all */
+#ifdef __ASSEMBLY__
+ .code16
+#else
+__asm__ (".code16gcc");
+#endif