summaryrefslogtreecommitdiff
path: root/core/cleanup.inc
Commit message (Collapse)AuthorAgeFilesLines
* core: hook INT 1Ch for a simple monotonic timerH. Peter Anvin2009-09-021-0/+2
| | | | | | | | | | The BIOS_timer variable at 4C6h is somewhat unreliable... it is documented to wrap at "midnight", norminally after 1627419 ticks (0x18d51b), which is a rather awkward number to deal with modulo. Instead, hook the INT 1Ch secondary timer interrupt and just count a simple incrementing variable. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'master' into core32H. Peter Anvin2009-05-231-1/+3
|\ | | | | | | | | | | | | | | | | Conflicts: core/bcopy32.inc core/cleanup.inc core/conio.inc Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * core: add a proper interrupt handler for the serial consoleH. Peter Anvin2009-05-231-2/+3
| | | | | | | | | | | | | | | | | | If we enable interrupts for the serial console, add a proper interrupt handler. Since we don't know what vector we'll end up using, or if we are shared with other devices, simply hook *all* the interrupts and poll the serial port then. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | core: make the COMBOOT API available to in-kernel PM codeH. Peter Anvin2009-05-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | Make it possible to call the COMBOOT API from in-kernel PM code, simply by setting up the COMBOOT API earlier and only tearing it down during final shutdown. WARNING: the COMBOOT API is quite possibly probably not reentrant; I haven't checked it... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | core: rename .text, .data and .bss to .text16, .data16, .bss16unify-pmH. Peter Anvin2009-05-131-1/+1
|/ | | | | | | | Rename the .text, .data and .bss sections to .text16, .data16 and .bss16, in anticipation of being linked with compiler-generated 32-bit code, which presumably would like to use the standard section names. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* shuffler: comboot interface to the new shufflerH. Peter Anvin2009-03-311-1/+1
| | | | | | | | | Impact: new feature COMBOOT interface to the new shuffler; resurrect comapi_chainboot as that functionality is still potentially relevant. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-291-0/+54
Move source files out of the root directory; the root is a mess and has become virtually unmaintainable. The Syslinux core now lives in core/; the Linux and generic utilities has moved into utils/, and copybs.com has moved into dos/; it had to go somewhere, and it seemed as good a place as any.