Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3f99e16c
Commit
3f99e16c
authored
Apr 28, 2002
by
Brian Gerst
Committed by
Jaroslav Kysela
Apr 28, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Removing SYMBOL_NAME part 2
CRIS and x86-64 arches
parent
e0092cc0
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
234 additions
and
234 deletions
+234
-234
arch/cris/kernel/entry.S
arch/cris/kernel/entry.S
+228
-228
arch/x86_64/boot/compressed/head.S
arch/x86_64/boot/compressed/head.S
+4
-4
arch/x86_64/kernel/head.S
arch/x86_64/kernel/head.S
+2
-2
No files found.
arch/cris/kernel/entry.S
View file @
3f99e16c
This diff is collapsed.
Click to expand it.
arch/x86_64/boot/compressed/head.S
View file @
3f99e16c
...
@@ -41,7 +41,7 @@ startup_32:
...
@@ -41,7 +41,7 @@ startup_32:
movl
%
eax
,%
fs
movl
%
eax
,%
fs
movl
%
eax
,%
gs
movl
%
eax
,%
gs
lss
SYMBOL_NAME
(
stack_start
)
,%
esp
lss
stack_start
,%
esp
xorl
%
eax
,%
eax
xorl
%
eax
,%
eax
1
:
incl
%
eax
#
check
that
A20
really
IS
enabled
1
:
incl
%
eax
#
check
that
A20
really
IS
enabled
movl
%
eax
,
0x000000
#
loop
forever
if
it
isn
't
movl
%
eax
,
0x000000
#
loop
forever
if
it
isn
't
...
@@ -59,8 +59,8 @@ startup_32:
...
@@ -59,8 +59,8 @@ startup_32:
*
Clear
BSS
*
Clear
BSS
*/
*/
xorl
%
eax
,%
eax
xorl
%
eax
,%
eax
movl
$
SYMBOL_NAME
(
_edata
)
,%
edi
movl
$
_edata
,%
edi
movl
$
SYMBOL_NAME
(
_end
)
,%
ecx
movl
$
_end
,%
ecx
subl
%
edi
,%
ecx
subl
%
edi
,%
ecx
cld
cld
rep
rep
...
@@ -72,7 +72,7 @@ startup_32:
...
@@ -72,7 +72,7 @@ startup_32:
movl
%
esp
,%
eax
movl
%
esp
,%
eax
pushl
%
esi
#
real
mode
pointer
as
second
arg
pushl
%
esi
#
real
mode
pointer
as
second
arg
pushl
%
eax
#
address
of
structure
as
first
arg
pushl
%
eax
#
address
of
structure
as
first
arg
call
SYMBOL_NAME
(
decompress_kernel
)
call
decompress_kernel
orl
%
eax
,%
eax
orl
%
eax
,%
eax
jnz
3
f
jnz
3
f
addl
$
8
,%
esp
addl
$
8
,%
esp
...
...
arch/x86_64/kernel/head.S
View file @
3f99e16c
...
@@ -305,14 +305,14 @@ ENTRY(level3_physmem_pgt)
...
@@ -305,14 +305,14 @@ ENTRY(level3_physmem_pgt)
.
org
0
xb000
.
org
0
xb000
.
data
.
data
.
globl
SYMBOL_NAME
(
gdt
)
.
globl
gdt
.
word
0
.
word
0
.
align
16
.
align
16
.
word
0
.
word
0
pGDT64
:
pGDT64
:
.
word
gdt_end
-
gdt_table
.
word
gdt_end
-
gdt_table
SYMBOL_NAME_LABEL
(
gdt
)
gdt
:
.
quad
gdt_table
.
quad
gdt_table
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment