TunaCici / WesterOS

Hobbyist ARM64 operating system /w microkernel design. Includes a kernel written in C and user land apps in C++.
MIT License
4 stars 1 forks source link

DRIVER: PrimeCell UART (PL011) #5

Open TunaCici opened 7 months ago

TunaCici commented 7 months ago

For so long, I have been raw writing to 0x09000000. For so long, I have been accessing to memory in an unsafe way. For so long, I have keeping myself away from device drivers.

It ends "today" with the start of this issue!

The "driver/peripherals and I/O" journey begins with ARM's PrimeCell UART (PL011). I'll try to "fully" implement it. If it turns out to be too much time consuming, then I will just stick to basics. Not sure what awaits me but, what's the worst that could happen?

Godspeed 🐉

TunaCici commented 6 months ago

This seems like a good resources: ARM-software/arm-trusted-firmware/blob/master/include/drivers/arm/pl011.h