summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/freedom-metal/metal/drivers/sifive_trace.h
blob: 3c67522f4d1aa9f56bc8d65a6eff8b76f99e338e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* Copyright 2019 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */

#ifndef METAL__DRIVERS__SIFIVE_TRACE_H
#define METAL__DRIVERS__SIFIVE_TRACE_H

#include <metal/compiler.h>
#include <metal/io.h>
#include <metal/uart.h>

struct __metal_driver_vtable_sifive_trace {
    const struct metal_uart_vtable uart;
};

struct __metal_driver_sifive_trace;

__METAL_DECLARE_VTABLE(__metal_driver_vtable_sifive_trace)

struct __metal_driver_sifive_trace {
    struct metal_uart uart;
};

#endif /* METAL__DRIVERS__SIFIVE_TRACE_H */