INITIAL

Nucleus initialization.

Author

Luca Donno, Antonio Lopez, Samuele Marro, Edoardo Merli

Version

0.2.0

Date

2021-03-14

Copyright

Copyright (c) 2021

Defines

PASSVEC_LOCATION
TLBSP_START
EXCSP_START

Functions

int main(void)

The entry point for pandOS.

Returns

int The exit code.

Variables

unsigned int processCount

Number of active processes.

unsigned int softBlockCount

Number of processes blocked on device semaphores.

pcb_t *readyQueue

Queue of processes that are ready to be executed.

pcb_t *currentProcess

Current active process.

semaphore semDevices[DEVICE_TYPES][DEVICE_INSTANCES]

Semaphores for non-timer devices.

semaphore semIntTimer

Semaphore for the Interval Timer.