TSKBK | Back to Index page |
Prolog Control Block Contents TSKBK DSECT Storage Layout Cross Reference (Contains links to field and bit definitions) |
|
TSKBK Prolog | Top of page |
NAME : HCPTSKBK DESCRIPTION: Task Control Block DSECT : TSKBK FUNCTION : The TSKBK contains certain types of status information for an active or suspended task. At present, the TSKBK is only used in a few selected cases: to record HCPSPIE traps, HCPSAC error exits, claims for entries on the CP-use access list, and the status of a CP task suspended to resolve a page, segment, or region fault. The dispatcher itself does not operate on TSKBKs. In general, a task with state information in a TSKBK is not permitted to lose control. However, certain losses of control -- those which "formally suspend" the task -- are permitted. The events which formally suspend a task across losses of control are: -- The HCPACCES ATTACH and DETACH services. -- The handling of translation exceptions (region, segment, and page faults) in DAT-on CP code. In these special cases, the task state is preserved and restored across the loss of control. When a task is formally suspended, a new TSKBK is allocated and hung off the prefix page, so that it will be available for use by the next task dispatched. When a task is formally resumed, its TSKBK replaces the one currently hung off the prefix page, and the latter is returned to free storage. LOCATED BY : PFXTSKBK points to the TSKBK for the currently dispatched task, or one which is eligible for use by the current task. A routine which formally suspends its task must preserve the TSKBK pointer for use on resumption. CREATED BY : HCPMPSON when a processor is brought on-line. HCPTKMSU when a task is formally suspended. DELETED BY : HCPTKMRS when a task is formally resumed. SERIALIZED : The TSKBK which is designated by PFXTSKBK is only manipulated while running on the owning processor. Any other TSKBK is owned by the single task which holds its address (e.g., the task itself, about to be suspended or resumed), and is inaccessible to other tasks. RELOCATION CONSIDERATIONS : None |
TSKBK Control Block Content | Top of page |
|
TSKBK Storage Layout | Top of page |
*** TSKBK - Task Control Block * * +-------------------------------------------------------+ * 0 | | * = TSKGRS = * | | * +-------------------------------------------------------+ * 80 | | * = TSKARS = * | | * +---------------------------+---------------------------+ * C0 | TSKPSW0F | TSKPSW4F | * +---------------------------+---------------------------+ * C8 |///////////////////////////////////////////////////////| * +-------------+-------------+---------------------------+ * D0 | TSKCPDSP | TSKCPOTR | TSKRNUSR | * +------+------+-------------+---------------------------+ * D8 |:FLAGS|////////////////////| TSKCR0SV | * +------+--------------------+---------------------------+ * E0 | TSKSPIEA | TSKSPIEM | * +---------------------------+---------------------------+ * E8 | TSKBEAR | * +---------------------------+---------------------------+ * F0 | TSKEXPIR | TSKSTERR | * +---------------------------+---------------------------+ * F8 | TSKINVAD | TSKBLVOL | * +------+--------------------+---------------------------+ * 100 |:EVENT|////////////////////| TSKEVNTA | * +------+--------------------+---------------------------+ * 108 | TSKTGTIA | * +---------------------------+-------------+------+------+ * 110 |///////////////////////////| TSKPRGIL |:PRGEE|:PRGIC| * +---------------------------+-------------+------+------+ * 118 | TSKGTGTA | * +-------------------------------------------------------+ * 120 |///////////////////////////////////////////////////////| * =///////////////////////////////////////////////////////= * |///////////////////////////////////////////////////////| * +-------------------------------------------------------+ * 160 * *** TSKBK - Task Control Block *** Overlay for TSKGTGTA+4 in TSKBK * * +---------------------------+ * 118 ... 11C | TSKTGTAD | * +---------------------------+---------------------------+ * 120 | | * = TSKWORKA = * | | * +-------------------------------------------------------+ * 160 * *** Overlay for TSKGTGTA+4 in TSKBK *** Overlay for TSKGRS in TSKBK * * +---------------------------+---------------------------+ * 0 | TSKGR0 | TSKGR1 | * +---------------------------+---------------------------+ * 8 | TSKGR2 | TSKGR3 | * +---------------------------+---------------------------+ * 10 | TSKGR4 | TSKGR5 | * +---------------------------+---------------------------+ * 18 | TSKGR6 | TSKGR7 | * +---------------------------+---------------------------+ * 20 | TSKGR8 | TSKGR9 | * +---------------------------+---------------------------+ * 28 | TSKGR10 | TSKGR11 | * +---------------------------+---------------------------+ * 30 | TSKGR12 | TSKGR13 | * +---------------------------+---------------------------+ * 38 | TSKGR14 | TSKGR15 | * +---------------------------+---------------------------+ * 40 | TSKHGR0 | TSKHGR1 | * +---------------------------+---------------------------+ * 48 | TSKHGR2 | TSKHGR3 | * +---------------------------+---------------------------+ * 50 | TSKHGR4 | TSKHGR5 | * +---------------------------+---------------------------+ * 58 | TSKHGR6 | TSKHGR7 | * +---------------------------+---------------------------+ * 60 | TSKHGR8 | TSKHGR9 | * +---------------------------+---------------------------+ * 68 | TSKHGR10 | TSKHGR11 | * +---------------------------+---------------------------+ * 70 | TSKHGR12 | TSKHGR13 | * +---------------------------+---------------------------+ * 78 | TSKHGR14 | TSKHGR15 | * +---------------------------+---------------------------+ * 80 * *** Overlay for TSKGRS in TSKBK *** Overlay for TSKGRS in TSKBK * * +-------------------------------------------------------+ * 0 | TSKGGR0 | * +-------------------------------------------------------+ * 8 | TSKGGR1 | * +-------------------------------------------------------+ * 10 | TSKGGR2 | * +-------------------------------------------------------+ * 18 | TSKGGR3 | * +-------------------------------------------------------+ * 20 | TSKGGR4 | * +-------------------------------------------------------+ * 28 | TSKGGR5 | * +-------------------------------------------------------+ * 30 | TSKGGR6 | * +-------------------------------------------------------+ * 38 | TSKGGR7 | * +-------------------------------------------------------+ * 40 | TSKGGR8 | * +-------------------------------------------------------+ * 48 | TSKGGR9 | * +-------------------------------------------------------+ * 50 | TSKGGR10 | * +-------------------------------------------------------+ * 58 | TSKGGR11 | * +-------------------------------------------------------+ * 60 | TSKGGR12 | * +-------------------------------------------------------+ * 68 | TSKGGR13 | * +-------------------------------------------------------+ * 70 | TSKGGR14 | * +-------------------------------------------------------+ * 78 | TSKGGR15 | * +-------------------------------------------------------+ * 80 * *** Overlay for TSKGRS in TSKBK *** Overlay for TSKARS in TSKBK * * +---------------------------+---------------------------+ * 80 | TSKAR0 | TSKAR1 | * +---------------------------+---------------------------+ * 88 | TSKAR2 | TSKAR3 | * +---------------------------+---------------------------+ * 90 | TSKAR4 | TSKAR5 | * +---------------------------+---------------------------+ * 98 | TSKAR6 | TSKAR7 | * +---------------------------+---------------------------+ * A0 | TSKAR8 | TSKAR9 | * +---------------------------+---------------------------+ * A8 | TSKAR10 | TSKAR11 | * +---------------------------+---------------------------+ * B0 | TSKAR12 | TSKAR13 | * +---------------------------+---------------------------+ * B8 | TSKAR14 | TSKAR15 | * +---------------------------+---------------------------+ * C0 * *** Overlay for TSKARS in TSKBK |
TSKBK Cross Reference | Top of page |
Symbol Dspl Value -------------- ---- ----- PRGIADCP 0117 00000136 PRGICHMD 0117 0000F97F PRGIHMOD 0117 00000680 PRGITRXA 0117 00000200 PRGITXHA 0117 00000400 PRGITXMD 0117 00000600 TSKARS 0080 TSKAR0 0080 TSKAR1 0084 TSKAR10 00A8 TSKAR11 00AC TSKAR12 00B0 TSKAR13 00B4 TSKAR14 00B8 TSKAR15 00BC TSKAR2 0088 TSKAR3 008C TSKAR4 0090 TSKAR5 0094 TSKAR6 0098 TSKAR7 009C TSKAR8 00A0 TSKAR9 00A4 TSKBEAR 00E8 TSKBLVOL 00FC TSKCPDSP 00D0 TSKCPOTR 00D2 TSKCR0SV 00DC TSKEBVOL 0100 00000014 TSKEEXPI 0100 00000008 TSKEINVA 0100 0000000C TSKEPROG 0100 00000004 TSKESTER 0100 00000010 TSKEVENT 0100 TSKEVNTA 0104 TSKEXPIR 00F0 TSKFLAGS 00D8 TSKGGRS 0000 TSKGGR0 0000 TSKGGR1 0008 TSKGGR10 0050 TSKGGR11 0058 TSKGGR12 0060 TSKGGR13 0068 TSKGGR14 0070 TSKGGR15 0078 TSKGGR2 0010 TSKGGR3 0018 TSKGGR4 0020 TSKGGR5 0028 TSKGGR6 0030 TSKGGR7 0038 TSKGGR8 0040 TSKGGR9 0048 TSKGRS 0000 TSKGR0 0000 TSKGR1 0004 TSKGR10 0028 TSKGR11 002C TSKGR12 0030 TSKGR13 0034 TSKGR14 0038 TSKGR15 003C TSKGR2 0008 TSKGR3 000C TSKGR4 0010 TSKGR5 0014 TSKGR6 0018 TSKGR7 001C TSKGR8 0020 TSKGR9 0024 TSKGTGTA 0118 TSKHGRS 0040 TSKHGR0 0040 TSKHGR1 0044 TSKHGR10 0068 TSKHGR11 006C TSKHGR12 0070 TSKHGR13 0074 TSKHGR14 0078 TSKHGR15 007C TSKHGR2 0048 TSKHGR3 004C TSKHGR4 0050 TSKHGR5 0054 TSKHGR6 0058 TSKHGR7 005C TSKHGR8 0060 TSKHGR9 0064 TSKINVAD 00F8 TSKLEN 00BC 00000160 TSKLONGR 00D8 80 TSKPRGCF 0114 TSKPRGEE 0116 TSKPRGIC 0117 TSKPRGIL 0114 TSKPRGIN 0116 TSKPSW 00C0 TSKPSW0F 00C0 TSKPSW4F 00C4 TSKRNUSR 00D4 TSKSACLR 00D8 20 TSKSAV 00D8 TSKSIZE 00BC 0000002C TSKSPIEA 00E0 TSKSPIEM 00E4 TSKSPILR 00D8 40 TSKSTERR 00F4 TSKTGTAD 011C TSKTGTIA 0108 TSKWORKA 0120 |
Copyright IBM Corporation, 1990, 2022