Nuclei-Software / nuclei-sdk

Nuclei RISC-V Software Development Kit
https://doc.nucleisys.com/nuclei_sdk
Apache License 2.0
122 stars 51 forks source link

__set_exc_entry and related function use integer types instead of pointers. #34

Closed DagAgren closed 2 years ago

DagAgren commented 2 years ago

__set_exc_entry and the other functions related to mtvec take and return the integer rv_csr_t type, although the values you would pass in are pointers. They should probably take and return void * types?

fanghuaqi commented 2 years ago

Hi @DagAgren , you can force type convert when you call this function, it might not be good to change the function argument type now.