how to realize reliable interrupt/exception handling
Posted: Mon Mar 13, 2006 10:58 am
i read the os design introduction linked by
http://www.osdev.org/osfaq2/index.php/all%20in%20one
the link points out the order the os implementer may follow
i also searched the related info and read them, had no idea yet.
http://www.osdev.org/osfaq2/index.php/all%20in%20one
the link points out the order the os implementer may follow
- [1]
Being able to print strings and integer numbers (both decimal and hex) to screen certainly is a must at early stage. This is one of most basic ways of debugging, and virtually all of us have gone through a kprint() or kout in version 0.01.
[2]
You are likely to make mistakes when going further, so having a working and (once again) reliable interrupt/exception handling system that can report you the address of the fault as well as the register contents will be a valuable help aswell.
[3]
Having the opportunity to allocate memory at run-time (malloc()-like interface) for your kernel's internal structure will certainly come handy sooner or later. It is suggested you handle it soon.
i also searched the related info and read them, had no idea yet.