58 | | It is located in the lower part of the virtual space, and starts a address 0. It contains the three vsegs ''kentry'', ''args'', ''envs'', whose sizes are defined by specific configuration parameters. The ''kentry'' vseg (CODE type) contains the code that must be executed to enter the kernel from user space. The ''args'' vseg (DATA type) contains the process main() arguments. The ''envs'' vseg (DATA type) contains the process environment variables. |
| 58 | It is located in the lower part of the virtual space, and starts a address 0. It contains the three vsegs ''kentry'', ''args'', ''envs'', whose sizes are defined by specific configuration parameters. |
| 59 | * The ''kentry'' vseg (CODE type) contains the HAL specific code that must be executed to enter/exit the kernel from user space (in case of interrupts, exceptions, or syscalls). It contains also the HAL specific code for context switch. For some architectures (namely the TSAR 32 bits architectures), this vseg must be identity mapped. |
| 60 | * The ''args'' vseg (DATA type) contains the process main() arguments. |
| 61 | * The ''envs'' vseg (DATA type) contains the process environment variables. |