diff --git a/kernel/core/alloc.c b/kernel/core/alloc.c index 714d4afb..b85b9aa3 100644 --- a/kernel/core/alloc.c +++ b/kernel/core/alloc.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Kevin Lange's Slab Allocator * * Implemented for CS241, Fall 2010, machine problem 7 @@ -940,10 +941,3 @@ static void * __attribute__ ((malloc)) klcalloc(size_t nmemb, size_t size) { return ptr; } /* }}} */ - - -/* - * vim:noexpandtab - * vim:tabstop=4 - * vim:shiftwidth=4 - */ diff --git a/kernel/core/args.c b/kernel/core/args.c index af527372..b7b14a3f 100644 --- a/kernel/core/args.c +++ b/kernel/core/args.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Kernel Argument Parser * * Parses arguments passed by, ie, a Multiboot bootloader. diff --git a/kernel/core/cmos.c b/kernel/core/cmos.c index eb6ff410..cccbe776 100644 --- a/kernel/core/cmos.c +++ b/kernel/core/cmos.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * CMOS Driver * * Part of the ToAruOS Kernel diff --git a/kernel/core/cpudet.c b/kernel/core/cpudet.c index ab25bf4b..b03b029b 100644 --- a/kernel/core/cpudet.c +++ b/kernel/core/cpudet.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Copyright (c) 2006-2007 - http://brynet.biz.tm - * All rights reserved. * diff --git a/kernel/core/elf.c b/kernel/core/elf.c index a6bd3018..91c3e8de 100644 --- a/kernel/core/elf.c +++ b/kernel/core/elf.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * ELF Static Executable Loader * * Part of the ToAru OS Kernel @@ -157,8 +158,3 @@ system( } } -/* - * vim:noexpandtab - * vim:tabstop=4 - * vim:shiftwidth=4 - */ diff --git a/kernel/core/fpu.c b/kernel/core/fpu.c index aafcc32e..9d6f1f2b 100644 --- a/kernel/core/fpu.c +++ b/kernel/core/fpu.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Tiny FPU enable module. * * Part of the ToAruOS Kernel diff --git a/kernel/core/gdt.c b/kernel/core/gdt.c index 5492bfed..a8673e6f 100644 --- a/kernel/core/gdt.c +++ b/kernel/core/gdt.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Global Descriptor Tables module * * Part of the ToAruOS Kernel diff --git a/kernel/core/idt.c b/kernel/core/idt.c index 2634ab1b..e54b1a06 100644 --- a/kernel/core/idt.c +++ b/kernel/core/idt.c @@ -1,3 +1,8 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Interrupt Descriptor Tables + * + */ #include /* diff --git a/kernel/core/irq.c b/kernel/core/irq.c index 1d6ff67a..e7351ede 100644 --- a/kernel/core/irq.c +++ b/kernel/core/irq.c @@ -1,3 +1,8 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Interrupt Requests + * + */ #include extern void _irq0(); diff --git a/kernel/core/isrs.c b/kernel/core/isrs.c index b7392125..b6fe4268 100644 --- a/kernel/core/isrs.c +++ b/kernel/core/isrs.c @@ -1,3 +1,7 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Interrupt Services Requests + */ #include /* diff --git a/kernel/core/kbd.c b/kernel/core/kbd.c index 0638fa41..cb74bd16 100644 --- a/kernel/core/kbd.c +++ b/kernel/core/kbd.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Low-level keyboard interrupt driver. * * Part of the ToAruOS Kernel diff --git a/kernel/core/kprintf.c b/kernel/core/kprintf.c index cdb12c48..a7b1f3f4 100644 --- a/kernel/core/kprintf.c +++ b/kernel/core/kprintf.c @@ -1,4 +1,5 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Kernel printf implementation * * Simple, painfully lacking, implementation of printf(), diff --git a/kernel/core/mem.c b/kernel/core/mem.c index 7b6a656b..dac51296 100644 --- a/kernel/core/mem.c +++ b/kernel/core/mem.c @@ -1,7 +1,6 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Kernel Memory Manager - * vim:tabstop=4 - * vim:noexpandtab */ #include diff --git a/kernel/core/mouse.c b/kernel/core/mouse.c index 196ff079..068e4816 100644 --- a/kernel/core/mouse.c +++ b/kernel/core/mouse.c @@ -1,3 +1,6 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * Mouse driver + */ #include uint8_t mouse_cycle = 0; diff --git a/kernel/core/multiboot.c b/kernel/core/multiboot.c index 942511fd..5ef8f01f 100644 --- a/kernel/core/multiboot.c +++ b/kernel/core/multiboot.c @@ -1,3 +1,7 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Multiboot (GRUB) handler + */ #include #include diff --git a/kernel/core/panic.c b/kernel/core/panic.c index c3ad7188..de441fd4 100644 --- a/kernel/core/panic.c +++ b/kernel/core/panic.c @@ -1,3 +1,7 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Panic functions + */ #include void kernel_halt() { diff --git a/kernel/core/process.c b/kernel/core/process.c index f48868f9..e4f7d010 100644 --- a/kernel/core/process.c +++ b/kernel/core/process.c @@ -1,3 +1,7 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Processes + */ #include #include #include diff --git a/kernel/core/serial.c b/kernel/core/serial.c index 1a3d1947..c16164c5 100644 --- a/kernel/core/serial.c +++ b/kernel/core/serial.c @@ -1,7 +1,6 @@ -/** +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * Serial Port Driver - * vim:tabstop=4 - * vim:noexpandtab */ #include diff --git a/kernel/core/shell.c b/kernel/core/shell.c index 40268d8c..d4d4203e 100644 --- a/kernel/core/shell.c +++ b/kernel/core/shell.c @@ -1,6 +1,4 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab +/* vim: tabstop=4 shiftwidth=4 noexpandtab * * ToAruOS Kernel Debugger Shell * diff --git a/kernel/core/syscall.c b/kernel/core/syscall.c index e2233d84..b15a052c 100644 --- a/kernel/core/syscall.c +++ b/kernel/core/syscall.c @@ -1,6 +1,7 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Syscall Tables + * */ #include #include diff --git a/kernel/core/system.c b/kernel/core/system.c index f2027697..2cfb28bd 100644 --- a/kernel/core/system.c +++ b/kernel/core/system.c @@ -1,6 +1,11 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * System Functions + * + * Part of the ToAru OS Kernel + * (C) 2011 Kevin Lange + * Released under the terms of the NCSA License, see the included + * README file for further information. */ #include diff --git a/kernel/core/task.c b/kernel/core/task.c index d763f3ec..2eac0939 100644 --- a/kernel/core/task.c +++ b/kernel/core/task.c @@ -1,4 +1,7 @@ /* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Task Switching + * */ #include #include diff --git a/kernel/core/timer.c b/kernel/core/timer.c index 25fe0117..4bab7a86 100644 --- a/kernel/core/timer.c +++ b/kernel/core/timer.c @@ -1,3 +1,7 @@ +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Programmable Interrupt Timer + */ #include #define PIT_A 0x40 diff --git a/kernel/core/vfs.c b/kernel/core/vfs.c index 67e43d11..e47a38af 100644 --- a/kernel/core/vfs.c +++ b/kernel/core/vfs.c @@ -1,4 +1,7 @@ /* vim: noexpandtab shiftwidth=4 tabstop=4 + * + * Virtual File System + * */ #include #include diff --git a/kernel/core/vga.c b/kernel/core/vga.c index 5fad1de7..1bcde8d8 100644 --- a/kernel/core/vga.c +++ b/kernel/core/vga.c @@ -1,6 +1,9 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * VGA Text-mode handlers + * + * (For debugging, etc.) + * */ #include diff --git a/kernel/core/vga_font.c b/kernel/core/vga_font.c index 7497cca9..f950ec1b 100644 --- a/kernel/core/vga_font.c +++ b/kernel/core/vga_font.c @@ -1,6 +1,7 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * + * Graphical mode terminal font + * */ /* This is the default VGA 8 x 12 font */ #include diff --git a/kernel/core/video/ansi.c b/kernel/core/video/ansi.c index 0a092ce3..0868a4bf 100644 --- a/kernel/core/video/ansi.c +++ b/kernel/core/video/ansi.c @@ -1,7 +1,6 @@ -/* +/* vim: tabstop=4 shiftwidth=4 noexpandtab + * * ANSI-esque Terminal Escape Driver - * vim:tabstop=4 - * vim:noexpandtab */ #include diff --git a/kernel/core/video/bochs.c b/kernel/core/video/bochs.c index a50ad304..350ba19b 100644 --- a/kernel/core/video/bochs.c +++ b/kernel/core/video/bochs.c @@ -1,6 +1,4 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab +/* vim: tabstop=4 shiftwidth=4 noexpandtab * * Bochs VBE / QEMU vga=std Graphics Driver */ diff --git a/kernel/core/video/font.c b/kernel/core/video/font.c deleted file mode 100644 index ec0b426b..00000000 --- a/kernel/core/video/font.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - * vim:tabstop=4 - * vim:noexpandtab - * - * Standard VGA-like Alphanumeric Font - */ - -char fb_font [][8] = { - /* _ */ - { 0x00, - 0x00, - 0x00, - 0x00, /* 4 */ - 0x00, - 0x00, - 0x00, - 0x00 } /* 8 */ -};