[PATCH] x86_64: coding style and whitespace fixups
Remove some of the unnecessary differences between arch/i386 and arch/x86_64. This patch fixes more whitespace issues, some miscellaneous typos, a wrong URL and a factually incorrect statement about the current boot sector code. Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
23712b2fbf
commit
f45494480f
@@ -33,7 +33,7 @@
|
||||
* Transcribed from Intel (as86) -> AT&T (gas) by Chris Noe, May 1999.
|
||||
* <stiker@northlink.com>
|
||||
*
|
||||
* Fix to work around buggy BIOSes which dont use carry bit correctly
|
||||
* Fix to work around buggy BIOSes which don't use carry bit correctly
|
||||
* and/or report extended memory in CX/DX for e801h memory size detection
|
||||
* call. As a result the kernel got wrong figures. The int15/e801h docs
|
||||
* from Ralf Brown interrupt list seem to indicate AX/BX should be used
|
||||
@@ -357,7 +357,7 @@ bail820:
|
||||
|
||||
meme801:
|
||||
stc # fix to work around buggy
|
||||
xorw %cx,%cx # BIOSes which dont clear/set
|
||||
xorw %cx,%cx # BIOSes which don't clear/set
|
||||
xorw %dx,%dx # carry on pass/error of
|
||||
# e801h memory size call
|
||||
# or merely pass cx,dx though
|
||||
@@ -847,7 +847,7 @@ flush_instr:
|
||||
#
|
||||
# but we yet haven't reloaded the CS register, so the default size
|
||||
# of the target offset still is 16 bit.
|
||||
# However, using an operand prefix (0x66), the CPU will properly
|
||||
# However, using an operand prefix (0x66), the CPU will properly
|
||||
# take our 48 bit far pointer. (INTeL 80386 Programmer's Reference
|
||||
# Manual, Mixing 16-bit and 32-bit code, page 16-6)
|
||||
|
||||
|
Reference in New Issue
Block a user