Serial Port - UART com1 base address
Posted: Sun Nov 24, 2024 9:42 am
Greetings,
I am in the process of implementing a basic serial driver for my OS. The example code given here, https://wiki.osdev.org/Serial_Ports#Example_Code, has COM1 hard coded to 0x3F8.
My question is where in the UEFI/ACPI tree of tables and pointers to tables (RSDT, etc) can I go to find the actual base address of all the serial / UART controllers with the goal of ( for example ), not having to guess that 0x3F8 is the actual base address and ideally some field in some table can confirm that for me?
Thanks,
I am in the process of implementing a basic serial driver for my OS. The example code given here, https://wiki.osdev.org/Serial_Ports#Example_Code, has COM1 hard coded to 0x3F8.
My question is where in the UEFI/ACPI tree of tables and pointers to tables (RSDT, etc) can I go to find the actual base address of all the serial / UART controllers with the goal of ( for example ), not having to guess that 0x3F8 is the actual base address and ideally some field in some table can confirm that for me?
Thanks,