]> Joshua Wise's Git repositories - netwatch.git/commitdiff
Add some headers.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Tue, 16 Dec 2008 19:01:41 +0000 (14:01 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Tue, 16 Dec 2008 19:01:41 +0000 (14:01 -0500)
24 files changed:
grubload/loader.c
grubload/multiboot_asm.S
grubload/multiboot_c.c
grubload/output.c
grubload/realmode.asm
ich2/ich2-timer.c
ich2/smi.c
ich2/smm-open-ich2.c
ich2/smram-ich2.c
ich2/smram-ich2.h
ich7/reg-82865.h
ich7/smm-open-ich7.c
include/console-ext.h
include/crc32.h
include/fb.h
include/keyboard.h
include/minilib.h
include/msr.h
include/multiboot.h
include/output.h
include/paging.h
include/pci-bother.h
include/pci.h
include/raw/io.h

index a754a49faeab3e5d917127181f406e3ad28b69c5..2b86a75d80f21c7542530c9aba52dd5dfce793e8 100644 (file)
@@ -1,3 +1,13 @@
+/* loader.c
+ * ELF loading subroutines
+ * NetWatch multiboot loader
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #include <elf.h>
 #include <output.h>
 #include <minilib.h>
 #include <elf.h>
 #include <output.h>
 #include <minilib.h>
index 1ee6ba29ebd288d823ab2fa0ad2cdc1bc02a3017..c7fd7942d97eab786ddb8b05e8c2828e6412d0b7 100644 (file)
@@ -1,3 +1,13 @@
+/* multiboot_asm.S
+ * Multiboot header
+ * NetWatch multiboot loader
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 .globl _start
 
 _start:
 .globl _start
 
 _start:
index 5e30dde991d41efa29074137b1ceb837503d83fd..9806ca41e3c23c233b4bfde6269c29effaf4f1b5 100644 (file)
@@ -1,3 +1,13 @@
+/* multiboot_c.c
+ * Main program for starting SMM code
+ * NetWatch multiboot loader
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #include "console.h"
 #include "loader.h"
 #include <output.h>
 #include "console.h"
 #include "loader.h"
 #include <output.h>
index 6abc72ab6f1f7758695e62481b08f0d41c1186e5..5f0365d7ccdd9c80859b291f78b38cdad7b15ae9 100644 (file)
@@ -1,3 +1,14 @@
+/* output.c
+ * Console output routines
+ * NetWatch multiboot loader
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #include <stdarg.h>
 #include <minilib.h>
 #include <console.h>
 #include <stdarg.h>
 #include <minilib.h>
 #include <console.h>
index b504b005b51de7e5803b6c984263d5bc93e163d0..f91352c7457f8e6df8744675106381b4eef70576 100644 (file)
@@ -1,3 +1,11 @@
+; realmode.asm
+; Routines to return the system to real mode
+; NetWatch multiboot loader
+;
+; Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+; This program is free software; you can redistribute and/or modify it under
+; the terms found in the file LICENSE in the root of this source tree. 
+
        [bits 32]       ; Starts in 32 bit mode, then will drop back later.
        org 0x4000
 entry:
        [bits 32]       ; Starts in 32 bit mode, then will drop back later.
        org 0x4000
 entry:
index 9934589ed62d14d002592260bd46e9a8e3ca7141..b8f7e1cce79e10bbf0f871c2e24312b03ce15536 100644 (file)
@@ -1,3 +1,13 @@
+/* ich2-timer.c
+ * High precision timer routines for ICH2 southbridge
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #include <pci.h>
 #include <io.h>
 #include <reg-82801b.h>
 #include <pci.h>
 #include <io.h>
 #include <reg-82801b.h>
index 7f9642183812738f5a4edb83e61fb972cc9057dd..c9a1f0e8292592691b8d3cac423b44062b04e8d9 100644 (file)
@@ -1,3 +1,14 @@
+/* smi.c
+ * System management interrupt dispatch routines for ICH2 southbridge
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #include <smi.h>
 #include <pci.h>
 #include <io.h>
 #include <smi.h>
 #include <pci.h>
 #include <io.h>
index 120ac74ccaf4e5f668b3e7c5ed4800b6d83eb9a4..813196106159d679a4b6bf5470bc6866ebb9449c 100644 (file)
@@ -1,3 +1,14 @@
+/* smm-open-ich2.c
+ * SMRAM control utility for ICH2 southbridge
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #include "reg-82815.h"
 #include <unistd.h>
 #include <getopt.h>
 #include "reg-82815.h"
 #include <unistd.h>
 #include <getopt.h>
index efc79e6d1258776195d2b84e0d10b60a7d8c3a01..36e750f078aec73653e88a5f1da596893bf045cd 100644 (file)
@@ -1,3 +1,14 @@
+/* ich2-timer.c
+ * SMRAM access utility for ICH2 chipset
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #include "reg-82815.h"
 #include <pci.h>
 #include <smram.h>
 #include "reg-82815.h"
 #include <pci.h>
 #include <smram.h>
index cd645c9fc54208971b3ca81614f8cb540c48e105..b08262b0d80c3c4dd2498b6b9c3661fc59bd51f1 100644 (file)
@@ -1,3 +1,14 @@
+/* smram-ich2.h
+ * Definitions for SMRAM access for ICH2 southbridge
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #ifndef __SMRAM_ICH2_H
 #define __SMRAM_ICH2_H
 
 #ifndef __SMRAM_ICH2_H
 #define __SMRAM_ICH2_H
 
index 9c3d3df06f985e6ea4f22ee688020cff9663804c..33b29ea6b2b92e3dc82df34bb64d9980bfd884e7 100644 (file)
@@ -1,3 +1,13 @@
+/* reg-82865.h
+ * SMRAM register definitions for Intel 82865 northbridge
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef _REG_82865_H
 #define _REG_82865_H
 
 #ifndef _REG_82865_H
 #define _REG_82865_H
 
index d53a6bd0e960ae887e9d7d0867c72a231fbff4ed..2d69e3fbadab59106a0d714b3011c68c608da85c 100644 (file)
@@ -1,3 +1,13 @@
+/* smm-open-ich7.c
+ * SMRAM open utility for Intel 82865 northbridge
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #include "reg-82865.h"
 
 void main()
 #include "reg-82865.h"
 
 void main()
@@ -18,4 +28,4 @@ void main()
                printf("SMRAM is locked, cannot load anything :-(\n");
                return;
        }
                printf("SMRAM is locked, cannot load anything :-(\n");
                return;
        }
-}
\ No newline at end of file
+}
index 849fd162d860f3113d6446dcd6c2ae902327e05a..588b0ae9c1605ce9fdc77516fe5b55cdf042c996 100644 (file)
@@ -1,9 +1,11 @@
-/** @file console-ext.h
+/* console-ext.h
+ * Console definitions
+ * NetWatch system management mode administration console
  *
  *
- *  @brief Forward declarations for extended console functions
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
  *
  *
- *  @author Joshua Wise (jwise) <joshua@joshuawise.com>
- *  @buf None known
  */
 
 #ifndef __CONSOLE_EXT_H
  */
 
 #ifndef __CONSOLE_EXT_H
index a384bcc93cc58524b029a0eb4426dc93c90ecb32..fbac9ce32fd25bed916eee8b21e714f6726e3676 100644 (file)
@@ -1,3 +1,13 @@
+/* crc32.h
+ * CRC32 routine declarations
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef _CRC32_H
 #define _CRC32_H
 
 #ifndef _CRC32_H
 #define _CRC32_H
 
index 79f05b510ab2f282775f4f695003b8b04873a75d..62524d130023d37b39979319b7fbbfdee20b81f4 100644 (file)
@@ -1,3 +1,13 @@
+/* fb.h
+ * Framebuffer definitions
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef __FB_H
 #define __FB_H
 
 #ifndef __FB_H
 #define __FB_H
 
index 28f41b223e9b683347fcf0ac1f188c63097756ac..ee40dea027339d7965fd0009efcf37f846940c71 100644 (file)
@@ -1,3 +1,13 @@
+/* keyboard.h
+ * Keyboard injection definitions
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef KEYBOARD_H
 #define KEYBOARD_H
 
 #ifndef KEYBOARD_H
 #define KEYBOARD_H
 
index d743d5ba28bac90abd3a239d0e6e9d9c3fe6cbf1..2e7eca66831b8c3b0c1a1dc8d123c4c95df1573a 100644 (file)
@@ -1,3 +1,13 @@
+/* minilib.h
+ * Definitions for a very small libc
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef MINILIB_H
 #define MINILIB_H
 
 #ifndef MINILIB_H
 #define MINILIB_H
 
index 0bed091a4a289a6b2d82f8df1734ed160ba9c7dd..0da028470b2501b81e5c32f59e6a6a2909d167ec 100644 (file)
@@ -1,3 +1,13 @@
+/* msr.h
+ * Macros to read and write model specific registers
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef _MSR_H
 #define _MSR_H
 
 #ifndef _MSR_H
 #define _MSR_H
 
index 96f8819b29858b52c7dda37472b0fe537e504b81..1168fc7f198b24d95824a451c33d3d18208c04dd 100644 (file)
@@ -1,3 +1,13 @@
+/* minilib.h
+ * Definitions needed for a multiboot kernel
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef __MULTIBOOT_H
 #define __MULTIBOOT_H
 
 #ifndef __MULTIBOOT_H
 #define __MULTIBOOT_H
 
index f49ef59e422b04bcc243321d4aedc4c17cd4edaa..5c1101af84ae53508893cbf3fe68d8ab147b32f2 100644 (file)
@@ -1,3 +1,13 @@
+/* output.h
+ * Definitions for needed output routines
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef __OUTPUT_H
 #define __OUTPUT_H
 
 #ifndef __OUTPUT_H
 #define __OUTPUT_H
 
index 0f864d889c85062c5bbf92af91252aaab8aa238d..4a27bb94e57a55be71026c691a679f67b2e91a74 100644 (file)
@@ -1,3 +1,13 @@
+/* minilib.h
+ * Definitions for page-table mapping and demapping
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef __PAGING_H
 #define __PAGING_H
 
 #ifndef __PAGING_H
 #define __PAGING_H
 
index ff717552e7b6a131803fcea05e17ebd048366d22..4a5989309979da276ffc2ed40d5290cd15278ac2 100644 (file)
@@ -1,3 +1,13 @@
+/* pci-bother.h
+ * Definitions for Bothering a PCI device
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef _PCI_BOTHER_H
 #define _PCI_BOTHER_H
 
 #ifndef _PCI_BOTHER_H
 #define _PCI_BOTHER_H
 
index 9e964ca91d2adb89348dc2cba0024fbb24ebad56..5243bfc6a5a35b79184753911614df81edb99492 100644 (file)
@@ -1,3 +1,14 @@
+/* pci.h
+ * Definitions for PCI access
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #ifndef PCI_H
 #define PCI_H
 
 #ifndef PCI_H
 #define PCI_H
 
index f04f44cde7caa64f83c56e3ad8fa471b9780ee99..429a70626ca75bf564afb942330a48e628e351ac 100644 (file)
@@ -1,3 +1,14 @@
+/* io.h
+ * I/O port access macros
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
+
 #ifndef __IO_H
 #define __IO_H
 
 #ifndef __IO_H
 #define __IO_H
 
This page took 0.043538 seconds and 4 git commands to generate.