Module os::loader

source · []

Structs

Statics

Functions

Get base address of app i.

Get the total number of applications.

get app info with entry and sp and save TrapContext in kernel stack

Load nth user app at [APP_BASE_ADDRESS + n * APP_SIZE_LIMIT, APP_BASE_ADDRESS + (n+1) * APP_SIZE_LIMIT).