Commit 3f99e16c authored by Brian Gerst's avatar Brian Gerst Committed by Jaroslav Kysela

[PATCH] Removing SYMBOL_NAME part 2

CRIS and x86-64 arches
parent e0092cc0
This diff is collapsed.
......@@ -41,7 +41,7 @@ startup_32:
movl %eax,%fs
movl %eax,%gs
lss SYMBOL_NAME(stack_start),%esp
lss stack_start,%esp
xorl %eax,%eax
1: incl %eax # check that A20 really IS enabled
movl %eax,0x000000 # loop forever if it isn't
......@@ -59,8 +59,8 @@ startup_32:
* Clear BSS
*/
xorl %eax,%eax
movl $ SYMBOL_NAME(_edata),%edi
movl $ SYMBOL_NAME(_end),%ecx
movl $_edata,%edi
movl $_end,%ecx
subl %edi,%ecx
cld
rep
......@@ -72,7 +72,7 @@ startup_32:
movl %esp,%eax
pushl %esi # real mode pointer as second arg
pushl %eax # address of structure as first arg
call SYMBOL_NAME(decompress_kernel)
call decompress_kernel
orl %eax,%eax
jnz 3f
addl $8,%esp
......
......@@ -305,14 +305,14 @@ ENTRY(level3_physmem_pgt)
.org 0xb000
.data
.globl SYMBOL_NAME(gdt)
.globl gdt
.word 0
.align 16
.word 0
pGDT64:
.word gdt_end-gdt_table
SYMBOL_NAME_LABEL(gdt)
gdt:
.quad gdt_table
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment