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.
15 lines
260 B
C
15 lines
260 B
C
/*
|
|
* Copyright (c) 2018 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 uart_init(void);
|
|
|
|
|