|
From: Jake H. <jh...@an...> - 2004-10-08 23:17:41
|
Hi all,
I'm new to Syllable development but have experience with FreeBSD, Linux,
and BeOS kernel hacking, so I'm getting up to speed fairly quickly. The
code is easy to understand and has been quite fun to hack on so far. As
I'm using VMWare (4.5.2) to host Syllable, my first task is to figure
out why I can only get it to work reliably with the kernel flag
"enable_ata_dma=false", which makes things run much slower.
Here's a patch with some minor fixes I've found so far. First, I added
"-Wstrict-prototypes" to the CFLAGS in kernel/Makefile (copied from the
Linux kernel CFLAGS) and corrected some warnings where functions were
declared as "foo()" instead of "foo(void)" as is correct for ANSI C.
Also in this patchset, I commented out some local functions which were
not being used, removing the remaining GCC warnings, fixed a typo
("deamon" -> "daemon") in kernel/swap.c, and fixed panic() in
kernel/kernel.c to use the va_list macros instead of pointer arithmetic.
So these are all basically minor stylistic fixes.
--
Jake Hamby
|