31 Commits

Author SHA1 Message Date
9e2483d78e Halt-And-Catch-Fire macro 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
c19bc51bdc Output serial to a file 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
6511c39762 Gdb function for printing register values 2018-03-19 20:29:40 +01:00
eed3bb693b Commenting and cleanup 2018-03-19 20:29:40 +01:00
2451851b9f Remove Multiboot1 support 2018-03-19 20:29:40 +01:00
d7560b775c Remove hardcoded buildroot from kernel makefile and gdbinit 2018-03-19 20:29:40 +01:00
a0f3953365 Make debugging work 2018-03-19 20:29:40 +01:00
fef9a11d16 Use either multiboot1 or multiboot2 2018-03-19 20:29:40 +01:00
14cd812e34 Add grub menu item to boot automatically 2018-03-19 20:29:40 +01:00
bbd88e8567 Some commenting and cleanup 2018-03-19 20:29:39 +01:00
64af272ef1 Include host compiler and valgrind in docker image 2018-03-19 20:29:39 +01:00
aee015eebc Use new version of qemu to avoid problems when changing to long mode 2018-03-19 20:29:39 +01:00
a44876fd2e Update binutils and gcc version 2018-03-19 20:29:39 +01:00
d339e27080 Compile binutils and gcc from scratch
Turns out the alpine versione doesn't quite work well with low-level 32
bit code...
2018-03-19 20:29:39 +01:00
261cc76e8f Don't hardcode paths 2018-03-19 20:29:39 +01:00
177be9dcc5 Rename debug script to gdb so that it overloads the gdb command 2018-03-19 20:29:39 +01:00
6f61f380ee Compress environment checking 2018-03-19 20:29:39 +01:00
82a8676056 A script for running the debugger. Also, some debugger settings 2018-03-19 20:29:39 +01:00
6919f9c8ed Split iso generation and emulation into two scripts 2018-03-19 20:29:39 +01:00
7d0fe7e944 A script for generating an iso file and running the emulator 2018-03-19 20:29:39 +01:00
979027102d Set an environment variable to know if we're inside the docker container 2018-03-19 20:29:39 +01:00
e30ed2ae56 A basic docker image for compiling and emulating an x86_64 os 2018-03-19 20:29:39 +01:00