Quote:
|
There's a ton of extra initialization on a cold boot.
|
Could you be more specific? On a cold reboot (power up) and upon a reset, the processor vectors through 0x0000 - the reset vector - and then does:
Code:
_entry -> jumps to _startup
_startup -> sets up stack/frame pointers
calls clear ram memory routine to zero in all ram banks (except for F00-F5F)
calls _do_cinit which initalizes all ram locations to user declared defaults
calls main
main
:
.
}
It should be the same for a cold boot vs reset as it executes the same code?