Displaying 2 results from an estimated 2 matches for "bootsect_start".
2007 May 31
1
[patch rfc wip] first cut of ELF bzImage
...0
@@ -15,6 +15,9 @@
*
*/
+#include <linux/elf.h>
+#include <linux/elf_boot.h>
+#include <linux/elfnote.h>
#include <asm/segment.h>
#include <linux/utsrelease.h>
#include <asm/boot.h>
@@ -48,9 +51,72 @@ SWAP_DEV = 0 /* SWAP_DEV is now writte
.global bootsect_start
bootsect_start:
-
+ehdr:
+ # e_ident is carefully crafted so if this is treated
+ # as an x86 bootsector you will execute through
+ # e_ident and then print the bugger off message.
+ # The 1 stores to bx+di is unfortunate it is
+ # unlikely to affect the ability to print
+ # a message and you aren...
2007 May 31
1
[patch rfc wip] first cut of ELF bzImage
...0
@@ -15,6 +15,9 @@
*
*/
+#include <linux/elf.h>
+#include <linux/elf_boot.h>
+#include <linux/elfnote.h>
#include <asm/segment.h>
#include <linux/utsrelease.h>
#include <asm/boot.h>
@@ -48,9 +51,72 @@ SWAP_DEV = 0 /* SWAP_DEV is now writte
.global bootsect_start
bootsect_start:
-
+ehdr:
+ # e_ident is carefully crafted so if this is treated
+ # as an x86 bootsector you will execute through
+ # e_ident and then print the bugger off message.
+ # The 1 stores to bx+di is unfortunate it is
+ # unlikely to affect the ability to print
+ # a message and you aren...