Clean up codehandler a little; stash msr on stack to preserve

This commit is contained in:
booto 2018-02-03 13:07:25 +08:00
parent 1264daae9b
commit aae8634a58
3 changed files with 18 additions and 9 deletions

7
docs/codehandler.ld Normal file
View file

@ -0,0 +1,7 @@
OUTPUT_FORMAT(binary)
OUTPUT(codehandler.bin)
SECTIONS
{
. = 0x80001800;
.text : { *(.text) }
}