Age | Commit message (Collapse) | Author | Files | Lines |
|
The (val) parameter needs to be evaluated before setting the segment.
|
|
Use "string ops" to simplify port accesses.
Always run "cld" on entry to C code.
|
|
Improve some debugging messages.
Minor code clean ups.
Improve apmbios entry points (still untested).
|
|
Code wasn't incrementing offset properly.
Also clean up code a little and add some debugging info.
|
|
This adds acpi, smbios, pci init, etc.
Changes from original rombios32.c code:
* Header file translation.
* Use common functions already in code (eg, outb, memset, bios_printf,
usleep)
* Implement trampoline for disabling bios shadowing (rombios32 code
actually runs in the 0xf0000 area).
* Copy asm code from rombios32start.S to an asm() statement in C
code.
|
|
|
|
This reverts commit a75284dbd70acc7ec4a832045c8a2fbec2d773d8.
|
|
This reverts commit 3d029417164e9a6dffee491fb061de3de6d85595.
Conflicts:
src/post.c
|
|
|
|
The init of equipment_list_flags was in kbd_setup() - but it is unrelated.
|
|
kbd_flush() wasn't implemented properly.
Don't panic on first kbd_flush call.
|
|
Create and register protected mode interfaces.
Still needs more testing.
|
|
|
|
This patch uses symbols for E820 memory types (system.c)
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
|
|
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>
|
|
VISIBLE16 is used to mark functions externally available in 16bit code.
VISIBLE32 is for 32bit functions.
|
|
|
|
Signed-off-by: Nguyen Anh Quynh
Several compile fixes provided by Kevin O'Connor
|
|
|
|
Fix bug causing ata_cmd_packet to insl to wrong address.
Add new cdrom_read helper.
Join ata.hdidmap/cdidmap into one array variable.
Rename CONFIG_ELTORITO_BOOT to CONFIG_CDROM_BOOT.
Add cd emulation code.
|
|
This at least allows the variable to be printed.
|
|
|
|
Provides the int13 hooks - still a work in progress.
|
|
|
|
|
|
The segment is always the stack - so no reason to pass it.
|
|
This patch addes header guard to ata.h and move PACKED definition to
types.h (to be used for other files - sent later)
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
|
|
|
|
Merge eoi_jmp_post() with check_restart_status() - it makes the logic
a little simpler to understand.
|
|
this patch uses symbols for segment numbers in romlayout.S
Signed-off-by: Nguyen Anh Quynh
|
|
Add make option "AVOIDCOMBINE" that prevent -combine from being used.
Ubuntu makes symbols non-global -- have defsyms.py pick them up anyway.
|
|
Fix bug in post causing PIC2 to not be initialized properly.
Only run ata_detect if CONFIG_ATA enabled.
Improve debugging aids - introduce debug_isr(); move DEBUGF to each file.
Enable mouse by default.
Fix bug in floppy causing extra test of PORT_FD_STATUS on recalibrate.
Always disable/enable kbd in handle_09 event.
|
|
Moved floppy parameter table to its 0xefc7 location.
Define floppy base table as a struct.
Cleaned up definitions in romlayout.S
Fixed bug in handle_15c0 - wasn't clearing cf.
Clean up some post.c usages of bios tables.
|
|
Enable output from DEBUGF macro.
Cleanup extended asm args.
|
|
The code doesn't work, but most things are present.
|
|
This change is in preparation for mouse support.
|
|
|
|
|
|
Tell gcc that registers are clobbered instead of using push/popal.
|
|
|
|
|
|
|
|
|
|
|
|
The int 1587 was long jumping to wrong segment.
Minor cleanup - breakout handlers better.
|
|
|
|
Support '%c'.
Fix bug causing junk to be printed on unrecognized % code.
|
|
Several bug fixes.
Move ata_detect from disk.c to ata.c.
|
|
Issue spotted by Nguyen Anh Quynh
|
|
Mostly from suggestions by Nguyen Anh Quynh
|