Changeset 625 for trunk/hal/generic/hal_special.h
- Timestamp:
- Apr 10, 2019, 10:09:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_special.h
r624 r625 101 101 * This function returns the current value of stack pointer from core register. 102 102 ****************************************************************************************/ 103 uint32_t hal_get_sp( void ); 104 105 /***************************************************************************************** 106 * This function returns the current value of the return adddress from core register. 107 ****************************************************************************************/ 108 uint32_t hal_get_ra( void ); 109 110 /***************************************************************************************** 111 * This function registers a new value in the core stack pointer and returns previous one. 112 ****************************************************************************************/ 113 inline uint32_t hal_set_sp( void * new_val ); 103 reg_t hal_get_sp( void ); 114 104 115 105 /***************************************************************************************** 116 106 * This function returns the faulty address in case of address exception. 117 107 ****************************************************************************************/ 118 uint32_t hal_get_bad_vaddr( void );108 reg_t hal_get_bad_vaddr( void ); 119 109 120 110 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.