HPET and 8259

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
johnsa
Member
Member
Posts: 296
Joined: Mon Oct 15, 2007 3:04 pm

HPET and 8259

Post by johnsa »

Few quick questions,

Has anyone seen a machine that has both an hpet and a real 8259? or is it a case of it always being an hpet with 8259 emulation?
Also, I presume that an AMD based board/cpu would still provide the std. hpet even though its an intel std component? (or they have their own identical equivalent?)
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: HPET and 8259

Post by Love4Boobies »

Well AMD pretty much strives to be an Intel clone (even though there might be a few differences in their components sometimes). HPET always starts in compatibility mode. As far as chipsets go - yes, they are compatible. Ever heard about standards such as PC 2001? That used to dictate what a PC must contain.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
johnsa
Member
Member
Posts: 296
Joined: Mon Oct 15, 2007 3:04 pm

Re: HPET and 8259

Post by johnsa »

Thanks for the info, as I thought :) I still haven't determined if there are any machines that have both, so once you disable compatability mode on the hpet you could still use the 8259 as per normal?

Not that there would be a lot of use for it, more a point of curiosity.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: HPET and 8259

Post by Love4Boobies »

I don't think so. In the past this could've been somewhat more feasible (although I don't think it's been done) as you had separate chips that handled PIT (8254), DMA (8237), etc. Then they started throwing things together; for instance the AIP (82091) handled the functions of the FDC (previously 82078), 2 UARTs (16550), 1 parallel port and the IDE interface; the ISP (82357) handled functions of 2 DMA controllers (82C37), one PIT (8254) and 2 IOAPICs (82093). Nowadays they're all part of the ICH (or southbridge). It's unlikely to have these functions in the ICH and also have another PIT connected via LPC bus. Another issue with having several PIT/HPETs is that they have fixed I/O ports.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
Post Reply