The data section is now usable, so it's unnecessary.
Signed-off-by: David Cock <david.cock@inf.ethz.ch>
errval_t serial_init(unsigned port, bool initialize_hw)
{
- // XXX: remove once we have data section
- port = 0;
if (port >= NUM_PORTS) {
return SYS_ERR_SERIAL_PORT_INVALID;
}
*/
void serial_putchar(unsigned port, char c)
{
- // XXX: remove once we have data section
- port = 0;
assert(port < NUM_PORTS);
assert(ports[port].base != 0);
// Wait until FIFO can hold more characters