aboutsummaryrefslogtreecommitdiff
path: root/riscv/dts.h
blob: b9ddb8e417fb36913fd55aa7ca00a510c370208e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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);

#endif