Blame


1 98601545 2023-02-18 continue // uart_qemu_virt.cc
2 98601545 2023-02-18 continue
3 98601545 2023-02-18 continue
4 98601545 2023-02-18 continue #include <hw.h>
5 8b3b29b7 2023-02-18 continue #include <uart.h>
6 98601545 2023-02-18 continue
7 98601545 2023-02-18 continue
8 8607cffe 2023-02-18 continue namespace Board {
9 8607cffe 2023-02-18 continue namespace Uart {
10 98601545 2023-02-18 continue
11 98601545 2023-02-18 continue
12 8607cffe 2023-02-18 continue namespace {
13 98601545 2023-02-18 continue
14 98601545 2023-02-18 continue // constexpr uintptr_t UART_BASE = 0xffffffffc9000000ULL;
15 98601545 2023-02-18 continue
16 8607cffe 2023-02-18 continue } // anonymous namespace
17 98601545 2023-02-18 continue
18 98601545 2023-02-18 continue
19 8b3b29b7 2023-02-18 continue void initialize()
20 98601545 2023-02-18 continue {
21 98601545 2023-02-18 continue }
22 98601545 2023-02-18 continue
23 98601545 2023-02-18 continue
24 8b3b29b7 2023-02-18 continue void send(uint8_t /*value*/)
25 8b3b29b7 2023-02-18 continue {
26 8b3b29b7 2023-02-18 continue }
27 98601545 2023-02-18 continue
28 98601545 2023-02-18 continue
29 8b3b29b7 2023-02-18 continue uint8_t recv()
30 8b3b29b7 2023-02-18 continue {
31 8b3b29b7 2023-02-18 continue return 0;
32 8b3b29b7 2023-02-18 continue }
33 98601545 2023-02-18 continue
34 98601545 2023-02-18 continue
35 8607cffe 2023-02-18 continue } // namespace Uart
36 8607cffe 2023-02-18 continue } // namespace Board