|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBoot
A bootstrap program for the MiniKernel.
This program creates a Disk, and launches the kernel by calling the POWER_ON interrupt. When the Kernel returns from the interrupt, we assume it wants to shut down.
The program expects four or more command-line arguments:
An example invocation is
java Boot 10 Disk 100 Shell
Kernel
,
Disk
Constructor Summary | |
Boot()
|
Method Summary | |
static void |
main(String[] args)
The main program. |
private static void |
pl(Object msg)
Prints a message. |
private static void |
usage()
Prints a help message and exits. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Boot()
Method Detail |
private static void pl(Object msg)
msg
- the message to print.private static void usage()
public static void main(String[] args)
args
- the command-line arguments
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |