Files
lk/platform/sifive/platform_p.h
Travis Geiselbrecht 7c2c8d8e56 [dev][interrupt][riscv_plic] merge now 3 implementations of the same plic driver into one
Move a copy of the PLIC driver out of one of the platforms and make the
setup of the interrupt controller a bit more dynamic.
2023-03-09 23:09:32 -08:00

21 lines
426 B
C

/*
* Copyright (c) 2015 Travis Geiselbrecht
*
* Use of this source code is governed by a MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT
*/
#pragma once
#include <stdbool.h>
void sifive_uart_write(int c);
int sifive_uart_read(char *c, bool wait);
void sifive_uart_early_init(void);
void sifive_uart_init(void);
void gpio_early_init(void);
void gpio_init(void);