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
d527cc66
Commit
d527cc66
authored
Jun 10, 2002
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: iSeries updates
parent
9510ba13
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
include/asm-ppc64/iSeries/HvCall.h
include/asm-ppc64/iSeries/HvCall.h
+7
-0
include/asm-ppc64/iSeries/HvCallHpt.h
include/asm-ppc64/iSeries/HvCallHpt.h
+4
-4
include/asm-ppc64/iSeries/HvCallSc.h
include/asm-ppc64/iSeries/HvCallSc.h
+1
-0
No files found.
include/asm-ppc64/iSeries/HvCall.h
View file @
d527cc66
...
...
@@ -130,6 +130,9 @@ enum HvCall_VaryOffChunkRc
#define HvCallBaseRouter28 HvCallBase + 28
#define HvCallBaseRouter29 HvCallBase + 29
#define HvCallBaseRouter30 HvCallBase + 30
#define HvCallCcSetDABR HvCallCc + 7
//=====================================================================================
static
inline
void
HvCall_setVirtualDecr
(
void
)
{
...
...
@@ -197,6 +200,10 @@ static inline void HvCall_terminateMachineSrc(void)
HvCall0
(
HvCallBaseTerminateMachineSrc
);
}
static
inline
void
HvCall_setDABR
(
unsigned
long
val
)
{
HvCall1
(
HvCallCcSetDABR
,
val
);
}
#endif // _HVCALL_H
include/asm-ppc64/iSeries/HvCallHpt.h
View file @
d527cc66
...
...
@@ -106,21 +106,21 @@ static inline u64 HvCallHpt_invalidateSetSwBitsGet(u32 hpteIndex, u8 bitson, u8
return
compressedStatus
;
}
//=============================================================================
static
inline
u64
HvCallHpt_findValid
(
struct
HPTE
*
hpte
,
u64
vpn
)
static
inline
u64
HvCallHpt_findValid
(
HPTE
*
hpte
,
u64
vpn
)
{
u64
retIndex
=
HvCall3Ret16
(
HvCallHptFindValid
,
hpte
,
vpn
,
0
,
0
);
// getPaca()->adjustHmtForNoOfSpinLocksHeld();
return
retIndex
;
}
//=============================================================================
static
inline
u64
HvCallHpt_findNextValid
(
struct
HPTE
*
hpte
,
u32
hpteIndex
,
u8
bitson
,
u8
bitsoff
)
static
inline
u64
HvCallHpt_findNextValid
(
HPTE
*
hpte
,
u32
hpteIndex
,
u8
bitson
,
u8
bitsoff
)
{
u64
retIndex
=
HvCall3Ret16
(
HvCallHptFindNextValid
,
hpte
,
hpteIndex
,
bitson
,
bitsoff
);
// getPaca()->adjustHmtForNoOfSpinLocksHeld();
return
retIndex
;
}
//=============================================================================
static
inline
void
HvCallHpt_get
(
struct
HPTE
*
hpte
,
u32
hpteIndex
)
static
inline
void
HvCallHpt_get
(
HPTE
*
hpte
,
u32
hpteIndex
)
{
HvCall2Ret16
(
HvCallHptGet
,
hpte
,
hpteIndex
,
0
);
// getPaca()->adjustHmtForNoOfSpinLocksHeld();
...
...
@@ -128,7 +128,7 @@ static inline void HvCallHpt_get( struct HPTE *hpte, u32 hpteIndex )
//============================================================================
static
inline
void
HvCallHpt_addValidate
(
u32
hpteIndex
,
u32
hBit
,
struct
HPTE
*
hpte
)
HPTE
*
hpte
)
{
HvCall4
(
HvCallHptAddValidate
,
hpteIndex
,
...
...
include/asm-ppc64/iSeries/HvCallSc.h
View file @
d527cc66
...
...
@@ -25,6 +25,7 @@
#define _HVCALLSC_H
#define HvCallBase 0x8000000000000000
#define HvCallCc 0x8001000000000000
#define HvCallCfg 0x8002000000000000
#define HvCallEvent 0x8003000000000000
#define HvCallHpt 0x8004000000000000
...
...
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