mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-13 14:36:37 -04:00
Remove the BOCHS trick
This commit is contained in:
parent
e02524003d
commit
f2089ed18b
@ -93,13 +93,6 @@ void hpet::init(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool hpet::install(){
|
bool hpet::install(){
|
||||||
// For now, we disable HPET on bochs, because it does not work
|
|
||||||
// normally
|
|
||||||
if(is_bochs_e9()){
|
|
||||||
logging::logf(logging::log_level::TRACE, "hpet: Detected bochs, disabling HPET\n");
|
|
||||||
return 9;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Find the HPET table
|
// Find the HPET table
|
||||||
auto status = AcpiGetTable(ACPI_SIG_HPET, 0, reinterpret_cast<ACPI_TABLE_HEADER **>(&hpet_table));
|
auto status = AcpiGetTable(ACPI_SIG_HPET, 0, reinterpret_cast<ACPI_TABLE_HEADER **>(&hpet_table));
|
||||||
if (ACPI_FAILURE(status)){
|
if (ACPI_FAILURE(status)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user