feat: add fadt based lapic timer calibration

This commit is contained in:
Katharina 2026-07-03 22:35:16 +02:00
parent 54d48e7d91
commit 61dfda6a70
7 changed files with 257 additions and 28 deletions

View file

@ -0,0 +1,17 @@
#pragma once
#include "acpi/acpi.h"
#include "acpi/fadt.h"
#include "acpi/madt.h"
#include "util/optional.h"
namespace acpi {
struct discovery_result_t {
optional<Rsdp> rsdp;
optional<Madt> madt;
// TODO(wiring): capture the FADT in setupAcpi and store it here
optional<Fadt> fadt;
};
} // namespace acpi