From 5e0b8d508ed51004bd836384293be00950ee62c9 Mon Sep 17 00:00:00 2001 From: Pasha Date: Tue, 20 Feb 2024 18:49:50 +0000 Subject: init gnumach copy --- ddb/db_print.h | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 ddb/db_print.h (limited to 'ddb/db_print.h') diff --git a/ddb/db_print.h b/ddb/db_print.h new file mode 100644 index 0000000..b86c696 --- /dev/null +++ b/ddb/db_print.h @@ -0,0 +1,68 @@ +/* + * (c) Copyright 1992, 1993, 1994, 1995 OPEN SOFTWARE FOUNDATION, INC. + * ALL RIGHTS RESERVED + */ +/* + * OSF RI nmk19b2 5/2/95 + */ + +#ifndef _DDB_DB_PRINT_H_ +#define _DDB_DB_PRINT_H_ + +#include +#include + +/* Prototypes for functions exported by this module. + */ +void db_show_regs( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + char *modif); + +void db_show_one_task( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + const char * modif); + +void db_show_port_id( + db_expr_t addr, + boolean_t have_addr, + db_expr_t count, + const char * modif); + +void db_show_one_thread( + db_expr_t addr, + int have_addr, + db_expr_t count, + const char * modif); + +void db_show_all_tasks( + db_expr_t addr, + int have_addr, + db_expr_t count, + const char * modif); + +void db_show_all_threads( + db_expr_t addr, + int have_addr, + db_expr_t count, + const char * modif); + +void db_show_all_runqs( + db_expr_t addr, + int have_addr, + db_expr_t count, + const char * modif); + +db_addr_t db_task_from_space( + ipc_space_t space, + int *task_id); + +void db_print_thread( + thread_t thread, + int thread_id, + int flag); + +#endif /* !_DDB_DB_PRINT_H_ */ -- cgit v1.2.1