Displaying 1 result from an estimated 1 matches for "realentry".
Did you mean:
read_entry
2009 Apr 03
0
PATCH: Handle virtual entry point in mboot.c32
...dress to
successfully run (if
+ * their startup code is position-independent). For instance, a
kernel whose
+ * entry point is at 0xFF400000 virtual, but 0x100000 physical
will be able to
+ * be booted because of this special handling. */
+ Elf32_Addr realEntry = ehdr->e_entry;
+
#ifdef DEBUG
printf("Using ELF header.\n");
#endif
@@ -682,6 +689,17 @@ static size_t load_kernel(struct multibo
/* Skip segments that don't take up any memory */
if (run_size == 0) continue;
+ /*...