--- Gnu-Mach/kern/ast.h 2020/09/02 04:42:46 1.1.1.2 +++ Gnu-Mach/kern/ast.h 2020/09/02 04:49:54 1.1.1.4 @@ -40,10 +40,8 @@ * a set of reasons for an AST, and passing this set to ast_taken. */ -#include - #include "cpu_number.h" -#include +#include #include /* @@ -70,7 +68,7 @@ #define AST_PER_THREAD (AST_HALT | AST_TERMINATE | MACHINE_AST_PER_THREAD) -typedef unsigned int ast_t; +typedef unsigned long ast_t; extern volatile ast_t need_ast[NCPUS]; @@ -85,7 +83,7 @@ extern volatile ast_t need_ast[NCPUS]; #endif /* MACHINE_AST */ -extern void ast_taken(); +extern void ast_taken(void); /* * ast_needed, ast_on, ast_off, ast_context, and ast_propagate @@ -129,4 +127,8 @@ MACRO_END * be followed by ast_propagate(). */ +extern void ast_init (void); + +extern void ast_check (void); + #endif /* _KERN_AST_H_ */