Where is the eboot startup code?



Hi,
I read the eboot code and there is a main() in the main.c file.
But the main comment says ,

// since the startup code is in OAL and it branch to main, we'll just
// implement a pseudo 'main' instead of changing the startup code
void main (void)
{
BootloaderMain ();

SPIN_FOREVER;
}

My questions:
And where is the entrance?
Is it the BootloaderMain()?Where is the OAL defined entrance?
Wether the main() execute?

Peter


.



Relevant Pages

  • [PATCH] Remove boot98
    ... * head.S contains the 32-bit startup code. ... -static void* memset(void *, int, size_t); ... -typedef unsigned char uch; ...
    (Linux-Kernel)
  • Re: Where is the eboot startup code?
    ... I read the eboot code and there is a mainin the main.c file. ... // since the startup code is in OAL and it branch to main, ... void main ... Is it the BootloaderMain?Where is the OAL defined entrance? ...
    (microsoft.public.windowsce.platbuilder)