Classes | |
struct | EXCEPT_STACK |
Macros | |
#define | save_ring3_context |
#define | restore_ring3_context |
#define | exc_wo_code(num) |
#define | exc_w_code(num) |
Functions | |
void | protect_from_terminate () |
Enter critical area. Called by thread which wants to be protected. More... | |
void | unprotect_from_terminate () |
Leave critical area. Called by thread which wants to be protected. More... | |
void | request_terminate () |
Request termination of thread identified by edx = SLOT_BASE + slot*sizeof.APPDATA. Called by anyone. More... | |
Variables | |
label | build_interrupt_table |
3A08 More... | |
label | sys_int |
label | idtreg |
data for LIDT instruction (!!! must be immediately below sys_int data) More... | |
dd | msg_fault_sel |
db | msg_exc_8 |
db | msg_exc_u |
db | msg_exc_a |
db | msg_exc_b |
db | msg_exc_c |
db | msg_exc_d |
db | msg_exc_e |
db | msg_exc_11 |
db | msg_sel_ker |
db | msg_sel_app |
dd | pf_err_code |
label | page_fault_exc |
foolproof: selectors are clobbered ... More... | |
label | exc_c |
exceptions (all but 7th - #NM) More... | |
label | IRetToUserHook |
label | unknown_interrupt |
simply return control to interrupted process More... | |
label | show_error_parameters |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= bl - error vector More... | |
reg_ss | restore |
label | lock_application_table |
label | unlock_application_table |
label | sys_resize_app_memory |
sysfn 64 implementation More... | |
db | msg_obj_destroy |
process_terminating db 'K : Process - terminating',13,10,0 process_terminated db 'K : Process - done',13,10,0 More... | |
label | terminate |
terminate application More... | |
label | destroy_thread |
#define exc_w_code | ( | num | ) |
#define exc_wo_code | ( | num | ) |
#define restore_ring3_context |
#define save_ring3_context |
void protect_from_terminate | ( | ) |
Enter critical area. Called by thread which wants to be protected.
void request_terminate | ( | ) |
Request termination of thread identified by edx = SLOT_BASE + slot*sizeof.APPDATA. Called by anyone.
void unprotect_from_terminate | ( | ) |
Leave critical area. Called by thread which wants to be protected.
label build_interrupt_table |
3A08
label destroy_thread |
label exc_c |
exceptions (all but 7th - #NM)
label idtreg |
data for LIDT instruction (!!! must be immediately below sys_int data)
label IRetToUserHook |
label lock_application_table |
db msg_exc_11 |
db msg_exc_8 |
db msg_exc_a |
db msg_exc_b |
db msg_exc_c |
db msg_exc_d |
db msg_exc_e |
db msg_exc_u |
dd msg_fault_sel |
db msg_obj_destroy |
process_terminating db 'K : Process - terminating',13,10,0 process_terminated db 'K : Process - done',13,10,0
db msg_sel_app |
db msg_sel_ker |
label page_fault_exc |
foolproof: selectors are clobbered ...
dd pf_err_code |
_process restore |
label show_error_parameters |
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= bl - error vector
label sys_int |
label sys_resize_app_memory |
sysfn 64 implementation
label terminate |
terminate application
label unknown_interrupt |
simply return control to interrupted process
label unlock_application_table |