It always present.
Samsung laptop with ATI chipset.
CODE
| +-o TIME <class IOACPIPlatformDevice, registered, matched, active, busy 0, retain count 6>
| | {
| | "IODeviceMemory" = (({"address"=0x40,"length"=0x4}))
| | "name" = <"PNP0100">
| | "IOInterruptControllers" = ("8259-pic")
| | "IOInterruptSpecifiers" = (<0000000000000000>)
| | "_STA" = 0xf
| | }
| | {
| | "IODeviceMemory" = (({"address"=0x40,"length"=0x4}))
| | "name" = <"PNP0100">
| | "IOInterruptControllers" = ("8259-pic")
| | "IOInterruptSpecifiers" = (<0000000000000000>)
| | "_STA" = 0xf
| | }
Dell Inspiron with Intel chipset
CODE
| +-o TIMR <class IOACPIPlatformDevice, id 0x100000127, registered, matched, active, busy 0 (10 ms), retain 6>
| | {
| | "name" = <504e503031303000>
| | "_STA" = 0xf
| | "IODeviceMemory" = (({"address"=0x40,"length"=0x4}),({"address"=0x50,"length"=0x4}))
| | }
| | {
| | "name" = <504e503031303000>
| | "_STA" = 0xf
| | "IODeviceMemory" = (({"address"=0x40,"length"=0x4}),({"address"=0x50,"length"=0x4}))
| | }
Datasheet
Intel8254_programming.pdf ( 49K )
Number of downloads: 12CODE
;The PIT is commonly located in most Intel microcomputer systems at the
;standard IO port addresses 40-43H. These standard ports could be
;different for non-standard utilization of the PIT, i.e. user defined.
;
TIMER0 equ 40h;8254 channel/counter zero(0) port address
TIMER1 equ 41h;8254 channel/counter one(1) port address
;standard IO port addresses 40-43H. These standard ports could be
;different for non-standard utilization of the PIT, i.e. user defined.
;
TIMER0 equ 40h;8254 channel/counter zero(0) port address
TIMER1 equ 41h;8254 channel/counter one(1) port address
I tried to read from port 0x40 and successful. The timer is on!
It may be useful as a replacement for AppleHPET if HPET device is absent. We just need to create TMRasHPET.kext
I know precision is differ but... enough.





Mar 22 2010, 10:24 AM




