comparison packages/kernel/current/src/debug/dbg-thread-syscall.h @ 2:443894e2e912 ecos-v1_2_1-release

Block commit of eCos version 1.2.1
author jlarmour
date Tue, 11 May 1999 12:24:34 +0000
parents 3111d98ba7b3
children
comparison
equal deleted inserted replaced
1:72f549f0d891 2:443894e2e912
1 1
2 /* 2 /*
3 * Copyright (c) 1998 Cygnus Support 3 * Copyright (c) 1998,1999 Cygnus Solutions
4 * 4 *
5 * The authors hereby grant permission to use, copy, modify, distribute, 5 * The authors hereby grant permission to use, copy, modify, distribute,
6 * and license this software and its documentation for any purpose, provided 6 * and license this software and its documentation for any purpose, provided
7 * that existing copyright notices are retained in all copies and that this 7 * that existing copyright notices are retained in all copies and that this
8 * notice is included verbatim in any distributions. No written agreement, 8 * notice is included verbatim in any distributions. No written agreement,
26 dbg_capabilities_func, 26 dbg_capabilities_func,
27 dbg_currthread_func, 27 dbg_currthread_func,
28 dbg_threadlist_func, 28 dbg_threadlist_func,
29 dbg_threadinfo_func, 29 dbg_threadinfo_func,
30 dbg_getthreadreg_func, 30 dbg_getthreadreg_func,
31 dbg_setthreadreg_func 31 dbg_setthreadreg_func,
32 dbg_scheduler_func,
32 } ; 33 } ;
33 34
34 35
35 union dbg_thread_syscall_parms 36 union dbg_thread_syscall_parms
36 { 37 {
61 { 62 {
62 threadref * thread ; 63 threadref * thread ;
63 int regcount ; 64 int regcount ;
64 void * registers ; 65 void * registers ;
65 } reg_parms ; 66 } reg_parms ;
67 struct
68 {
69 threadref * thread ; /* 64-bit thread identifier */
70 int lock; /* 0 == unlock, 1 == lock */
71 int mode; /* 0 == short (step), 1 == continue */
72 } scheduler_parms ;
66 } ; 73 } ;
67 74
68 75
69 typedef int (*dbg_syscall_func) (enum dbg_syscall_ids id, 76 typedef int (*dbg_syscall_func) (enum dbg_syscall_ids id,
70 union dbg_thread_syscall_parms * p ) ; 77 union dbg_thread_syscall_parms * p ) ;