# HG changeset patch # User John Tsiombikas # Date 1323165368 -7200 # Node ID a6513dc35f04c313fb0ce9c1f2a2f2e2bf72957b # Parent 0fe6eef163352f7e1bac1de9a6fbb0b5bdc54bd1 - started writing disk/ata code - made the debug script rip the commandline arguments out of the run script so I won't have to keep them in sync - added 64bit sized types in klibc/intypes.h - temporarily commented out the processes init from main diff -r 0fe6eef16335 -r a6513dc35f04 debug --- a/debug Sat Nov 05 04:53:46 2011 +0200 +++ b/debug Tue Dec 06 11:56:08 2011 +0200 @@ -1,4 +1,6 @@ #!/bin/sh -qemu -kernel kernel.elf -s -S & +cmdline=`cat run | grep qemu | sed s/^qemu//` + +qemu -s -S $cmdline & gdb diff -r 0fe6eef16335 -r a6513dc35f04 run --- a/run Sat Nov 05 04:53:46 2011 +0200 +++ b/run Tue Dec 06 11:56:08 2011 +0200 @@ -1,3 +1,3 @@ #!/bin/sh -qemu -kernel kernel.elf -soundhw pcspk $* +qemu -kernel kernel.elf -soundhw pcspk -net none -hda disk.img $* diff -r 0fe6eef16335 -r a6513dc35f04 src/klibc/inttypes.h --- a/src/klibc/inttypes.h Sat Nov 05 04:53:46 2011 +0200 +++ b/src/klibc/inttypes.h Tue Dec 06 11:56:08 2011 +0200 @@ -4,9 +4,11 @@ typedef char int8_t; typedef short int16_t; typedef int int32_t; +typedef long long int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; #endif /* INTTYPES_H_ */ diff -r 0fe6eef16335 -r a6513dc35f04 src/main.c --- a/src/main.c Sat Nov 05 04:53:46 2011 +0200 +++ b/src/main.c Tue Dec 06 11:56:08 2011 +0200 @@ -44,7 +44,7 @@ init_rtc(); /* create the first process and switch to it */ - init_proc(); + /*init_proc();*/ /* XXX unreachable */