Commit graph

9 commits

Author SHA1 Message Date
ef15019757 Move StartupInformation struct to its own file 2016-04-09 13:30:18 -04:00
77ab0175da Move Memory to memory/ 2016-03-26 19:40:31 -04:00
9680a2a9c5 Add the multiboot magic value to the startup info struct. 2016-03-25 01:39:07 -04:00
6c91528fb2 Doc comments 2016-03-25 01:25:21 -04:00
bcfba2c167 Move a bunch of init code to Kernel::initialize()
- Kernel owns a MemoryManager, which is responsible for initializing the GDT.
- Kernel is passed a new StartupInformation struct (borrowed this one from
  Ghost) which contains a bunch of handy tidbits for setting things up.
- Cleaned out even more stuff from kmain()
2016-03-25 01:21:49 -04:00
6aa4453f77 Allow clients to get the console from the kernel object 2016-03-23 01:42:52 -04:00
522e788ebd Give Kernel a console object 2016-03-23 00:56:00 -04:00
7f72106639 Return a reference to Kernel from systemKernel() 2016-03-23 00:55:42 -04:00
abfcfd24cd Add Kernel object
- Implement halt()
- Call the system kernel halt() method at the end of kmain()
2016-03-23 00:33:45 -04:00