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 98601545 2023-02-18 continue namespace Board
9 98601545 2023-02-18 continue {
10 8b3b29b7 2023-02-18 continue namespace Uart
11 8b3b29b7 2023-02-18 continue {
12 98601545 2023-02-18 continue
13 98601545 2023-02-18 continue
14 98601545 2023-02-18 continue namespace
15 98601545 2023-02-18 continue {
16 98601545 2023-02-18 continue
17 98601545 2023-02-18 continue // constexpr uintptr_t UART_BASE = 0xffffffffc9000000ULL;
18 98601545 2023-02-18 continue
19 98601545 2023-02-18 continue }
20 98601545 2023-02-18 continue
21 98601545 2023-02-18 continue
22 8b3b29b7 2023-02-18 continue void initialize()
23 98601545 2023-02-18 continue {
24 98601545 2023-02-18 continue }
25 98601545 2023-02-18 continue
26 98601545 2023-02-18 continue
27 8b3b29b7 2023-02-18 continue void send(uint8_t /*value*/)
28 8b3b29b7 2023-02-18 continue {
29 8b3b29b7 2023-02-18 continue }
30 98601545 2023-02-18 continue
31 98601545 2023-02-18 continue
32 8b3b29b7 2023-02-18 continue uint8_t recv()
33 8b3b29b7 2023-02-18 continue {
34 8b3b29b7 2023-02-18 continue return 0;
35 8b3b29b7 2023-02-18 continue }
36 98601545 2023-02-18 continue
37 98601545 2023-02-18 continue
38 8b3b29b7 2023-02-18 continue } // namespace Uart
39 98601545 2023-02-18 continue } // namespace Board