Commits on Apr 11, 2011
  1. HalTimerSet can configure timer interval (in mcs) and mode (oneshot/r…

    …epeating)
    
    Configurable DEFAULT_TIMER_INTERVAL = every 1000mcs (that is 1000 ticks per second).
    committed Apr 11, 2011
  2. cosmetic: consistent function definition formatting

    type name(args)
    {
    	body
    }
    committed Apr 11, 2011
  3. ProcessSleep(proc, ticks) implemented.

    TODO: specify sleep time in nanoseconds.
    committed Apr 11, 2011
  4. Updated NOTES and README.

    committed Apr 11, 2011
  5. Configurable console color

    committed Apr 11, 2011
  6. HalIrqHandler: send EOI before calling particular handler.

    Fixes "no interrupts" after first task_switch problem.
    
    Disable interrupts before sending EOI to avoid unpredictable code paths.
    committed Apr 11, 2011
  7. initial_process_fun: enable interrupts before calling entry point

    TODO: critical sections
    committed Apr 11, 2011
Commits on Apr 10, 2011
  1. Scheduler: handle new_proc_id == -1, printf only when new_proc_id is …

    …different from current
    committed Apr 11, 2011
  2. Removed unused proc_regs

    committed Apr 11, 2011
  3. Use process state in scheduler

    committed Apr 11, 2011
  4. unsigned number_of_processes

    committed Apr 11, 2011
  5. Declared idle_process

    committed Apr 11, 2011
  6. Thanks to Travis Geiselbrecht for little kernel: thread_create and co…

    …ntext_switch functions.
    
    Copied from http://git.tkgeisel.com/?p=lk.git;a=blob;f=arch/x86/thread.c;h=f2c2f84eda1a118543e734b4892413be0a40a10d;hb=HEAD
    
    Extended SchedulerProcess struct with state (suspended/running/etc), stack_size, entry function and name.
    
    Defined initial Process API: Init/Exit/Resume/Suspend/SetName.
    committed Apr 11, 2011
  7. stdint.h: intptr types

    committed Apr 10, 2011