kern

changeset 77:a6513dc35f04

- 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
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 06 Dec 2011 11:56:08 +0200
parents 0fe6eef16335
children 251a65b62223
files debug run src/klibc/inttypes.h src/main.c
diffstat 4 files changed, 7 insertions(+), 3 deletions(-) [+]
line diff
     1.1 --- a/debug	Sat Nov 05 04:53:46 2011 +0200
     1.2 +++ b/debug	Tue Dec 06 11:56:08 2011 +0200
     1.3 @@ -1,4 +1,6 @@
     1.4  #!/bin/sh
     1.5  
     1.6 -qemu -kernel kernel.elf -s -S &
     1.7 +cmdline=`cat run | grep qemu | sed s/^qemu//`
     1.8 +
     1.9 +qemu -s -S $cmdline &
    1.10  gdb
     2.1 --- a/run	Sat Nov 05 04:53:46 2011 +0200
     2.2 +++ b/run	Tue Dec 06 11:56:08 2011 +0200
     2.3 @@ -1,3 +1,3 @@
     2.4  #!/bin/sh
     2.5  
     2.6 -qemu -kernel kernel.elf -soundhw pcspk $*
     2.7 +qemu -kernel kernel.elf -soundhw pcspk -net none -hda disk.img $*
     3.1 --- a/src/klibc/inttypes.h	Sat Nov 05 04:53:46 2011 +0200
     3.2 +++ b/src/klibc/inttypes.h	Tue Dec 06 11:56:08 2011 +0200
     3.3 @@ -4,9 +4,11 @@
     3.4  typedef char int8_t;
     3.5  typedef short int16_t;
     3.6  typedef int int32_t;
     3.7 +typedef long long int64_t;
     3.8  
     3.9  typedef unsigned char uint8_t;
    3.10  typedef unsigned short uint16_t;
    3.11  typedef unsigned int uint32_t;
    3.12 +typedef unsigned long long uint64_t;
    3.13  
    3.14  #endif	/* INTTYPES_H_ */
     4.1 --- a/src/main.c	Sat Nov 05 04:53:46 2011 +0200
     4.2 +++ b/src/main.c	Tue Dec 06 11:56:08 2011 +0200
     4.3 @@ -44,7 +44,7 @@
     4.4  	init_rtc();
     4.5  
     4.6  	/* create the first process and switch to it */
     4.7 -	init_proc();
     4.8 +	/*init_proc();*/
     4.9  
    4.10  	/* XXX unreachable */
    4.11