#include <system_data_cells.h>
#include <acbdef.h>
#include <pridef.h>
#include <cpudef.h>
#include <psldef.h>
#include <ssdef.h>
#include <sch_routines.h>
#include <linux/smp.h>
#include <asm/current.h>
#include <linux/sched.h>
#include <linux/vmalloc.h>
#include <linux/slab.h>
Go to the source code of this file.
Functions | |
int | exe_setast (char enbflg) |
enabling/disabling ast delivery according to callers mode - see 5.2 7.6 | |
int | exe_dclast (void(*astadr)(__unknown_params), unsigned long astprm, unsigned int acmode) |
creating an ast - see 5.2 7.3 |
int exe_dclast | ( | void(*)(__unknown_params) | astadr, | |
unsigned long | astprm, | |||
unsigned int | acmode | |||
) |
creating an ast - see 5.2 7.3
astadr | routine | |
astprm | parameter | |
acmode | access mode |
allocate acb and fill it
call sch_qast
Definition at line 62 of file sysastcon.c.
References _pcb, _acb::acb_b_rmod, _acb::acb_l_ast, _acb::acb_l_astprm, _acb::acb_l_pid, ctl_gl_pcb, kmalloc(), sch_qast(), smp_gl_cpu_data, and SS__NORMAL.
int exe_setast | ( | char | enbflg | ) |
enabling/disabling ast delivery according to callers mode - see 5.2 7.6
enbflg | enable flag does not set reenable_asts and soft_ast_disable TODO: check implementation |
check if already set or unset
set accoring to priv level and recompute
Definition at line 32 of file sysastcon.c.
References _pcb, ctl_gl_pcb, PSL_C_USER, sch_newlvl(), smp_gl_cpu_data, SS__WASCLR, and SS__WASSET.