* introduce a DebugUART baseclass,
* rework 8250 and PL011 implementations from kallisti5 to inherit DebutUART,
* each arch should override the IO methods to access registers.
* on ARM registers are 32bit-aligned.
* U-Boot still works for the verdex target.
* rPi still compiles, needs testing.
* Still some more consolidation needed to allow runtime choice of the UART type (as read from FDT blobs for ex.).
* serial.cpp should probably mostly be made generic as well.
* didn't touch x86 or ppc yet.
* Lets wait for space *before* writing to the fifo
instead of after.
* Flush functions now really flush the fifo waiting
for them to enter an empty state.
* Simple memory barriers added (may need revised)
We don't have access to the kernel barriers here.
* Add some missing stuff, be more exact with
stack and fill with 0xBEBEBEBE
* Ensure .init_array is called with .ctors to ensure
static constructors are called.
* Serial UART output on Raspberry Pi now functioning
This is kind of a hack, however having serial output
will enable easier debugging of loader. Not a perimant fix.
* With UART output, we can now turn to why the constructors
are so messed up.
* Thanks to pfoetchen for his help and (lots!) of testing.
* Left over var name from my test code
* This should be pretty close to functional
(if not already working)
* Any more uart experimentation will not
reach upstream until working.
* Confirmed this places pins in miniUART mode
(we don't want this mode however)
* We do need to fully understand *which* mode
the pins need to be in for PL011 mode.. however
the boot state of the Pi is PL011
* More general tab title "Decorators"
* Sentence casing "Window decorator:". Here the "Window" is OK,
there could be "OSD decorators" etc. in the future.
Let's say the timer is waken up when its hook is called. This patch
reduces ~41% wakeups during idle
Signed-off-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
* When the color of the "current color" swatch view
(the bigger one) changes because of a color drop, adopt the
new color just like when changing the color via other means.
Some issues in the Czech.keymap were discovered while creating
the Czech (Mac).keymap. These include the RCommand key not being
set, extra spaces in the option map, and characters defined in
0x7e and 0x7f which correspond to the sysreq and break keys.
* Enable/Disable makes more sense and matches
platform loader serial functions.
* Rework PL011 code after finding a PDF covering
the details of it.
* Rename UART global defines in loader to be more
exact about location