Class Boot

Object
  extended byBoot

public class Boot
extends Object

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
 

See Also:
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

Boot

public Boot()
Method Detail

pl

private static void pl(Object msg)
Prints a message.

Parameters:
msg - the message to print.

usage

private static void usage()
Prints a help message and exits.


main

public static void main(String[] args)
The main program.

Parameters:
args - the command-line arguments