- the process is defined and maintained by the operating System using its (process) process control block
- the process is scheduled by the OS
- the PCB is stored in the protected space of the kernel
- the PCB contains the following info about the process state
- process ID
- process priority
- parent process id (if any)
- child process id (if any)
- address to the next PCB which will next run
- allocated program memory address block both in physical and virtual memory for the code of the process itself
- allocated process specific data address block
- allocated process heap (runtime) addresses
- allocated process specific stack address for the functions called during the running of the process
- allocated address of the CPU register (Program counter and Stack pointer)
- process state signal mask ( when 0 process inhibited from running, when 1 allowed to run)
- signals and messages dispatch table for IPC
- OS allocated resources ( file, device, device buffer, socket) descriptors
- security restrictions and permissions
References
Embedded Systems, architecture programming and design by Raj Kamal
No comments:
Post a Comment