Package | Description |
---|---|
caoss.simulator.configuration | |
caoss.simulator.hardware | |
caoss.simulator.instructions | |
caoss.simulator.os | |
caoss.simulator.os.interrupts | |
caoss.simulator.os.syscalls |
Modifier and Type | Field and Description |
---|---|
static CPUCore[] |
Hardware.cpuCores
The array of @see numberOfCPUCores CPU cores
|
Modifier and Type | Field and Description |
---|---|
static java.lang.Class<? extends CPUCore> |
Hardware.cpuCoreClass
The class implementing the behavior of a CPU core
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleCPUCore |
Modifier and Type | Method and Description |
---|---|
void |
Loop.run(CPUCore cpuCore) |
void |
Instruction.run(CPUCore cpuCore)
The implementation of the instruction
|
void |
Computation.run(CPUCore cpuCore) |
void |
SysCall.run(CPUCore cpuCore) |
void |
MemoryLoad.run(CPUCore cpuCore) |
void |
MemoryStore.run(CPUCore cpuCore) |
Modifier and Type | Method and Description |
---|---|
CPUCore |
Context.getCpuCore()
Get the core where the context is running
|
Modifier and Type | Method and Description |
---|---|
static <S> void |
Dispatcher.dispatch(ProcessControlBlock<S> pcb,
CPUCore core) |
ProcessControlBlock |
OperatingSystem.getRunningProcess(CPUCore cpuCore)
Returns the Control Block of the process running in the given cpu core
|
void |
InterruptHandler.handle(CPUCore core)
Handler implementation
|
void |
Context.setCPUCore(CPUCore cpuCore)
Set the core where the context is running
|
<S> void |
OperatingSystem.setRunningProcess(CPUCore cpuCore,
ProcessControlBlock<S> pcb)
Set the info that process with the given control block is running
on CPU core \"cpuCore\"
|
Modifier and Type | Method and Description |
---|---|
void |
TimerInterruptHandler.handle(CPUCore core) |
void |
DummyDeviceInterruptHandler.handle(CPUCore cpuCore) |
void |
SysCallInterruptHandler.handle(CPUCore cpuCore)
The handler implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
IOSyscallHandler.handle(CPUCore core) |
void |
ExitSyscallHandler.handle(CPUCore core) |
static void |
IOSyscallHandler.processNext(CPUCore core) |