Changes between Version 45 and Version 46 of processus_thread
- Timestamp:
- Nov 9, 2017, 4:14:09 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
processus_thread
v45 v46 90 90 Two slots corresponding to two CPU registers must be specifically initialized: 91 91 * the '''thread pointer''' register contains the current thread descriptor address. This '''thread pointer''' register cannot have the same value for parent and child. 92 * the '''stack pointer''' register define the current kernel stack. ALMOS-M LH uses a specific kernel stack when an user thread enters the kernel, and this kernel stack is implemented in the thread descriptor. As parent and child cannot use the same kernel stack, the parent kernel stack content must be copied to the child kernel stack, and the '''stack pointer''' register cannot have the same value for parent and child.92 * the '''stack pointer''' register define the current kernel stack. ALMOS-MKH uses a specific kernel stack when an user thread enters the kernel, and this kernel stack is implemented in the thread descriptor. As parent and child cannot use the same kernel stack, the parent kernel stack content must be copied to the child kernel stack, and the '''stack pointer''' register cannot have the same value for parent and child. 93 93 94 94 OLD SPECIFICATION (DEPRECATED)