History log of /haiku/src/add-ons/kernel/drivers/timer/hpet.cpp
Revision Date Author Comments
# 3828ba8a 17-Jan-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix build of the hpet driver.
It's not in the image so it doesn't get built by default.


# b1128999 18-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix build (forgot the ";")


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42883 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 276a254c 18-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Reorganized defines in the header.
Deallocate resources correcly in error case. Support for level and edge
interrupts.
Removed volatile keyword where it's not needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42882 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bcf13367 19-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Use B_DO_NOT_RESCHEDULE in the interrupt handler because we are running
with the interrupts disabled (was causing KDL under qemu).
Add a define to switch the HPET timers to 32 or 64 bit (32 bit now by default)
Reordered some things
Add some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42881 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f53638d7 13-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some refactoring, some other changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42842 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 79e3f901 13-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

HPET driver for testing HPET code more easily.
Seems to work correctly on real hardware, not on qemu where it
can only use the irq 2, and this causes wreakage (could be a programming error).
Changed from the kernel code:
- Adapted to use as a driver
- Configure for level interrupts instead of edge, which seems not to work correctly
- Add traceing dprintfs
- Various other changes
Does not use yet the new interrupt api introduced by Michael Lotz.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42837 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 3828ba8a3fa427681ab57eb534fcbc3d04e2d3dc 17-Jan-2014 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix build of the hpet driver.
It's not in the image so it doesn't get built by default.


# b1128999ca51f7b937dfa86cd5e2488e72c801a5 18-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix build (forgot the ";")


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42883 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 276a254c1c5eadd310a1aafb5707b0a7e08a29f3 18-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Reorganized defines in the header.
Deallocate resources correcly in error case. Support for level and edge
interrupts.
Removed volatile keyword where it's not needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42882 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bcf13367d4adb759fb78af63602501dce87e5d52 19-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Use B_DO_NOT_RESCHEDULE in the interrupt handler because we are running
with the interrupts disabled (was causing KDL under qemu).
Add a define to switch the HPET timers to 32 or 64 bit (32 bit now by default)
Reordered some things
Add some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42881 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f53638d71eec63015b5b6e2a0c6e884c5354c775 13-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some refactoring, some other changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42842 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 79e3f9012d7246bc8cec7f31291d84f33c5251e2 13-Oct-2011 Stefano Ceccherini <stefano.ceccherini@gmail.com>

HPET driver for testing HPET code more easily.
Seems to work correctly on real hardware, not on qemu where it
can only use the irq 2, and this causes wreakage (could be a programming error).
Changed from the kernel code:
- Adapted to use as a driver
- Configure for level interrupts instead of edge, which seems not to work correctly
- Add traceing dprintfs
- Various other changes
Does not use yet the new interrupt api introduced by Michael Lotz.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42837 a95241bf-73f2-0310-859d-f6bbb57e9c96