By entering this site you need to consent to the use of cookies and their functional use according to this privacy policy. Cookies help us to provide the functional services of the website. Kindly read the below message of use and consent to the use.
The following cookies are stored and shared when accessing this website:
- Internal cookies for the MediaWiki site. This is used for user authentication and article modifications.
- Third-party cookies from Google providing services for Google AdSense and Google Analytics
We will never use data collected outside of the above scope.
Each [[KThread|thread]] is allocated a 0x1000-byte page in this region for the [[KThreadContext|thread context]]. Each thread has its context address stored as 2 members:
+
+
+
{| class="wikitable" border="1"
+
|-
+
! Offset
+
! Type
+
! Description
+
|-
+
| 0x88
+
| u32*
+
| Ptr to svc mode register storage for KThread inside the thread context.
+
|-
+
| 0x8C
+
| u32*
+
| End-address of the page for this thread context allocated in the [[Memory_layout|0xFF4XX000]] region.
+
|}
+
+
KThread offset 0x88 points to offset 0xF50 in the thread context and 0x8C points to the end of the thread context page. The kernel refers to the thread context page by subtracting from the end instead of adding from the beginning.