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
5554b6fc
Commit
5554b6fc
authored
Jan 20, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SPARC64]: Correctly mask the physical address for remapping the kernel TLB's
parent
51662d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
arch/sparc64/kernel/head.S
arch/sparc64/kernel/head.S
+10
-2
No files found.
arch/sparc64/kernel/head.S
View file @
5554b6fc
...
@@ -54,7 +54,14 @@ bootup_user_stack:
...
@@ -54,7 +54,14 @@ bootup_user_stack:
.
ascii
"HdrS"
.
ascii
"HdrS"
.
word
LINUX_VERSION_CODE
.
word
LINUX_VERSION_CODE
.
half
0x0203
/*
HdrS
version
*/
/
*
History
:
*
*
0x0202
:
Supports
kernel
params
string
*
0x0300
:
Supports
being
located
at
other
than
0x4000
*/
.
half
0x0300
/*
HdrS
version
*/
root_flags
:
root_flags
:
.
half
1
.
half
1
root_dev
:
root_dev
:
...
@@ -345,7 +352,8 @@ spitfire_got_tlbentry:
...
@@ -345,7 +352,8 @@ spitfire_got_tlbentry:
nop
nop
nop
nop
and
%
g1
,
%
g3
,
%
g1
/*
Mask
to
just
get
paddr
bits
.
*/
and
%
g1
,
%
g3
,
%
g1
/*
Mask
to
just
get
paddr
bits
.
*/
sub
%
g1
,
%
g2
,
%
g1
/*
Get
rid
of
%
pc
offset
to
get
base
.
*/
set
0x5fff
,
%
l3
/*
Mask
offset
to
get
phys
base
.
*/
andn
%
g1
,
%
l3
,
%
g1
/
*
NOTE
:
We
hold
on
to
%
g1
paddr
base
as
we
need
it
below
to
lock
/
*
NOTE
:
We
hold
on
to
%
g1
paddr
base
as
we
need
it
below
to
lock
*
NOTE
:
the
PROM
cif
code
into
the
TLB
.
*
NOTE
:
the
PROM
cif
code
into
the
TLB
.
...
...
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