bug in CEPC boot loader!!!!

Tech-Archive recommends: Fix windows errors by optimizing your registry



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

.



Relevant Pages

  • Re: bug in CEPC boot loader!!!!
    ... 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. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: XP Does not start properly
    ... "Raj" wrote in message ... > screen with the mouse pointer on it. ... > of logging in safe mode with command prompt. ... I have tried all the boot options ...
    (microsoft.public.windowsxp.general)
  • Re: Desktop is not appearing
    ... > Whenever I boot my laptop, ... > and I thought this must be a virus file and I have renamed ... > screen with the mouse pointer on it. ... I have tried all the boot options ...
    (microsoft.public.windowsxp.general)
  • XP Does not start properly
    ... Whenever I boot my laptop, ... screen with the mouse pointer on it. ... of logging in safe mode with command prompt. ...
    (microsoft.public.windowsxp.general)
  • Desktop is not appearing
    ... Whenever I boot my laptop, ... screen with the mouse pointer on it. ... of logging in safe mode with command prompt. ...
    (microsoft.public.windowsxp.general)