summaryrefslogtreecommitdiffstats
path: root/sys/pc98/boot/kzipboot/head.S
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pc98/boot/kzipboot/head.S')
-rw-r--r--sys/pc98/boot/kzipboot/head.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/pc98/boot/kzipboot/head.S b/sys/pc98/boot/kzipboot/head.S
new file mode 100644
index 0000000..914e5e2
--- /dev/null
+++ b/sys/pc98/boot/kzipboot/head.S
@@ -0,0 +1,11 @@
+/*
+ * First module in a kzipped kernel.
+ * This needs to be at the beginning so that the boot loader calls it.
+ * It may be overwritten by uncompressing the kernel, so it transfers
+ * control to a higher address that won't be overwritten.
+ *
+ * Copyright (C) Serge Vakulenko
+ */
+ .text
+head:
+ jmp tail
OpenPOWER on IntegriCloud