mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
- Added build_hp_rtthread.py for building the RT-Thread kernel with RV64 support. - Updated build_hp_smoke.py to target RV64 architecture and modified output filenames. - Modified generate_vexiiriscv.py to reflect RV64 configuration and memory management. - Created hp_tools.py for shared utilities related to RV64 builds. - Enhanced package_hp_boot.py to package RV64 workloads and updated versioning. - Implemented run_hp_sim.py for executing and validating HP workloads with specific markers. - Developed setup_hp_rtthread.py for installing RT-Thread source and environment setup. - Updated GenerateRetroSocHp.scala to generate RV64 application cores. - Enhanced tests for HP boot bundles, platform specifications, and tool utilities to accommodate RV64 changes. - Adjusted test cases to validate new workload types and ensure compatibility with RV64 architecture.
21 lines
633 B
C
21 lines
633 B
C
#ifndef RETROSOC_RTTHREAD_BOARD_H
|
|
#define RETROSOC_RTTHREAD_BOARD_H
|
|
|
|
#include <stdint.h>
|
|
#include <rtthread.h>
|
|
|
|
void rs_rtt_start(void);
|
|
void rs_rtt_selftest_init(void);
|
|
void rs_rtt_fail(uint32_t code);
|
|
void rs_rtt_publish(uint32_t event, uint32_t argument, uint32_t sequence);
|
|
uint32_t rs_rtt_context_probe(uint64_t value);
|
|
rt_err_t rs_rtt_wait_mailbox(rt_int32_t timeout);
|
|
void handle_trap(rt_ubase_t cause, rt_ubase_t epc, void *frame);
|
|
void rt_trigger_software_interrupt(void);
|
|
void rt_hw_do_after_save_above(void);
|
|
void rt_hw_console_output(const char *text);
|
|
void rt_hw_board_init(void);
|
|
void rt_hw_cpu_shutdown(void);
|
|
|
|
#endif
|