blob: cb3490de0131465cda694a2254f97f78b91a4483 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// See LICENSE for license details.
#ifndef _RISCV_DTS_H
#define _RISCV_DTS_H
#include "processor.h"
#include "mmu.h"
#include <string>
std::string make_dts(size_t insns_per_rtc_tick, size_t cpu_hz,
reg_t initrd_start, reg_t initrd_end,
std::vector<processor_t*> procs,
std::vector<std::pair<reg_t, mem_t*>> mems);
std::string dts_compile(const std::string& dts);
int fdt_parse_clint(void *fdt, unsigned long *clint_addr,
const char *compatible);
#endif
|