Re: bug in CEPC boot loader!!!!
- From: "Michel Verhagen (eMVP)" <mverhagen@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Sep 2006 14:35:45 +1200
Our team of psychologists have investigated your issue and came to the following conclusion:
-- Patient is totally and utterly insane ;)
You are forgetting that it is indeed the first phase loader ROMBOOT, BIOSLOADER or LoadCEPC that is initializing the pointer at the location BOOT_ARG_PTR_LOCATION_NP. EBOOT, SBOOT or whatever you are using as a 2nd phase loader just gets the pointer stored in this location to GET the boot arguments that are passed by ROMBOOT, BIOSLOADER or LoadCEPC.
I'm sure you'll return to sanity soon!
Get well,
Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com
gissa wrote:
This is a sanity check that I am not crazy!
In main.c of SBOOT I see this
pBootArgs = (BOOT_ARGS *) ((ULONG)(*(PBYTE
*)BOOT_ARG_PTR_LOCATION_NP));
This gets a pointer to the boot arguments but the boot arguments
*pointer* was not intialized anywhere in the code!!!
Here is what you see in ROMBOOT or BIOSLOADER this is what you see and
I think this is how it should be in SBOOT and EBOOT
((ULONG)(*(PBYTE *)BOOT_ARG_PTR_LOCATION_NP)) = BOOT_ARG_LOCATION_NP;
pBootArgs = (BOOT_ARGS *) ((ULONG)(*(PBYTE
*)BOOT_ARG_PTR_LOCATION_NP));
Can someone tell me if I am crazy?
Gus
--
.
- Follow-Ups:
- Re: bug in CEPC boot loader!!!!
- From: gissa
- Re: bug in CEPC boot loader!!!!
- References:
- bug in CEPC boot loader!!!!
- From: gissa
- bug in CEPC boot loader!!!!
- Prev by Date: Intel C++ Compiler for CE/XScale Helpful?
- Next by Date: Re: Problem regarding .rc file
- Previous by thread: bug in CEPC boot loader!!!!
- Next by thread: Re: bug in CEPC boot loader!!!!
- Index(es):
Relevant Pages
|