从站邻近设备的代码正常工作,和正常转发的代码能同时工作不会产生fifo上下溢出
This commit is contained in:
@@ -39,12 +39,13 @@ void disable_mtimer_int()
|
||||
|
||||
void set_mtimer(uint32_t delta_t)
|
||||
{
|
||||
#if 0
|
||||
uint64_t t;
|
||||
|
||||
|
||||
t = read_mtimer();
|
||||
t += delta_t;
|
||||
set_mtimecmp(t);
|
||||
#if 0
|
||||
#else
|
||||
uint64_t t;
|
||||
|
||||
t = *(volatile uint64_t *)(CLINT_BASE + CLINT_MTIME_LOW);
|
||||
|
||||
Reference in New Issue
Block a user