aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmos.h
Commit message (Collapse)AuthorAgeFilesLines
* Register int02 handler (nmi); disable NMI by default.Kevin O'Connor2009-03-071-0/+2
| | | | | | | Rename handle_nmi to handle_02 to be more consistent with other handlers. Actually register handle_02. Don't panic in nmi handler - just log by default. Set the disable nmi bit when accessing the cmos index register.
* Change license from GPLv3 to LGPLv3.Kevin O'Connor2009-01-151-1/+1
| | | | | | | | Change license of contributions from Kevin O'Connor from GPLv3 to LGPLv3 (or later). Since the work as a whole is based on Kevin's contributions and the "bochs bios" which has a license of LGPL (v2 or later), this effectively makes the work as a whole available under LGPLv3 (or later).
* Don't turn off apic after smp detect; use cmos for smp count on emulators.Kevin O'Connor2008-12-161-0/+1
| | | | | | | Don't restor the APIC_SVR value - doing so confuses kvm. When running on an emulator, get the smp count from cmos (timing on an emulator - especially when simulating large cpu counts - is too unreliable to do a count based on timers.)
* Improve support for old 16bit resume handlers.Kevin O'Connor2008-12-101-2/+6
| | | | | | | Detect a non-standard CMOS shutdown code during post and run a separate resume handler. Set aside space in the EBDA for the resume handler stack. Add support for several of the code supported in bochs bios.
* Add support for more than 4Gig of ram.Kevin O'Connor2008-10-251-0/+3
| | | | This is based on code in kvm.
* Implement usleep using real time clock.Kevin O'Connor2008-05-181-3/+0
| | | | | | The old usleep implementation relied on ps2 port refresh bit which is not very portable. This patch also refactors some of the code in clock.c.
* Minor cleanups.Kevin O'Connor2008-05-061-2/+0
| | | | | Several minor comment improvements. Rearrange some definitions to make them more clear.
* Cleanup boot order determination.Kevin O'Connor2008-03-291-1/+0
| | | | | Determining which device to boot from should not depend on CONFIG_CDROM_BOOT Instead, always use the cmos 0x38/0x3d for determining boot order.
* Use symbols for cmos offsets in ram_probe()Kevin O'Connor2008-03-061-4/+6
| | | | | | | | | This patches uses symbols for cmos offsets when calculating ram size in ram_probe() Besides, it adds some cmos offset symbols into cmos.h, and changes some memory cmos offset to be more meaningful. Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
* Make disk access work.Kevin O'Connor2008-03-011-0/+1
| | | | | Several bug fixes. Move ata_detect from disk.c to ata.c.
* Misc updates.Kevin O'Connor2008-02-261-0/+5
| | | | | | | | Try to fix up make dependency tracking by including a "null.c" file. Initialize hard disk tables during post. Move RTC handlers from system.c to clock.c Use a macro to init stacks in romlayout.S Add C-Code stats to buildrom step.
* Version 0.1.2rel-0.1.2Kevin O'Connor2008-02-251-0/+3
|
* Version 0.1.1rel-0.1.1Kevin O'Connor2008-02-251-0/+8
|
* Initial checkin.rel-0.1.0Kevin O'Connor2008-02-251-0/+51