| To: | linux-mips@oss.sgi.com |
|---|---|
| Subject: | Re: Moving kernel_entry to LOADADDR |
| From: | Justin Carlson <justincarlson@cmu.edu> |
| Date: | 19 Oct 2001 11:21:41 -0400 |
| In-reply-to: | <200110191511.IAA27477@saturn.mikemac.com> |
| References: | <200110191511.IAA27477@saturn.mikemac.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
On Fri, 2001-10-19 at 11:11, Mike McDonald wrote: > Because a bare bones bootloader may not know anything about ELF. The > simplest solution is to just stick a "jmp start_kernel" at LOADADDR > right before the fill. Then the load address and the entry point are > the same. Once the exception vectors get loaded, they'll overwrite the > jmp, so no space is wasted and none of the LOADADDRs have to be > changed. This may be true, but grokking ELF far enough to find e_entry just a matter of looking at a fixed offset into the kernel image. Problems that require bootloaders to be simpler than that are pretty rare... -Justin |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Moving kernel_entry to LOADADDR, Gerald Champagne |
|---|---|
| Next by Date: | Re: Moving kernel_entry to LOADADDR, Mike McDonald |
| Previous by Thread: | Re: Moving kernel_entry to LOADADDR, Gerald Champagne |
| Next by Thread: | Re: Moving kernel_entry to LOADADDR, Mike McDonald |
| Indexes: | [Date] [Thread] [Top] [All Lists] |