implemented remove_handler()

This commit is contained in:
Markus Fröschle
2014-09-30 15:41:05 +00:00
parent a28a443547
commit b94f129d70
2 changed files with 15 additions and 3 deletions

View File

@@ -265,6 +265,7 @@ struct mmu_driver_interface
int32_t (*map_page_locked)(uint32_t address, uint32_t length, int asid);
int32_t (*unlock_page)(uint32_t address, uint32_t length, int asid);
int32_t (*report_locked_pages)(uint32_t *num_itlb, uint32_t *num_dtlb);
uint32_t (*report_pagesize)(void);
};
union interface
@@ -291,7 +292,7 @@ struct driver_table
{
uint32_t bas_version;
uint32_t bas_revision;
uint32_t (*remove_handler)(); /* calling this will disable the BaS' hook into trap #0 */
void (*remove_handler)(void); /* calling this will disable the BaS' hook into trap #0 */
struct generic_interface *interfaces;
};