Commit graph

219 commits

Author SHA1 Message Date
a320e103d2 Rename GDT::table -> mTable 2016-03-09 01:26:35 -05:00
75afe66362 Formatting 2016-03-09 01:23:14 -05:00
3e973716f8 Create a system interrupt handler and call initialize()
Loads interrupt table and programs PIC chips
2016-03-09 01:23:06 -05:00
6677af27f6 Rough outline of InterruptHandler 2016-03-09 01:17:13 -05:00
3879b3c324 Move descriptor classes to x86 namespace 2016-03-09 01:12:05 -05:00
0238e44efc Remove kernel namespace from PIC 2016-03-09 00:28:19 -05:00
867b89f65a Define the x86 exceptions 2016-03-09 00:21:22 -05:00
3722867e6d Add See Also to PIC programming comment 2016-03-09 00:09:10 -05:00
01b5737bd7 Just use full namespace specifiers instead of "using" 2016-03-06 13:01:02 -05:00
49afcdfadf Initialize hardware interrupts 2016-03-06 13:00:38 -05:00
1d9766b319 ++ instead of -- 2016-03-06 12:58:25 -05:00
c4b3d8e05c PIC class which manages the PIC chips 2016-03-06 11:49:30 -05:00
70d53827d2 Load an empty IDT 2016-03-02 02:57:35 -05:00
ccc7eeff60 Add low-level I/O functions 2016-03-02 02:48:25 -05:00
19693d62e3 Documentation for GDT and IDT 2016-03-02 02:07:44 -05:00
fcae11348d Clean up the GDT class 2016-03-02 02:02:34 -05:00
00e961435e Add IDT class for managing the interrupt table 2016-03-02 02:02:01 -05:00
d2cfbfd45d Console constructor is public again... 2016-03-01 12:02:37 -05:00
238e79f514 Move GDT to its own object 2016-03-01 12:01:51 -05:00
b893151fa4 Header formatting 2016-02-29 22:04:38 -05:00
6c076be975 GDT WORKS HOLY CRAP 2016-02-28 23:26:42 -05:00
94a8f74ada System console is back 2016-02-28 22:50:21 -05:00
945ad0e907 Add a bunch of code (copied from Paisley and rewritten a bit) for creating GDT entries 2016-02-28 15:28:17 -05:00
a7d0607c92 Okay, just create a console object when you need one... for now 2016-02-28 13:33:20 -05:00
e86960a283 Add cxa_guard functions for C++ ABI compatibility 2016-02-28 13:19:02 -05:00
8574dabf74 Merge remote-tracking branch 'base/master' 2016-02-28 12:57:24 -05:00
a4a8972625 Reference env directly
This change will work when the new changes to base are merged...
2016-02-28 12:57:12 -05:00
50177d96b8 Remove paths module 2016-02-28 09:24:20 -08:00
146b177ca9 Property export env 2016-02-28 09:22:46 -08:00
84b5595490 Remove TODO 2016-02-28 09:22:34 -08:00
0ed28ab34c Formatting 2016-02-28 03:51:30 -05:00
069ce17238 Note about slower performance of console writing in kmain() vs kearly() 2016-02-28 03:50:35 -05:00
14b7750b28 Remove hello.cc 2016-02-28 03:48:50 -05:00
d997765710 Global initialization of C++ static objects
I *think* I have this working right...?
2016-02-28 03:46:30 -05:00
760884de78 Console can scroll now! 2016-02-27 15:07:52 -05:00
42ac9ebe86 Console has tabs 2016-02-27 14:04:18 -05:00
4d7a8653be Console has newline support 2016-02-27 13:59:30 -05:00
f750094b13 Say hello, kernel! 2016-02-27 13:50:51 -05:00
d8c96e8eed Move main.cc -> Main.cc 2016-02-27 13:02:59 -05:00
c6eaba487c Get console building 2016-02-27 13:02:49 -05:00
5f0c65bf81 Add Console class 2016-02-27 12:51:25 -05:00
989118d8d3 Comment formatting 2016-02-27 12:34:36 -05:00
114642d9be boot tweaks 2016-02-27 12:34:31 -05:00
2b41a47bcd Get it all building 2016-02-27 12:27:44 -05:00
2ab67a8138 Add color diagnostics switch for gcc 2016-02-27 09:11:38 -08:00
30823ca314 Merge remote-tracking branch 'base/master' 2016-02-27 08:56:41 -08:00
517a083694 Add Append and Replace to the env 2016-02-27 08:55:09 -08:00
c70074aa89 grub.cfg 2016-02-27 08:39:42 -08:00
1261443ac1 The built 2016-02-27 08:39:32 -08:00
2b51791632 SConstruct for building an OS 2016-02-27 08:38:49 -08:00