118 Commits

Author SHA1 Message Date
83e204e52e Change the way python generates .o files via .S 2018-03-20 14:11:21 +01:00
6cbdb8f7de Remove magic numbers 2018-03-20 14:11:21 +01:00
127d6ca5a4 Interrupt cleanup 2018-03-20 14:11:21 +01:00
cbcc67fc31 Quick and dirty IDT setup 2018-03-20 14:11:21 +01:00
25ef5f4688 Chapter 7: Multiboot Data - COMPLETE 2018-03-20 14:11:21 +01:00
e4e891bb86 Clean up interface 2018-03-20 14:11:21 +01:00
79ca4681ff Make tests independent of structures in header files 2018-03-20 14:11:21 +01:00
9dbbc7013c Use debug macros 2018-03-20 14:11:21 +01:00
497bdef9f4 Debug print some of the multiboot data 2018-03-20 14:11:21 +01:00
49f7738be2 Parse multiboot information 2018-03-20 14:11:21 +01:00
d0b946f327 Chapter 6: Debug Output - COMPLETE 2018-03-20 14:11:21 +01:00
9e2483d78e Halt-And-Catch-Fire macro 2018-03-20 14:11:21 +01:00
2da088f031 Clean up interface 2018-03-20 14:11:21 +01:00
e6d046d593 A bit of cleanup in vga functions 2018-03-20 14:11:21 +01:00
15bbfd6e6a A real memmove function 2018-03-20 14:11:21 +01:00
042f61bdb3 Add padding to field width (right adjust) 2018-03-20 14:11:21 +01:00
0f5445da62 Script for viewing the serial log in glorious technicolor 2018-03-20 14:11:21 +01:00
0659cf73f6 Some more debug macros 2018-03-20 14:11:21 +01:00
572bee19cc Add ability to disable debug printing and gdb symbols 2018-03-20 14:11:21 +01:00
a9831c1038 A macro for debug printing 2018-03-20 14:11:21 +01:00
a652bbb05e Remove magic numbers 2018-03-20 14:11:21 +01:00
b50b32afa9 Move VGA cursor when writing to screen 2018-03-20 14:11:21 +01:00
055c41adb3 Scrolling screen when necessary 2018-03-20 14:11:21 +01:00
4f00d428bf Writing (debug output) to screen 2018-03-20 14:11:21 +01:00
b9e9df32f5 Tests for memory copy and write functions 2018-03-20 14:11:21 +01:00
954696728c Add memory copy and move functions. Required by gcc, and we'll also use
them soon
2018-03-20 14:11:21 +01:00
c19bc51bdc Output serial to a file 2018-03-20 14:11:21 +01:00
034a870ac7 Sending data (debug printing) to serial port 2018-03-20 14:11:21 +01:00
d05ddfeab4 Debug printing functions 2018-03-20 14:11:21 +01:00
a766726065 CLEANUP - Remove test tests 2018-03-20 14:11:21 +01:00
6730c599d2 Chapter 5: Unit Testing - COMPLETE 2018-03-20 14:11:21 +01:00
6f463b17d3 Turn off debug functions when testing 2018-03-20 14:11:21 +01:00
6c30e282ef Add tests for pointer comparison 2018-03-20 14:11:21 +01:00
498a78cd9f Tougher tests, and test the tests. 2018-03-20 14:11:21 +01:00
2b8fa6047d Use for instead of while - just a bit of cleanup 2018-03-20 14:11:21 +01:00
126ed26b3d A lot of refactoring 2018-03-20 14:11:21 +01:00
52846ceeac I just discovered __attribute__((constructor))! 2018-03-20 14:11:21 +01:00
71bee24e51 Make stuff happen in the right order 2018-03-20 14:11:21 +01:00
dbd2017df7 A bit cleaner error string handling 2018-03-20 14:11:21 +01:00
81730fe96a Move ttest include file 2018-03-20 14:11:21 +01:00
b82405a4c4 Make BEFORE and AFTER definiton function-like 2018-03-20 14:11:21 +01:00
e29262e9aa Add AFTER() for cleanup 2018-03-20 14:11:21 +01:00
187d131ab0 Nicer test error output 2018-03-20 14:11:21 +01:00
512e1a988a Make test definitions more function like 2018-03-20 14:11:21 +01:00
826885df8a Make ttest compile under clang 2018-03-20 14:11:21 +01:00
ad74123882 Handle null pointers in string comparisons 2018-03-20 14:11:21 +01:00
cfa1a15076 Define TTEST when ttesting. Also allow multiple assertions per test 2018-03-20 14:11:21 +01:00
1b80c00658 Fix overflow bug when comparing strings 2018-03-20 14:11:21 +01:00
e50fbff2d1 Handle compilation errors of tests 2018-03-20 14:11:21 +01:00
96849d6600 Keep going if a test fails, but report it 2018-03-20 14:11:21 +01:00