summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2008-05-21 13:37:04 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:36 -0700
commitb379eef67dee68c84b67518aefacb87df3ca914c (patch)
tree0aaeffbd902ca046891ff05f0b95f9afc641c3b1
parent6135ebb4d1a12902b2a74d6ed7f517bad8a694af (diff)
downloadbootstub-b379eef67dee68c84b67518aefacb87df3ca914c.tar.gz
* Fixing license headers
-rw-r--r--bootstub.c19
-rw-r--r--head.S29
2 files changed, 40 insertions, 8 deletions
diff --git a/bootstub.c b/bootstub.c
index 0fae0b8..ea21050 100644
--- a/bootstub.c
+++ b/bootstub.c
@@ -1,5 +1,20 @@
-/* bootstub.c for loading protected mode kernel
- * Copyright (C) 2008 Alek Du <alek.du@intel.com>
+/*
+ * bootstub 32 bit entry setting routings
+ * Copyright (C) 2008, Alek Du <alek.du@intel.com> Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ *
*/
#include "types.h"
diff --git a/head.S b/head.S
index 177a94a..3ff7ae9 100644
--- a/head.S
+++ b/head.S
@@ -1,14 +1,31 @@
-/* head.S for bootstub to load protected mode kernel
- * Copyright (C) 2008 Alek Du <alek.du@intel.com>
- *
+/*
+ * head.S for bootstub to load protected mode kernel
+ * Copyright (C) 2008, Alek Du <alek.du@intel.com> Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+/*
+ *
* Note. When FW hand-off control to bootstub, the CPU is already in protected
* Mode with 1. GDT(8)=4G GDT(10)=4G
* 2. CS=8, DS=ES=FS=GS=10
* 3. Paging mode disabled
* 4. Interrupt ENABLED
- */
-
-/* When bootstub get control, the memory map in DRAM is like:
+ *
+ * When bootstub get control, the memory map in DRAM is like:
* ~ ~
* 0x102000 | initrd | initrd will move to highest memory otherwise
*+bzImage size +-----------------------+ bzImage uncompressing will destory it