aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/include/region.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/include/region.h')
-rw-r--r--src/kernel/include/region.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/include/region.h b/src/kernel/include/region.h
index a390e06..d5cba2d 100644
--- a/src/kernel/include/region.h
+++ b/src/kernel/include/region.h
@@ -24,8 +24,8 @@ region_info_t *find_region(void* addr);
void region_free(void* addr);
// some usefull PF handlers
-// default_allocator_pf_handler : just allocates new frames on page faults
-void default_allocator_pf_handler(pagedir_t *pd, struct region_info *r, void* addr);
+void pf_handler_unexpected(pagedir_t *pd, struct region_info *r, void* addr); // Expects never to be called
+void pf_handler_stackoverflow(pagedir_t *pd, struct region_info *r, void* addr); // Stack overflow detected
// some functions for freeing regions and frames
// region_free_unmap_free : deletes a region and frees all frames that were mapped in it