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
1688e82a
Commit
1688e82a
authored
May 07, 2002
by
Russell King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ARM] Fix signedness of address comparisons, causing boots on some
ARM platforms to fail.
parent
584a7cc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/arm/boot/compressed/head.S
arch/arm/boot/compressed/head.S
+6
-6
No files found.
arch/arm/boot/compressed/head.S
View file @
1688e82a
...
...
@@ -151,7 +151,7 @@ not_angel:
add
r1
,
r1
,
r0
@
table
.
This
fixes
up
the
str
r1
,
[
r6
],
#
4
@
C
references
.
cmp
r6
,
ip
bl
t
1
b
bl
o
1
b
not_relocated
:
mov
r0
,
#
0
1
:
str
r0
,
[
r2
],
#
4
@
clear
bss
...
...
@@ -159,7 +159,7 @@ not_relocated: mov r0, #0
str
r0
,
[
r2
],
#
4
str
r0
,
[
r2
],
#
4
cmp
r2
,
r3
bl
t
1
b
bl
o
1
b
mrc
p15
,
0
,
r6
,
c0
,
c0
@
get
processor
ID
bl
cache_on
...
...
@@ -206,7 +206,7 @@ not_relocated: mov r0, #0
ldmia
r2
!,
{
r8
-
r13
}
stmia
r1
!,
{
r8
-
r13
}
cmp
r2
,
r3
bl
t
1
b
bl
o
1
b
bl
cache_clean_flush
add
pc
,
r5
,
r0
@
call
relocation
code
...
...
@@ -270,9 +270,9 @@ __cache_on: sub r3, r4, #16384 @ Page directory size
orr
r1
,
r1
,
#
3
<<
10
add
r2
,
r3
,
#
16384
1
:
cmp
r1
,
r8
@
if
virt
>
start
of
RAM
orr
ge
r1
,
r1
,
#
0x0c
@
set
cacheable
,
bufferable
orr
hs
r1
,
r1
,
#
0x0c
@
set
cacheable
,
bufferable
cmp
r1
,
r9
@
if
virt
>
end
of
RAM
bic
ge
r1
,
r1
,
#
0x0c
@
clear
cacheable
,
bufferable
bic
hs
r1
,
r1
,
#
0x0c
@
clear
cacheable
,
bufferable
str
r1
,
[
r0
],
#
4
@
1
:
1
mapping
add
r1
,
r1
,
#
1048576
teq
r0
,
r2
...
...
@@ -330,7 +330,7 @@ reloc_start: add r8, r5, r0
.
endr
cmp
r5
,
r8
bl
t
1
b
bl
o
1
b
debug_reloc_end
call_kernel
:
bl
cache_clean_flush
...
...
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