From 51c6cc420d116d8065063bdda78eed9ef55e17e5 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 9 Mar 2007 11:05:41 +0000 Subject: [PATCH] Cosmetic fixes (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@228 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- arch/x86/reset.S | 22 ++++++++++------------ arch/x86/stage0_i586.S | 31 +++++++++++++++---------------- 2 files changed, 25 insertions(+), 28 deletions(-) diff --git a/arch/x86/reset.S b/arch/x86/reset.S index 6cf4e9639f..4a16537c05 100644 --- a/arch/x86/reset.S +++ b/arch/x86/reset.S @@ -1,30 +1,28 @@ -## +## ## This file is part of the LinuxBIOS project. -## +## ## Copyright (C) 2007 Stefan Reinauer -## +## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. -## +## ## This program is distributed in the hope that 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 -## +## # Reset vector. # RVECTOR: size of reset vector, default is 0x10 # RESRVED: size of vpd code, default is 0xf0 -# # BOOTBLK: size of bootblock code, default is 0x1f00 (8k-256b) -# SEGMENT_SIZE = 0x10000 RVECTOR = 0x00010 @@ -33,12 +31,12 @@ RVECTOR = 0x00010 .globl _start _start: jmp SEGMENT_SIZE-(BOOTBLK+RESRVED+RVECTOR) - + .byte 0 -# date? idstring? we might want to put something else in here. +# Date? ID string? We might want to put something else in here. .ascii DATE -# checksum -.word 0 +# Checksum. +.word 0 diff --git a/arch/x86/stage0_i586.S b/arch/x86/stage0_i586.S index 51411ed0be..3fb7d40df3 100644 --- a/arch/x86/stage0_i586.S +++ b/arch/x86/stage0_i586.S @@ -475,48 +475,47 @@ var_mtrr_msr: -## +## ## This file is part of the LinuxBIOS project. -## +## ## Copyright (C) 2007 coresystems GmbH ## Written by Stefan Reinauer for coresystems GmbH. -## +## ## This program is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. -## +## ## This program is distributed in the hope that 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 -## +## -# reset vector +# Reset vector. # RVECTOR: size of reset vector, default is 0x10 # RESRVED: size of vpd code, default is 0xf0 -# # BOOTBLK: size of bootblock code, default is 0x1f00 (8k-256b) -# SEGMENT_SIZE = 0x10000 RVECTOR = 0x00010 #.=0x1ff0 #.=0xfffffff0 #.=_stage0 + 0x1ff0 -# due to YET ANOTHER BUG in GNU bintools, you can NOT have a code16 here. -# I think we should leave it this way forever, as the bugs come and go -- and come again +# Due to YET ANOTHER BUG in GNU bintools, you can NOT have a code16 here. +# I think we should leave it this way forever, as the bugs come and +# go -- and come again. # .code16 # .section ".rom.text" .section ".reset", "ax" .globl _resetjump _resetjump: - /* gnu bintools win again. this jumps to stage0 - 2. Sigh. */ + /* GNU bintools win again. This jumps to stage0 - 2. Sigh. */ # jmp _stage0 .byte 0xe9 .int _stage0 - ( . + 2 ) @@ -525,11 +524,11 @@ _resetjump: * is little endian and allows us to use supported 32bit relocations * instead of the weird 16 bit relocations that binutils does not * handle consistenly between versions because they are used so rarely. - */ + */ .byte 0 -# date? idstring? we might want to put something else in here. +# Date? ID string? We might want to put something else in here. .ascii DATE -# checksum -#.word 0 +# Checksum. +#.word 0