Re: [linux-kernel] Re: [PATCH] x86: provide a DMI based port 0x80 I/O delay override.



On Tue, 2008-01-08 at 21:19 -0800, H. Peter Anvin wrote:
Zachary Amsden wrote:

BTW, it isn't ever safe to pass port 0x80 through to hardware from a
virtual machine; some OSes use port 0x80 as a hardware available scratch
register (I believe Darwin/x86 did/does this during boot).

That's funny, because there is definitely no guarantee that you get back
what you read (well, perhaps there is on Apple.)

According to Phoenix Technologies book "System BIOS for IBM PCs,
Compatibles and EISA Computers, 2nd Edition", the I/O port list gives

port 0080h R/W Extra page register (temporary storage)

Despite looking, I've never seen it documented anywhere else, but I
believe it works on just about every PC platform. Except, apparently,
my laptop.

Zach

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: OT: DOS programming EPP
    ... >>>one microsecond is not out of line. ... >> to port behaviour. ... >>>that means the hardware is totally useless for my purposes. ... The control register in a properly functioning mobo's LPT port should act like ...
    (sci.electronics.design)
  • RE: [Full-Disclosure] Microsoft urging users to buy Harware Firewalls
    ... connections between multiple computers. ... A Linksys NAT router box is selling for only $40 at Amazon ... Besides protecting against the MSBlaster worm, a hardware ... Then the user finds about port forwarding, and as soon as the user ...
    (Full-Disclosure)
  • RE: Hardware/Software Solution for Standalone DSL User
    ... A cable/DSL router is not a real "hardware security solution". ... Port filtering only works if used, if set up properly, and then only if ... the connection is using ports you don't allow through. ... A hardware solution such as a Cisco PIX 501 does more than NAT. ...
    (Security-Basics)
  • Re: System hangs up every day
    ... I would suggest examining the hardware components, ... The server works as: ... <ACPI PCI bus> on pcib0 ... port may not be enabled ...
    (freebsd-stable)
  • Re: How to debug inside the BIOS and/or interrupt?
    ... I'm not sure I can help with your specific code problem but if the program works when you read only one chunk of data at a time from disk, but locks up after a while if you read multiple chunks, then probably one of two things is happening -- some memory is being corrupted or an interrupt is taking too long somewhere. ... one nice way to debug interrupt problems on such hardware is to modify your interrupt routine so that it toggles a pin that you can look at with a 'scope. ... That's usually not wise to attempt within an interrupt but you can simulate such a thing by doing something like writing to a fixed, preallocated error log in memory, or to a hardware register. ... Again you might find the printer port convenient for this, or if you have at least an EGA compatible display on your hardware, you can do things like change the background color of the screen by writing to the overcan register. ...
    (comp.lang.asm.x86)