Revision history   OpenPOWER Library

 10.2.1. PSL Process and Thread Identification Register(PSL_PID_TID_An) 

 The PSL Process and Thread Identification Register (PSL_PID_TID_An) contains the current process identifier (PID) and the current thread identifier (TID).

 This register is initialized by the operating system or from the process element. The process element information is used when the PSL scheduled processes area is enabled (PSL_SPAP_An[V] = '1').

 When the AFU is operating in a virtualized programming model, the data returned when reading this register is indeterminate. CAIA-compliant devices should return the corresponding process element data when an interrupt is pending for diagnostic purposes.

 There is one register for each PSL slice. Access to these registers should be privileged. These registers must be accessed using a single 64-bit store operation.

Access Type

Read/Write

 Base Address Offset

  (P2_Base | P2(n)) + x'0000'; where n is an AFU number.

TID

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

PID

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

Bits

Field Name

Description

 0:31

 TID

 Thread identifier.

 32:63

 PID

 Process identifier.


loading table of contents...