Sebastian Herbszt wrote:
H. Peter Anvin wrote:
Add generic support for debugging consoles (simple I/O ports which
when written to cause debugging output to be written to a target.)
The current implementation matches Bochs' port 0xe9, allowing the same
debugging code to be used for both Bochs and Qemu.

Your implementation seems to miss the read part, unless you don't want to be
compatible with Bochs. user.dbk says:
"Reading from port 0xE9 will will return 0xe9 to let you know if the feature is available."


I had actually missed that part... it seems somewhat pointless to me, but if that's the way Bochs does it it probably would indeed be better to be compatible.

        -hpa


Reply via email to