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
d763ba8a
Commit
d763ba8a
authored
Feb 04, 2004
by
Andrew Morton
Committed by
Linus Torvalds
Feb 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ppc64: change HSC -> HVSC
From: anton@samba.org change HSC -> HVSC
parent
e16a5040
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
+10
-8
arch/ppc64/kernel/head.S
arch/ppc64/kernel/head.S
+3
-3
arch/ppc64/kernel/pSeries_hvCall.S
arch/ppc64/kernel/pSeries_hvCall.S
+5
-5
include/asm-ppc64/hvcall.h
include/asm-ppc64/hvcall.h
+2
-0
No files found.
arch/ppc64/kernel/head.S
View file @
d763ba8a
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
/*
/*
*
hcall
interface
to
pSeries
LPAR
*
hcall
interface
to
pSeries
LPAR
*/
*/
#define HSC .long 0x44000022
#define H
V
SC .long 0x44000022
#define H_SET_ASR 0x30
#define H_SET_ASR 0x30
/*
/*
...
@@ -1743,7 +1743,7 @@ _GLOBAL(__secondary_start)
...
@@ -1743,7 +1743,7 @@ _GLOBAL(__secondary_start)
cmpwi
r3
,
0x34
/*
Pulsar
*/
cmpwi
r3
,
0x34
/*
Pulsar
*/
bne
98
f
bne
98
f
97
:
li
r3
,
H_SET_ASR
/*
hcall
=
H_SET_ASR
*/
97
:
li
r3
,
H_SET_ASR
/*
hcall
=
H_SET_ASR
*/
HSC
/*
Invoking
hcall
*/
H
V
SC
/*
Invoking
hcall
*/
b
99
f
b
99
f
98
:
/
*
!(
rpa
hypervisor
)
||
!(
star
)
*/
98
:
/
*
!(
rpa
hypervisor
)
||
!(
star
)
*/
mtasr
r4
/*
set
the
stab
location
*/
mtasr
r4
/*
set
the
stab
location
*/
...
@@ -1912,7 +1912,7 @@ _STATIC(start_here_pSeries)
...
@@ -1912,7 +1912,7 @@ _STATIC(start_here_pSeries)
cmpwi
r3
,
0x34
/*
Pulsar
*/
cmpwi
r3
,
0x34
/*
Pulsar
*/
bne
98
f
bne
98
f
97
:
li
r3
,
H_SET_ASR
/*
hcall
=
H_SET_ASR
*/
97
:
li
r3
,
H_SET_ASR
/*
hcall
=
H_SET_ASR
*/
HSC
/*
Invoking
hcall
*/
H
V
SC
/*
Invoking
hcall
*/
b
99
f
b
99
f
98
:
/
*
!(
rpa
hypervisor
)
||
!(
star
)
*/
98
:
/
*
!(
rpa
hypervisor
)
||
!(
star
)
*/
mtasr
r4
/*
set
the
stab
location
*/
mtasr
r4
/*
set
the
stab
location
*/
...
...
arch/ppc64/kernel/pSeries_hvCall.S
View file @
d763ba8a
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
/*
/*
*
hcall
interface
to
pSeries
LPAR
*
hcall
interface
to
pSeries
LPAR
*/
*/
#define HSC .long 0x44000022
#define H
V
SC .long 0x44000022
/*
long
plpar_hcall
(
unsigned
long
opcode
,
R3
/*
long
plpar_hcall
(
unsigned
long
opcode
,
R3
unsigned
long
arg1
,
R4
unsigned
long
arg1
,
R4
...
@@ -44,7 +44,7 @@ _GLOBAL(plpar_hcall)
...
@@ -44,7 +44,7 @@ _GLOBAL(plpar_hcall)
std
r9
,-
16
(
r1
)
std
r9
,-
16
(
r1
)
std
r10
,-
24
(
r1
)
std
r10
,-
24
(
r1
)
H
SC
/*
invoke
the
hypervisor
*/
H
VSC
/*
invoke
the
hypervisor
*/
ld
r10
,-
8
(
r1
)
/*
Fetch
r4
-
r7
ret
args
.
*/
ld
r10
,-
8
(
r1
)
/*
Fetch
r4
-
r7
ret
args
.
*/
std
r4
,
0
(
r10
)
std
r4
,
0
(
r10
)
...
@@ -63,7 +63,7 @@ _GLOBAL(plpar_hcall)
...
@@ -63,7 +63,7 @@ _GLOBAL(plpar_hcall)
_GLOBAL
(
plpar_hcall_norets
)
_GLOBAL
(
plpar_hcall_norets
)
mfcr
r0
mfcr
r0
std
r0
,-
8
(
r1
)
std
r0
,-
8
(
r1
)
H
SC
/*
invoke
the
hypervisor
*/
H
VSC
/*
invoke
the
hypervisor
*/
ld
r0
,-
8
(
r1
)
ld
r0
,-
8
(
r1
)
mtcrf
0xff
,
r0
mtcrf
0xff
,
r0
blr
/*
return
r3
=
status
*/
blr
/*
return
r3
=
status
*/
...
@@ -94,7 +94,7 @@ _GLOBAL(plpar_hcall_8arg_2ret)
...
@@ -94,7 +94,7 @@ _GLOBAL(plpar_hcall_8arg_2ret)
std
r12
,-
8
(
r1
)
/*
Save
out
ptr
*/
std
r12
,-
8
(
r1
)
/*
Save
out
ptr
*/
HSC
/*
invoke
the
hypervisor
*/
H
V
SC
/*
invoke
the
hypervisor
*/
ld
r10
,-
8
(
r1
)
/*
Fetch
r4
ret
arg
*/
ld
r10
,-
8
(
r1
)
/*
Fetch
r4
ret
arg
*/
std
r4
,
0
(
r10
)
std
r4
,
0
(
r10
)
...
@@ -126,7 +126,7 @@ _GLOBAL(plpar_hcall_4out)
...
@@ -126,7 +126,7 @@ _GLOBAL(plpar_hcall_4out)
std
r10
,
16
(
r1
)
std
r10
,
16
(
r1
)
std
r14
,
8
(
r1
)
std
r14
,
8
(
r1
)
HSC
/*
invoke
the
hypervisor
*/
H
V
SC
/*
invoke
the
hypervisor
*/
ld
r14
,
32
(
r1
)
/*
Fetch
r4
-
r7
ret
args
.
*/
ld
r14
,
32
(
r1
)
/*
Fetch
r4
-
r7
ret
args
.
*/
std
r4
,
0
(
r14
)
std
r4
,
0
(
r14
)
...
...
include/asm-ppc64/hvcall.h
View file @
d763ba8a
...
@@ -102,6 +102,8 @@ long plpar_hcall(unsigned long opcode,
...
@@ -102,6 +102,8 @@ long plpar_hcall(unsigned long opcode,
unsigned
long
*
out2
,
unsigned
long
*
out2
,
unsigned
long
*
out3
);
unsigned
long
*
out3
);
#define HVSC ".long 0x44000022\n"
/* Same as plpar_hcall but for those opcodes that return no values
/* Same as plpar_hcall but for those opcodes that return no values
* other than status. Slightly more efficient.
* other than status. Slightly more efficient.
*/
*/
...
...
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