mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:28:11 +00:00
AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*)
Use this instead of uintptr_t throughout the codebase. This makes it possible to pass a FlatPtr to something that has u32 and u64 overloads.
This commit is contained in:
parent
b98d8ad5b0
commit
b1058b33fb
36 changed files with 164 additions and 161 deletions
|
@ -225,14 +225,14 @@ protected:
|
|||
|
||||
Vector<unsigned> get_pci_bus_ids();
|
||||
|
||||
uintptr_t search_floating_pointer();
|
||||
uintptr_t search_floating_pointer_in_ebda(u16 ebda_segment);
|
||||
uintptr_t search_floating_pointer_in_bios_area();
|
||||
FlatPtr search_floating_pointer();
|
||||
FlatPtr search_floating_pointer_in_ebda(u16 ebda_segment);
|
||||
FlatPtr search_floating_pointer_in_bios_area();
|
||||
|
||||
uintptr_t m_floating_pointer;
|
||||
uintptr_t m_configuration_table;
|
||||
Vector<uintptr_t> m_io_interrupt_redirection_entries;
|
||||
Vector<uintptr_t> m_bus_entries;
|
||||
FlatPtr m_floating_pointer;
|
||||
FlatPtr m_configuration_table;
|
||||
Vector<FlatPtr> m_io_interrupt_redirection_entries;
|
||||
Vector<FlatPtr> m_bus_entries;
|
||||
bool m_operable;
|
||||
|
||||
size_t m_configuration_table_length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue