summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2016-08-12 21:22:46 +0200
committerRichard Braun <rbraun@sceen.net>2016-08-12 21:27:11 +0200
commit34cfd8b3111b8085f566a68d7b39b0b9e90193d4 (patch)
tree2273422eb737a2e5a5984f5deaa8c2968c2db2fd
parent5dd4f67522ad0d49a2cecdb9b109251f546d4dd1 (diff)
i386: request the boot loader to page-align modules
* i386/i386at/boothdr.S (MULTIBOOT_FLAGS): Set LSB bit.
-rw-r--r--i386/i386at/boothdr.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/i386/i386at/boothdr.S b/i386/i386at/boothdr.S
index 567851e4..9339cb91 100644
--- a/i386/i386at/boothdr.S
+++ b/i386/i386at/boothdr.S
@@ -17,9 +17,9 @@ _start:
/* MultiBoot header - see multiboot.h. */
#define MULTIBOOT_MAGIC 0x1BADB002
#ifdef __ELF__
-#define MULTIBOOT_FLAGS 0x00000002
+#define MULTIBOOT_FLAGS 0x00000003
#else /* __ELF__ */
-#define MULTIBOOT_FLAGS 0x00010002
+#define MULTIBOOT_FLAGS 0x00010003
#endif /* __ELF__ */
P2ALIGN(2)
boot_hdr: