[misc] Add vim hints to the top of all modules

This commit is contained in:
Kevin Lange 2011-12-10 17:34:10 -06:00
parent 15c01ce442
commit 385fdae86c
29 changed files with 87 additions and 66 deletions

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Kevin Lange's Slab Allocator * Kevin Lange's Slab Allocator
* *
* Implemented for CS241, Fall 2010, machine problem 7 * 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; return ptr;
} }
/* }}} */ /* }}} */
/*
* vim:noexpandtab
* vim:tabstop=4
* vim:shiftwidth=4
*/

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Kernel Argument Parser * Kernel Argument Parser
* *
* Parses arguments passed by, ie, a Multiboot bootloader. * Parses arguments passed by, ie, a Multiboot bootloader.

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* CMOS Driver * CMOS Driver
* *
* Part of the ToAruOS Kernel * Part of the ToAruOS Kernel

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Copyright (c) 2006-2007 - http://brynet.biz.tm - <brynet@gmail.com> * Copyright (c) 2006-2007 - http://brynet.biz.tm - <brynet@gmail.com>
* All rights reserved. * All rights reserved.
* *

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* ELF Static Executable Loader * ELF Static Executable Loader
* *
* Part of the ToAru OS Kernel * Part of the ToAru OS Kernel
@ -157,8 +158,3 @@ system(
} }
} }
/*
* vim:noexpandtab
* vim:tabstop=4
* vim:shiftwidth=4
*/

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Tiny FPU enable module. * Tiny FPU enable module.
* *
* Part of the ToAruOS Kernel * Part of the ToAruOS Kernel

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Global Descriptor Tables module * Global Descriptor Tables module
* *
* Part of the ToAruOS Kernel * Part of the ToAruOS Kernel

View File

@ -1,3 +1,8 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Interrupt Descriptor Tables
*
*/
#include <system.h> #include <system.h>
/* /*

View File

@ -1,3 +1,8 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Interrupt Requests
*
*/
#include <system.h> #include <system.h>
extern void _irq0(); extern void _irq0();

View File

@ -1,3 +1,7 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Interrupt Services Requests
*/
#include <system.h> #include <system.h>
/* /*

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Low-level keyboard interrupt driver. * Low-level keyboard interrupt driver.
* *
* Part of the ToAruOS Kernel * Part of the ToAruOS Kernel

View File

@ -1,4 +1,5 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Kernel printf implementation * Kernel printf implementation
* *
* Simple, painfully lacking, implementation of printf(), * Simple, painfully lacking, implementation of printf(),

View File

@ -1,7 +1,6 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Kernel Memory Manager * Kernel Memory Manager
* vim:tabstop=4
* vim:noexpandtab
*/ */
#include <system.h> #include <system.h>

View File

@ -1,3 +1,6 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
* Mouse driver
*/
#include <system.h> #include <system.h>
uint8_t mouse_cycle = 0; uint8_t mouse_cycle = 0;

View File

@ -1,3 +1,7 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Multiboot (GRUB) handler
*/
#include <system.h> #include <system.h>
#include <multiboot.h> #include <multiboot.h>

View File

@ -1,3 +1,7 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Panic functions
*/
#include <system.h> #include <system.h>
void kernel_halt() { void kernel_halt() {

View File

@ -1,3 +1,7 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Processes
*/
#include <system.h> #include <system.h>
#include <process.h> #include <process.h>
#include <tree.h> #include <tree.h>

View File

@ -1,7 +1,6 @@
/** /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Serial Port Driver * Serial Port Driver
* vim:tabstop=4
* vim:noexpandtab
*/ */
#include <system.h> #include <system.h>

View File

@ -1,6 +1,4 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
* vim:tabstop=4
* vim:noexpandtab
* *
* ToAruOS Kernel Debugger Shell * ToAruOS Kernel Debugger Shell
* *

View File

@ -1,6 +1,7 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
* vim:tabstop=4 *
* vim:noexpandtab * Syscall Tables
*
*/ */
#include <system.h> #include <system.h>
#include <syscall.h> #include <syscall.h>

View File

@ -1,6 +1,11 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
* vim:tabstop=4 *
* vim: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 <system.h> #include <system.h>

View File

@ -1,4 +1,7 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Task Switching
*
*/ */
#include <system.h> #include <system.h>
#include <process.h> #include <process.h>

View File

@ -1,3 +1,7 @@
/* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* Programmable Interrupt Timer
*/
#include <system.h> #include <system.h>
#define PIT_A 0x40 #define PIT_A 0x40

View File

@ -1,4 +1,7 @@
/* vim: noexpandtab shiftwidth=4 tabstop=4 /* vim: noexpandtab shiftwidth=4 tabstop=4
*
* Virtual File System
*
*/ */
#include <system.h> #include <system.h>
#include <fs.h> #include <fs.h>

View File

@ -1,6 +1,9 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
* vim:tabstop=4 *
* vim:noexpandtab * VGA Text-mode handlers
*
* (For debugging, etc.)
*
*/ */
#include <system.h> #include <system.h>

View File

@ -1,6 +1,7 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
* vim:tabstop=4 *
* vim:noexpandtab * Graphical mode terminal font
*
*/ */
/* This is the default VGA 8 x 12 font */ /* This is the default VGA 8 x 12 font */
#include <system.h> #include <system.h>

View File

@ -1,7 +1,6 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
*
* ANSI-esque Terminal Escape Driver * ANSI-esque Terminal Escape Driver
* vim:tabstop=4
* vim:noexpandtab
*/ */
#include <system.h> #include <system.h>

View File

@ -1,6 +1,4 @@
/* /* vim: tabstop=4 shiftwidth=4 noexpandtab
* vim:tabstop=4
* vim:noexpandtab
* *
* Bochs VBE / QEMU vga=std Graphics Driver * Bochs VBE / QEMU vga=std Graphics Driver
*/ */

View File

@ -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 */
};