Changeset 623 for trunk/hal/generic/hal_special.h
- Timestamp:
- Mar 6, 2019, 4:37:15 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_special.h
r619 r623 31 31 32 32 struct thread_s; 33 struct gpt_s; 33 34 34 35 /////////////////////////////////////////////////////////////////////////////////////////// … … 37 38 // ALMOS-MKH uses the following API to access the core protected registers. 38 39 /////////////////////////////////////////////////////////////////////////////////////////// 40 41 /***************************************************************************************** 42 * This function initialise - for architectures requiring it - the protected register(s) 43 * containing the kernel_entry adresse(s) for interrupts / exceptions / syscalls. 44 ****************************************************************************************/ 45 void hal_set_kentry( void ); 46 47 /***************************************************************************************** 48 * This function initializes - for architectures requiring it - the MMU registers 49 * as required by the target architecture to execute the kernel threads attached 50 * to kernel process zero. It is called by all cores in the kernel_init() function. 51 ***************************************************************************************** 52 * @ gpt : local pointer on the kernel page table descriptor. 53 ****************************************************************************************/ 54 void hal_mmu_init( struct gpt_s * gpt ); 39 55 40 56 /***************************************************************************************** … … 103 119 /***************************************************************************************** 104 120 * This function makes an uncachable read to a 32 bits variable in local memory. 121 ***************************************************************************************** 105 122 * @ ptr : pointer on the variable 106 123 * @ returns the value … … 137 154 /***************************************************************************************** 138 155 * This function returns information on MMU exceptions : 156 ***************************************************************************************** 139 157 * @ mmu_ins_excp_code : [out] instruction fetch exception code 140 158 * @ mmu_ins_bad_vaddr : [out] instruction fetch faulty virtual address
Note: See TracChangeset
for help on using the changeset viewer.