Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
B
C
D
E
F
G
I
J
K
L
M
O
R
S
T
W
B
beginRead(int, byte[])
- Method in class
Disk
Starts a new read operation.
beginWrite(int, byte[])
- Method in class
Disk
Starts a new write operation.
BLOCK_SIZE
- Static variable in class
Disk
The size of a disk block in bytes.
Boot
- class
Boot
.
A bootstrap program for the MiniKernel.
Boot()
- Constructor for class
Boot
busy
- Variable in class
Disk
An indication of whether an I/O operation is currently in progress.
C
Count
- class
Count
.
A very tiny example MiniKernel program.
Count()
- Constructor for class
Count
currentBlock
- Variable in class
Disk
Current location of the read/write head
D
DELAY_PER_TRACK
- Static variable in class
Disk
Seek time per track, in ms
delay(int)
- Method in class
Disk
Sleeps for a while to simulate the delay in seeking and transferring data.
Disk
- class
Disk
.
A software simulation of a Disk.
DISK_SIZE
- Variable in class
Disk
Total size of this disk, in blocks.
Disk(int)
- Constructor for class
Disk
Creates a new Disk.
E
ERROR_BAD_ARGUMENT_TYPE
- Static variable in class
Kernel
An error code indicating that one of the system call parameters made no sense.
ERROR_BAD_COMMAND
- Static variable in class
Kernel
An error code indicating that a command passed to SYSCALL_EXEC could not be executed.
ERROR_END_OF_FILE
- Static variable in class
Kernel
An error code indicating that end of file was reached.
ERROR_IN_CHILD
- Static variable in class
Kernel
An error code indicating that a child program caused an exception and crashed.
ERROR_IO
- Static variable in class
Kernel
An error code indicating that somthing went wrong during an I/O operation.
ERROR_NO_SUCH_PROCESS
- Static variable in class
Kernel
An error code indicating an attempt to join with a non-existant process
ERROR_OUT_OF_RANGE
- Static variable in class
Kernel
An error code indicating that one parameter was too big or too small
errorMessage
- Static variable in class
Library
A table of error messages corresponding to Kernel error return codes.
exec(String, String[])
- Static method in class
Library
Performs SYSCALL_EXEC.
F
finishOperation()
- Method in class
Disk
Indicates to the CPU that the current operation has completed.
flush()
- Method in class
Disk
Saves the contents of this Disk.
G
getTime()
- Static method in class
Library
I
input(StringBuffer)
- Static method in class
Library
Performs SYSCALL_INPUT.
INTERRUPT_DISK
- Static variable in class
Kernel
An interrupt kind indicating that a disk caused the interrupt.
INTERRUPT_POWER_ON
- Static variable in class
Kernel
An interrupt kind indicating that the system just started.
INTERRUPT_USER
- Static variable in class
Kernel
An interrupt kind indicating that a user program caused the interrupt.
interrupt(int, int, int, Object, Object, byte[])
- Static method in class
Kernel
This is the only entry into the kernel.
J
join(int)
- Static method in class
Library
Performs SYSCALL_JOIN Waits for a process to terminate
K
Kernel
- class
Kernel
.
A simple kernel simulation.
Kernel()
- Constructor for class
Kernel
L
Library
- class
Library
.
Convenience calls for using the Kernel.
M
main(String[])
- Static method in class
Boot
The main program.
main(String[])
- Static method in class
Count
The main program.
main(String[])
- Static method in class
Shell
The main program.
O
output(String)
- Static method in class
Library
Performs SYSCALL_OUTPUT.
R
Request
- class
Request
.
Request()
- Constructor for class
Request
run()
- Method in class
Disk
This method simulates the internal microprocessor of the disk controler.
S
Shell
- class
Shell
.
A simple command-line shell for the MiniKernel.
Shell()
- Constructor for class
Shell
signalCompletion()
- Method in class
Request
SYSCALL_EXEC
- Static variable in class
Kernel
System call to execute a new program.
SYSCALL_GET_TIME
- Static variable in class
Kernel
SYSCALL_INPUT
- Static variable in class
Kernel
System call to read text from the console.
SYSCALL_JOIN
- Static variable in class
Kernel
System call to wait for a process to terminate.
SYSCALL_OUTPUT
- Static variable in class
Kernel
System call to output text on the console.
T
targetBlock
- Variable in class
Disk
The block number to be read/written by the current operation.
TRACK_SIZE
- Static variable in class
Disk
The size of a track, in blocks.
trackOf(int)
- Method in class
Disk
Computes the track number of a disk block.
TRANSFER_TIME
- Static variable in class
Disk
Minimum time to transfer one block of data, in ms
W
waitForCompletion()
- Method in class
Request
waitForRequest()
- Method in class
Disk
Waits for a call to beginRead or beginWrite.
B
C
D
E
F
G
I
J
K
L
M
O
R
S
T
W
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES