--- Gnu-Mach/kern/ast.h 2020/09/02 04:36:57 1.1 +++ Gnu-Mach/kern/ast.h 2020/09/02 04:45:17 1.1.1.3 @@ -40,8 +40,6 @@ * a set of reasons for an AST, and passing this set to ast_taken. */ -#include - #include "cpu_number.h" #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]; @@ -78,14 +76,14 @@ extern volatile ast_t need_ast[NCPUS]; /* * machine/ast.h is responsible for defining aston and astoff. */ -#else MACHINE_AST +#else /* MACHINE_AST */ #define aston(mycpu) #define astoff(mycpu) -#endif MACHINE_AST +#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(). */ -#endif _KERN_AST_H_ +extern void ast_init (void); + +extern void ast_check (void); + +#endif /* _KERN_AST_H_ */