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
nexedi
linux
Commits
6d9cf7b6
Commit
6d9cf7b6
authored
May 24, 2002
by
Alberto Munoz
Committed by
David Mosberger
May 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ia64: Don't assume out registers are preserved across call to
ia64_switch_mode().
parent
d21f73c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
arch/ia64/kernel/efi_stub.S
arch/ia64/kernel/efi_stub.S
+4
-6
No files found.
arch/ia64/kernel/efi_stub.S
View file @
6d9cf7b6
...
...
@@ -53,23 +53,21 @@ GLOBAL_ENTRY(efi_call_phys)
mov
loc4
=
ar
.
rsc
//
save
RSE
configuration
mov
ar
.
rsc
=
0
//
put
RSE
in
enforced
lazy
,
LE
mode
;;
ld8
gp
=[
in0
]
//
load
EFI
function
's global pointer
mov
out0
=
in1
mov
out1
=
in2
movl
r16
=
PSR_BITS_TO_CLEAR
mov
loc3
=
psr
//
save
processor
status
word
movl
r17
=
PSR_BITS_TO_SET
;;
mov
out2
=
in3
or
loc3
=
loc3
,
r17
mov
b6
=
r2
;;
andcm
r16
=
loc3
,
r16
//
get
psr
with
IT
,
DT
,
and
RT
bits
cleared
mov
out3
=
in4
br.call.sptk.many
rp
=
ia64_switch_mode
.
ret0
:
mov
out4
=
in5
mov
out0
=
in1
mov
out1
=
in2
mov
out2
=
in3
mov
out3
=
in4
mov
out5
=
in6
mov
out6
=
in7
br.call.sptk.many
rp
=
b6
//
call
the
EFI
function
...
...
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