updates Ehrenberg register description
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
#ifndef _BSP_ACLINT_H
|
||||
#define _BSP_ACLINT_H
|
||||
#ifndef _DEVICES_ACLINT_H
|
||||
#define _DEVICES_ACLINT_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "gen/AClintModule.h"
|
||||
#include "gen/aclint.h"
|
||||
|
||||
#define aclint_t apb3aclint_t
|
||||
|
||||
static void set_aclint_mtime(volatile aclint_t* reg, uint64_t value){
|
||||
set_aclint_mtime_hi(reg, (uint32_t)(value >> 32));
|
||||
@@ -26,4 +25,4 @@ static uint64_t get_aclint_mtimecmp(volatile aclint_t* reg){
|
||||
return value;
|
||||
}
|
||||
|
||||
#endif /* _BSP_ACLINT_H */
|
||||
#endif /* _DEVICES_ACLINT_H */
|
||||
|
Reference in New Issue
Block a user