mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 06:07:52 -04:00
fixed wrong argument types
This commit is contained in:
parent
192b9a3b1a
commit
5db0155c06
2 changed files with 4 additions and 4 deletions
|
@ -46,9 +46,9 @@
|
|||
int neorv32_cpu_irq_enable(uint8_t irq_sel);
|
||||
int neorv32_cpu_irq_disable(uint8_t irq_sel);
|
||||
uint64_t neorv32_cpu_get_cycle(void);
|
||||
void neorv32_cpu_set_mcycle(uint32_t value);
|
||||
void neorv32_cpu_set_mcycle(uint64_t value);
|
||||
uint64_t neorv32_cpu_get_instret(void);
|
||||
void neorv32_cpu_set_minstret(uint32_t value);
|
||||
void neorv32_cpu_set_minstret(uint64_t value);
|
||||
uint64_t neorv32_cpu_get_systime(void);
|
||||
void neorv32_cpu_delay_ms(uint32_t time_ms);
|
||||
|
||||
|
|
|
@ -117,7 +117,7 @@ uint64_t neorv32_cpu_get_cycle(void) {
|
|||
*
|
||||
* @param[in] value New value for mcycle[h] CSR (64-bit).
|
||||
**************************************************************************/
|
||||
void neorv32_cpu_set_mcycle(uint32_t value) {
|
||||
void neorv32_cpu_set_mcycle(uint64_t value) {
|
||||
|
||||
union {
|
||||
uint64_t uint64;
|
||||
|
@ -168,7 +168,7 @@ uint64_t neorv32_cpu_get_instret(void) {
|
|||
*
|
||||
* @param[in] value New value for mcycle[h] CSR (64-bit).
|
||||
**************************************************************************/
|
||||
void neorv32_cpu_set_minstret(uint32_t value) {
|
||||
void neorv32_cpu_set_minstret(uint64_t value) {
|
||||
|
||||
union {
|
||||
uint64_t uint64;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue