History log of /haiku/headers/private/kernel/arch/x86/arch_hpet.h
Revision Date Author Comments
# 91ee0332 19-Jul-2022 David Karoly <karolyd577@gmail.com>

move acpi headers from x86 to non-arch

Change-Id: Ida6186af7a40fb7d91b4da92c36d25db30dadb33
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5484
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# 4ddb4993 11-Jan-2022 David Karoly <karolyd577@gmail.com>

kernel/x86: fix HPET ACPI table alignment

vendor_id shall come after the bitfields

Move hpet_address to separate struct definition so we can apply
the correct packed flags.

see also: https://wiki.osdev.org/HPET

Change-Id: Iced005846fedd4b895910e9b61137d5349db5b41
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4859
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>


# ea40a61a 29-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some big changes, still not working on my laptop, since hpet interrupts
aren't routed correctly over the 8259, it seems.
- Removed passing the hpet_regs around, since there's a static variable.
- Added lots of debug dprintfs.
- Fixed setting the timer interrupt to edge
- Timer is initialized once.
- Use the timer 0 instead of 2.
- Renamed register definitions to be more readable
- Use 64 bits registers and unions where applicable.
- Other things I don't remember


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


# 8593bcad 28-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Use the hpet defines in the source.
Also shortened some defines using "TN" instead of "TIMER". It's also
the same scheme used in the specs


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


# 6e533246 27-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added more HPET defines, not yet used in the source.


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


# 3cafc2ec 27-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Update comments


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


# d54e62b2 24-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added dumping the timer configuration, and the possibility to use any of
the hpet timer, not just the first 3.


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


# cd1352fe 24-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix endianess problem: the period and capabilities bits were reversed in the hpet registers
struct definition.


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


# 17d39c90 22-Aug-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

code for initializing hpet in the bootloader. Moved around some hpet definitions. HPET initialization is commented out, at the moment

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


# 165db546 05-Jul-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

should've been part of the previous commit.


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


# fa827b37 02-Jun-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

took the liberty to add this to the buiild and fix compilation :)


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


# 54d9d37f 02-Jun-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added patch by Dustin Howett: header with HPET definitions and (empty)
file for hpet implementation. Not yet added to the build.


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


# ea40a61a843fb9d80acb1c8fba1979cfe24c1200 29-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Some big changes, still not working on my laptop, since hpet interrupts
aren't routed correctly over the 8259, it seems.
- Removed passing the hpet_regs around, since there's a static variable.
- Added lots of debug dprintfs.
- Fixed setting the timer interrupt to edge
- Timer is initialized once.
- Use the timer 0 instead of 2.
- Renamed register definitions to be more readable
- Use 64 bits registers and unions where applicable.
- Other things I don't remember


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


# 8593bcad87981276728575b026417e2096d6c9eb 28-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Use the hpet defines in the source.
Also shortened some defines using "TN" instead of "TIMER". It's also
the same scheme used in the specs


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


# 6e533246630ad86abf8b8c38c46ccd25d6515956 27-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added more HPET defines, not yet used in the source.


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


# 3cafc2ec3e51563a7b6baf1848c616cdde1861c9 27-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Update comments


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


# d54e62b2c8791a80dad671b636b6b4518f181ad9 24-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added dumping the timer configuration, and the possibility to use any of
the hpet timer, not just the first 3.


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


# cd1352fe63c49f2db9f2e2e8f46cf1d3e5ec2fc1 24-Sep-2009 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix endianess problem: the period and capabilities bits were reversed in the hpet registers
struct definition.


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


# 17d39c90b11ea65e6d8991d12f178f9f880d9d06 22-Aug-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

code for initializing hpet in the bootloader. Moved around some hpet definitions. HPET initialization is commented out, at the moment

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


# 165db546bff6c11c43debb58843aac6817344689 05-Jul-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

should've been part of the previous commit.


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


# fa827b37fc5d6ecda89b879d5ee5933975c0de2e 02-Jun-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

took the liberty to add this to the buiild and fix compilation :)


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


# 54d9d37f9dec9e7a8129706c42389886cd4a02e5 02-Jun-2008 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Added patch by Dustin Howett: header with HPET definitions and (empty)
file for hpet implementation. Not yet added to the build.


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