Rizin
unix-like reverse engineering framework and cli tools
dsmsgs.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2003 Free Software Foundation, Inc.
2 // SPDX-FileCopyrightText: 2005 QNX Software Systems
3 // SPDX-License-Identifier: GPL-2.0-or-later
4 
5 /*
6  * $QNXtpLicenseC:
7  * Copyright 2005, QNX Software Systems. All Rights Reserved.
8  *
9  * This source code may contain confidential information of QNX Software
10  * Systems (QSS) and its licensors. Any use, reproduction, modification,
11  * disclosure, distribution or transfer of this software, or any software
12  * that includes or is based upon any of this code, is prohibited unless
13  * expressly authorized by QSS by written agreement. For more information
14  * (including whether this source code file has been published) please
15  * email licensing@qnx.com. $
16  */
17 
18 /*
19 
20  Copyright 2003 Free Software Foundation, Inc.
21 
22  Contributed by QNX Software Systems Ltd.
23 
24  This file is part of GDB.
25 
26  This program is free software; you can redistribute it and/or modify
27  it under the terms of the GNU General Public License as published by
28  the Free Software Foundation; either version 2 of the License, or
29  (at your option) any later version.
30 
31  This program is distributed in the hope that it will be useful,
32  but WITHOUT ANY WARRANTY; without even the implied warranty of
33  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34  GNU General Public License for more details.
35 
36  You should have received a copy of the GNU General Public License
37  along with this program; if not, write to the Free Software
38  Foundation, Inc., 59 Temple Place - Suite 330,
39  Boston, MA 02111-1307, USA. */
40 
41 #ifndef __DSMSGS_H__
42 #define __DSMSGS_H__
43 
44 /* These are the protocol versioning numbers.
45  Update them with changes that introduce potential
46  compatibility issues. */
47 #define PDEBUG_PROTOVER_MAJOR 0x00000000
48 #define PDEBUG_PROTOVER_MINOR 0x00000003
49 
50 #include <stddef.h>
51 
52 /* These are pdebug specific errors, sent sometimes with the errno after
53  an action failed. Simply provides additional info on the reason for the
54  error. Sent in the DSrMsg_err_t.hdr.subcmd byte. */
55 
56 #define PDEBUG_ENOERR 0 /* No error. */
57 #define PDEBUG_ENOPTY 1 /* No Pseudo Terminals found. */
58 #define PDEBUG_ETHREAD 2 /* Thread Create error. */
59 #define PDEBUG_ECONINV 3 /* Invalid Console number. */
60 #define PDEBUG_ESPAWN 4 /* Spawn error. */
61 #define PDEBUG_EPROCFS 5 /* NTO Proc File System error. */
62 #define PDEBUG_EPROCSTOP 6 /* NTO Process Stop error. */
63 #define PDEBUG_EQPSINFO 7 /* QNX4 PSINFO error. */
64 #define PDEBUG_EQMEMMODEL 8 /* QNX4 - Flat Memory Model only supported. */
65 #define PDEBUG_EQPROXY 9 /* QNX4 Proxy error. */
66 #define PDEBUG_EQDBG 10 /* QNX4 qnx_debug_* error. */
67 
68 /* There is room for pdebugerrnos up to sizeof(ut8).
69 
70  We are moving away from the channel commands - only the RESET
71  and NAK are required. The DEBUG and TEXT channels are now part
72  of the DShdr and TShdr structs, 4th byte. GP June 1 1999.
73  They are still supported, but not required.
74 
75  A packet containg a single byte is a set channel command.
76  IE: 7e xx chksum 7e
77 
78  After a set channel all following packets are in the format
79  for the specified channel. Currently three channels are defined.
80  The raw channel has no structure. The other channels are all framed.
81  The contents of each channel is defined by structures below.
82 
83  0 - Reset channel. Used when either end starts.
84 
85  1 - Debug channel with the structure which follows below.
86  Uses DS (Debug Services) prefix.
87 
88  2 - Text channel with the structure which follows below.
89  Uses TS (Text Services) prefix.
90 
91  0xff - Negative acknowledgment of a packet transmission. */
92 
93 #define SET_CHANNEL_RESET 0
94 #define SET_CHANNEL_DEBUG 1
95 #define SET_CHANNEL_TEXT 2
96 #define SET_CHANNEL_NAK 0xff
97 
98 /* Debug channel Messages: DS - Debug services. */
99 
100 /* Defines and structures for the debug channel. */
101 
102 #define DS_DATA_MAX_SIZE 1024
103 #define DS_DATA_RCV_SIZE(msg, total) \
104  ((total) - (sizeof(*(msg)) - DS_DATA_MAX_SIZE))
105 #define DS_MSG_OKSTATUS_FLAG 0x20000000
106 #define DS_MSG_OKDATA_FLAG 0x40000000
107 #define DS_MSG_NO_RESPONSE 0x80000000
108 
109 #define QNXNTO_NSIG 57 /* From signals.h NSIG. */
110 
111 /* Common message header. It must be 32 or 64 bit aligned.
112  The top bit of cmd is 1 for BIG endian data format. */
113 #define DSHDR_MSG_BIG_ENDIAN 0x80
114 struct DShdr {
119 };
120 
121 /* Command types. */
122 enum {
123  DStMsg_connect, /* 0 0x0 */
124  DStMsg_disconnect, /* 1 0x1 */
125  DStMsg_select, /* 2 0x2 */
126  DStMsg_mapinfo, /* 3 0x3 */
127  DStMsg_load, /* 4 0x4 */
128  DStMsg_attach, /* 5 0x5 */
129  DStMsg_detach, /* 6 0x6 */
130  DStMsg_kill, /* 7 0x7 */
131  DStMsg_stop, /* 8 0x8 */
132  DStMsg_memrd, /* 9 0x9 */
133  DStMsg_memwr, /* 10 0xA */
134  DStMsg_regrd, /* 11 0xB */
135  DStMsg_regwr, /* 12 0xC */
136  DStMsg_run, /* 13 0xD */
137  DStMsg_brk, /* 14 0xE */
138  DStMsg_fileopen, /* 15 0xF */
139  DStMsg_filerd, /* 16 0x10 */
140  DStMsg_filewr, /* 17 0x11 */
141  DStMsg_fileclose, /* 18 0x12 */
142  DStMsg_pidlist, /* 19 0x13 */
143  DStMsg_cwd, /* 20 0x14 */
144  DStMsg_env, /* 21 0x15 */
145  DStMsg_base_address, /* 22 0x16 */
146  DStMsg_protover, /* 23 0x17 */
147  DStMsg_handlesig, /* 24 0x18 */
148  DStMsg_cpuinfo, /* 25 0x19 */
149  DStMsg_tidnames, /* 26 0x1A */
150  DStMsg_procfsinfo, /* 27 0x1B */
151  /* Room for new codes here. */
152  DSrMsg_err = 32, /* 32 0x20 */
153  DSrMsg_ok, /* 33 0x21 */
154  DSrMsg_okstatus, /* 34 0x22 */
155  DSrMsg_okdata, /* 35 0x23 */
156  /* Room for new codes here. */
157  DShMsg_notify = 64 /* 64 0x40 */
158 };
159 
160 /* Subcommand types. */
161 enum {
166 };
167 
168 enum {
174 };
175 
178 
181 
185 
190 
191 enum {
197 };
198 
199 enum {
203 };
204 
205 enum {
209  DSMSG_PIDLIST_SPECIFIC_TID, /* *_TID - send starting tid for the request, */
210 }; /* and the response will have total to be sent. */
211 
212 enum {
215 };
216 
217 enum {
222 };
223 
224 enum {
226  0x000000FF, /* bit field (status & DSMSG_PROTOVER_MAJOR) */
228  0x0000FF00, /* bit field (status & DSMSG_PROTOVER_MINOR) */
229 };
230 
231 enum {
232  DSMSG_BRK_EXEC = 0x0001, /* Execution breakpoint. */
233  DSMSG_BRK_RD = 0x0002, /* Read access (fail if not supported). */
234  DSMSG_BRK_WR = 0x0004, /* Write access (fail if not supported). */
235  DSMSG_BRK_RW = 0x0006, /* Read or write access (fail if not supported). */
236  DSMSG_BRK_MODIFY = 0x0008, /* Memory modified. */
237  DSMSG_BRK_RDM = 0x000a, /* Read access if suported otherwise modified. */
238  DSMSG_BRK_WRM = 0x000c, /* Write access if suported otherwise modified. */
239  DSMSG_BRK_RWM =
240  0x000e, /* Read or write access if suported otherwise modified. */
241  DSMSG_BRK_HW = 0x0010, /* Only use hardware debugging (i.e. no singlestep). */
242 };
243 
244 enum {
254  DSMSG_NOTIFY_STOPPED /* 9 */
255 };
256 
257 /* Messages sent to the target. DStMsg_* (t - for target messages). */
258 
259 /* Connect to the agent running on the target. */
260 typedef struct {
261  struct DShdr hdr;
264  ut8 spare[2];
266 
267 /* Disconnect from the agent running on the target. */
268 typedef struct {
269  struct DShdr hdr;
271 
272 /* Select a pid, tid for subsequent messages or query their validity. */
273 typedef struct {
274  struct DShdr hdr;
276  st32 tid;
278 
279 /* Return information on what is at the specified virtual address.
280  If nothing is there we return info on the next thing in the address. */
281 typedef struct {
282  struct DShdr hdr;
286 
287 /* Load a new process into memory for a filesystem. */
288 typedef struct {
289  struct DShdr hdr;
292  char cmdline[DS_DATA_MAX_SIZE];
293 } DStMsg_load_t;
294 
295 /* Attach to an already running process. */
296 typedef struct {
297  struct DShdr hdr;
300 
302 
303 /* Detach from a running process which was attached to or loaded. */
304 typedef struct {
305  struct DShdr hdr;
308 
309 /* Set a signal on a process. */
310 typedef struct {
311  struct DShdr hdr;
312  st32 signo;
313 } DStMsg_kill_t;
314 
315 /* Stop one or more processes/threads. */
316 typedef struct {
317  struct DShdr hdr;
318 } DStMsg_stop_t;
319 
320 /* Memory read request. */
321 typedef struct {
322  struct DShdr hdr;
327 
328 /* Memory write request. */
329 typedef struct {
330  struct DShdr hdr;
335 
336 /* Register read request. */
337 typedef struct {
338  struct DShdr hdr;
342 
343 /* Register write request. */
344 typedef struct {
345  struct DShdr hdr;
349 
350 /* Run. */
351 typedef struct {
352  struct DShdr hdr;
353  union {
355  ut32 addr[2];
356  } step;
357 } DStMsg_run_t;
358 
359 /* Break. */
360 typedef struct {
361  struct DShdr hdr;
364 } DStMsg_brk_t;
365 
366 /* Open a file on the target. */
367 typedef struct {
368  struct DShdr hdr;
373 
374 /* Read a file on the target. */
375 typedef struct {
376  struct DShdr hdr;
379 
380 /* Write a file on the target. */
381 typedef struct {
382  struct DShdr hdr;
385 
386 /* Close a file on the target. */
387 typedef struct {
388  struct DShdr hdr;
389  st32 mtime;
391 
392 /* Get pids and process names in the system. */
393 typedef struct {
394  struct DShdr hdr;
395  st32 pid; /* Only valid for type subtype SPECIFIC. */
396  st32 tid; /* Tid to start reading from. */
398 
399 /* Set current working directory of process. */
400 typedef struct {
401  struct DShdr hdr;
403 } DStMsg_cwd_t;
404 
405 /* Clear, set, get environment for new process. */
406 typedef struct {
407  struct DShdr hdr;
408  char data[DS_DATA_MAX_SIZE];
409 } DStMsg_env_t;
410 
411 /* Get the base address of a process. */
412 typedef struct {
413  struct DShdr hdr;
415 
416 /* Send pdebug protocol version info, get the same in response_ok_status. */
417 typedef struct {
418  struct DShdr hdr;
422 
423 /* Handle signal message. */
424 typedef struct {
425  struct DShdr hdr;
427  ut32 sig_to_pass;
429 
430 /* Get some cpu info. */
431 typedef struct {
432  struct DShdr hdr;
433  ut32 spare;
435 
436 /* Get the names of the threads */
437 typedef struct {
438  struct DShdr hdr;
439  ut32 spare;
441 
442 /* Messages sent to the host. DStMsg_* (h - for host messages). */
443 
444 /* Notify host that something happened it needs to know about. */
445 #define NOTIFY_HDR_SIZE offsetof(DShMsg_notify_t, un)
446 #define NOTIFY_MEMBER_SIZE(member) sizeof(member)
447 
448 typedef struct {
449  struct DShdr hdr;
452  union {
453  struct {
458  ut32 cpuid; /* CPU dependant value. */
460  } pidload;
461  struct {
463  } pidunload;
464  struct {
465  st32 status;
468  } pidunload_v3;
469  struct {
472  ut32 flags; /* Defined in <sys/debug.h>. */
473  } brk;
474  struct {
475  ut32 ip;
477  } step;
478  struct {
482  } sigev;
483  } un;
485 
486 /* Responses to a message. DSrMsg_* (r - for response messages). */
487 
488 /* Error response packet. */
489 typedef struct {
490  struct DShdr hdr;
492 } DSrMsg_err_t;
493 
494 /* Simple OK response. */
495 typedef struct {
496  struct DShdr hdr;
497 } DSrMsg_ok_t;
498 
499 /* Simple OK response with a result. Used where limited data needs
500  to be returned. For example, if the number of bytes which were
501  successfully written was less than requested on any write cmd the
502  status will be the number actually written.
503  The 'subcmd' will always be zero. */
504 typedef struct {
505  struct DShdr hdr;
508 
509 /* The following structures overlay data[..] on a DSrMsg_okdata_t. */
510 struct dslinkmap {
516 };
517 
518 struct dsmapinfo {
519  struct dsmapinfo *next;
524  struct dslinkmap text;
525  struct dslinkmap data;
526  char name[256];
527 };
528 
529 struct dspidlist {
531  st32 num_tids; /* Num of threads this pid has. */
533  struct tidinfo {
537  } tids[1]; /* Variable length terminated by tid==0. */
538  char name[1]; /* Variable length terminated by \0. */
539 };
540 
541 struct dscpuinfo {
546 };
547 
548 struct dstidnames {
553  char data[1]; /* A bunch of string data tidNULLnameNULL... */
554 };
555 
556 /* Long OK response with 0..DS_DATA_MAX_SIZE data.
557  The 'subcmd' will always be zero. */
558 typedef struct {
559  struct DShdr hdr;
562 
563 /* A union of all possible messages and responses. */
564 typedef union {
565  struct DShdr hdr;
599 } DSMsg_union_t;
600 
601 /* Text channel Messages: TS - Text services. */
602 #define TS_TEXT_MAX_SIZE 100
603 
604 /* Command types. */
605 enum {
606  TSMsg_text, /* 0 */
607  TSMsg_done, /* 1 */
608  TSMsg_start, /* 2 */
609  TSMsg_stop, /* 3 */
610  TSMsg_ack, /* 4 */
611 };
612 
613 struct TShdr {
618 };
619 
620 /* Deliver text. This message can be sent by either side.
621  The debugger displays it in a window. The agent gives it to a pty
622  which a program may be listening on. */
623 typedef struct {
624  struct TShdr hdr;
626 } TSMsg_text_t;
627 
628 /* There is no longer a program connected to this console. */
629 typedef struct {
630  struct TShdr hdr;
631 } TSMsg_done_t;
632 
633 /* TextStart or TextStop flow control. */
634 typedef struct {
635  struct TShdr hdr;
637 
638 /* Ack a flowctl message. */
639 typedef struct {
640  struct TShdr hdr;
641 } TSMsg_ack_t;
642 
643 #endif
static int value
Definition: cmd_api.c:93
static static fork const void static count static fd const char const char static newpath const char static path const char path
Definition: sflib.h:35
uint16_t ut16
uint32_t ut32
static struct @231 signals[]
@ DSMSG_RUN_COUNT
Definition: dsmsgs.h:201
@ DSMSG_RUN
Definition: dsmsgs.h:200
@ DSMSG_RUN_RANGE
Definition: dsmsgs.h:202
@ DSMSG_BRK_MODIFY
Definition: dsmsgs.h:236
@ DSMSG_BRK_EXEC
Definition: dsmsgs.h:232
@ DSMSG_BRK_RDM
Definition: dsmsgs.h:237
@ DSMSG_BRK_RWM
Definition: dsmsgs.h:239
@ DSMSG_BRK_RD
Definition: dsmsgs.h:233
@ DSMSG_BRK_WRM
Definition: dsmsgs.h:238
@ DSMSG_BRK_RW
Definition: dsmsgs.h:235
@ DSMSG_BRK_HW
Definition: dsmsgs.h:241
@ DSMSG_BRK_WR
Definition: dsmsgs.h:234
@ TSMsg_done
Definition: dsmsgs.h:607
@ TSMsg_stop
Definition: dsmsgs.h:609
@ TSMsg_start
Definition: dsmsgs.h:608
@ TSMsg_text
Definition: dsmsgs.h:606
@ TSMsg_ack
Definition: dsmsgs.h:610
@ DSMSG_ENV_CLEARENV
Definition: dsmsgs.h:171
@ DSMSG_ENV_CLEARARGV
Definition: dsmsgs.h:169
@ DSMSG_ENV_ADDARG
Definition: dsmsgs.h:170
@ DSMSG_ENV_SETENV
Definition: dsmsgs.h:172
@ DSMSG_ENV_SETENV_MORE
Definition: dsmsgs.h:173
DStMsg_attach_t DStMsg_procfsinfo_t
Definition: dsmsgs.h:301
@ DSMSG_CWD_QUERY
Definition: dsmsgs.h:213
@ DSMSG_CWD_SET
Definition: dsmsgs.h:214
@ DSMSG_MEM_VIRTUAL
Definition: dsmsgs.h:186
@ DSMSG_MEM_IO
Definition: dsmsgs.h:188
@ DSMSG_MEM_BASEREL
Definition: dsmsgs.h:189
@ DSMSG_MEM_PHYSICAL
Definition: dsmsgs.h:187
@ DSMSG_MAPINFO_ELF
Definition: dsmsgs.h:221
@ DSMSG_MAPINFO_BEGIN
Definition: dsmsgs.h:218
@ DSMSG_MAPINFO_SPECIFIC
Definition: dsmsgs.h:220
@ DSMSG_MAPINFO_NEXT
Definition: dsmsgs.h:219
@ DSMSG_LOAD_RUN
Definition: dsmsgs.h:163
@ DSMSG_LOAD_RUN_PERSIST
Definition: dsmsgs.h:164
@ DSMSG_LOAD_INHERIT_ENV
Definition: dsmsgs.h:165
@ DSMSG_LOAD_DEBUG
Definition: dsmsgs.h:162
@ DSMSG_NOTIFY_TIDLOAD
Definition: dsmsgs.h:246
@ DSMSG_NOTIFY_TIDUNLOAD
Definition: dsmsgs.h:249
@ DSMSG_NOTIFY_PIDUNLOAD
Definition: dsmsgs.h:248
@ DSMSG_NOTIFY_PIDLOAD
Definition: dsmsgs.h:245
@ DSMSG_NOTIFY_DLLLOAD
Definition: dsmsgs.h:247
@ DSMSG_NOTIFY_SIGEV
Definition: dsmsgs.h:253
@ DSMSG_NOTIFY_DLLUNLOAD
Definition: dsmsgs.h:250
@ DSMSG_NOTIFY_BRK
Definition: dsmsgs.h:251
@ DSMSG_NOTIFY_STEP
Definition: dsmsgs.h:252
@ DSMSG_NOTIFY_STOPPED
Definition: dsmsgs.h:254
@ DSMSG_STOP_PID
Definition: dsmsgs.h:176
@ DSMSG_STOP_PIDS
Definition: dsmsgs.h:177
@ DSMSG_PIDLIST_NEXT
Definition: dsmsgs.h:207
@ DSMSG_PIDLIST_BEGIN
Definition: dsmsgs.h:206
@ DSMSG_PIDLIST_SPECIFIC_TID
Definition: dsmsgs.h:209
@ DSMSG_PIDLIST_SPECIFIC
Definition: dsmsgs.h:208
#define QNXNTO_NSIG
Definition: dsmsgs.h:109
@ DSMSG_KILL_PIDTID
Definition: dsmsgs.h:182
@ DSMSG_KILL_PID
Definition: dsmsgs.h:183
@ DSMSG_KILL_PIDS
Definition: dsmsgs.h:184
@ DSMSG_REG_ALT
Definition: dsmsgs.h:195
@ DSMSG_REG_GENERAL
Definition: dsmsgs.h:192
@ DSMSG_REG_SYSTEM
Definition: dsmsgs.h:194
@ DSMSG_REG_END
Definition: dsmsgs.h:196
@ DSMSG_REG_FLOAT
Definition: dsmsgs.h:193
#define TS_TEXT_MAX_SIZE
Definition: dsmsgs.h:602
@ DSMSG_SELECT_SET
Definition: dsmsgs.h:179
@ DSMSG_SELECT_QUERY
Definition: dsmsgs.h:180
#define DS_DATA_MAX_SIZE
Definition: dsmsgs.h:102
@ DStMsg_brk
Definition: dsmsgs.h:137
@ DStMsg_attach
Definition: dsmsgs.h:128
@ DSrMsg_okdata
Definition: dsmsgs.h:155
@ DStMsg_memwr
Definition: dsmsgs.h:133
@ DStMsg_handlesig
Definition: dsmsgs.h:147
@ DStMsg_disconnect
Definition: dsmsgs.h:124
@ DSrMsg_err
Definition: dsmsgs.h:152
@ DStMsg_kill
Definition: dsmsgs.h:130
@ DStMsg_cwd
Definition: dsmsgs.h:143
@ DStMsg_filewr
Definition: dsmsgs.h:140
@ DStMsg_select
Definition: dsmsgs.h:125
@ DStMsg_base_address
Definition: dsmsgs.h:145
@ DShMsg_notify
Definition: dsmsgs.h:157
@ DSrMsg_ok
Definition: dsmsgs.h:153
@ DStMsg_memrd
Definition: dsmsgs.h:132
@ DStMsg_run
Definition: dsmsgs.h:136
@ DStMsg_procfsinfo
Definition: dsmsgs.h:150
@ DStMsg_fileopen
Definition: dsmsgs.h:138
@ DSrMsg_okstatus
Definition: dsmsgs.h:154
@ DStMsg_regrd
Definition: dsmsgs.h:134
@ DStMsg_tidnames
Definition: dsmsgs.h:149
@ DStMsg_mapinfo
Definition: dsmsgs.h:126
@ DStMsg_regwr
Definition: dsmsgs.h:135
@ DStMsg_protover
Definition: dsmsgs.h:146
@ DStMsg_filerd
Definition: dsmsgs.h:139
@ DStMsg_detach
Definition: dsmsgs.h:129
@ DStMsg_pidlist
Definition: dsmsgs.h:142
@ DStMsg_connect
Definition: dsmsgs.h:123
@ DStMsg_cpuinfo
Definition: dsmsgs.h:148
@ DStMsg_fileclose
Definition: dsmsgs.h:141
@ DStMsg_env
Definition: dsmsgs.h:144
@ DStMsg_load
Definition: dsmsgs.h:127
@ DStMsg_stop
Definition: dsmsgs.h:131
@ DSMSG_PROTOVER_MAJOR
Definition: dsmsgs.h:227
@ DSMSG_PROTOVER_MINOR
Definition: dsmsgs.h:225
static states step(struct re_guts *, sopno, sopno, states, int, states)
Definition: engine.c:888
#define minor(dev)
Definition: fsmagic.c:57
voidpf void uLong size
Definition: ioapi.h:138
uint8_t ut8
Definition: lh5801.h:11
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char pathname
Definition: sflib.h:66
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc pid
Definition: sflib.h:64
static static fork const void static count static fd const char static mode const char static pathname const char static path const char static dev const char static group static getpid static getuid void void static data static pause const char static mode static sync const char const char static newpath const char static pathname unsigned long static filedes brk
Definition: sflib.h:76
static const char struct stat static buf struct stat static buf static vhangup int status
Definition: sflib.h:145
@ reserved
Definition: lm32_isa.h:94
#define ip
#define st16
Definition: rz_types_base.h:14
#define st32
Definition: rz_types_base.h:12
ut32 codeoff
Definition: dsmsgs.h:454
ut32 dataoff
Definition: dsmsgs.h:455
ut16 cputype
Definition: dsmsgs.h:457
Definition: dsmsgs.h:114
ut8 subcmd
Definition: dsmsgs.h:116
ut8 channel
Definition: dsmsgs.h:118
ut8 cmd
Definition: dsmsgs.h:115
ut8 mid
Definition: dsmsgs.h:117
st32 err
Definition: dsmsgs.h:491
ut32 addr
Definition: dsmsgs.h:362
st32 argc
Definition: dsmsgs.h:290
st32 envc
Definition: dsmsgs.h:291
ut32 spare0
Definition: dsmsgs.h:323
ut32 spare0
Definition: dsmsgs.h:331
ut16 offset
Definition: dsmsgs.h:339
ut16 offset
Definition: dsmsgs.h:346
ut32 count
Definition: dsmsgs.h:354
Definition: dsmsgs.h:613
ut8 console
Definition: dsmsgs.h:615
ut8 cmd
Definition: dsmsgs.h:614
ut8 spare1
Definition: dsmsgs.h:616
ut8 channel
Definition: dsmsgs.h:617
ut32 spare1
Definition: dsmsgs.h:543
ut32 spare2
Definition: dsmsgs.h:544
ut32 cpuflags
Definition: dsmsgs.h:542
ut32 spare3
Definition: dsmsgs.h:545
ut32 debug_vaddr
Definition: dsmsgs.h:514
ut32 size
Definition: dsmsgs.h:512
ut64 offset
Definition: dsmsgs.h:515
ut32 flags
Definition: dsmsgs.h:513
ut32 addr
Definition: dsmsgs.h:511
ut32 dev
Definition: dsmsgs.h:522
struct dslinkmap data
Definition: dsmsgs.h:525
struct dsmapinfo * next
Definition: dsmsgs.h:519
ut32 spare0
Definition: dsmsgs.h:520
ut32 spare1
Definition: dsmsgs.h:523
struct dslinkmap text
Definition: dsmsgs.h:524
ut64 ino
Definition: dsmsgs.h:521
struct dspidlist::tidinfo tids[1]
st32 spare[6]
Definition: dsmsgs.h:532
st32 num_tids
Definition: dsmsgs.h:531
st32 pid
Definition: dsmsgs.h:530
ut32 spare2
Definition: dsmsgs.h:552
ut32 numtids
Definition: dsmsgs.h:549
char data[1]
Definition: dsmsgs.h:553
ut32 numleft
Definition: dsmsgs.h:550
ut32 spare1
Definition: dsmsgs.h:551
Definition: z80asm.h:102
DStMsg_baseaddr_t baseaddr
Definition: dsmsgs.h:589
DSrMsg_ok_t ok
Definition: dsmsgs.h:596
DStMsg_select_t select
Definition: dsmsgs.h:568
DStMsg_detach_t detach
Definition: dsmsgs.h:572
DShMsg_notify_t notify
Definition: dsmsgs.h:594
DStMsg_pidlist_t pidlist
Definition: dsmsgs.h:585
DStMsg_cwd_t cwd
Definition: dsmsgs.h:587
DStMsg_handlesig_t handlesig
Definition: dsmsgs.h:591
DStMsg_procfsinfo_t procfsinfo
Definition: dsmsgs.h:571
DStMsg_cpuinfo_t cpuinfo
Definition: dsmsgs.h:592
DSrMsg_err_t err
Definition: dsmsgs.h:595
DStMsg_connect_t connect
Definition: dsmsgs.h:566
DStMsg_load_t load
Definition: dsmsgs.h:569
DStMsg_tidnames_t tidnames
Definition: dsmsgs.h:593
DStMsg_memrd_t memrd
Definition: dsmsgs.h:575
DStMsg_kill_t kill
Definition: dsmsgs.h:573
DStMsg_stop_t stop
Definition: dsmsgs.h:574
DStMsg_attach_t attach
Definition: dsmsgs.h:570
DStMsg_fileopen_t fileopen
Definition: dsmsgs.h:581
DStMsg_protover_t protover
Definition: dsmsgs.h:590
DStMsg_fileclose_t fileclose
Definition: dsmsgs.h:584
DStMsg_filerd_t filerd
Definition: dsmsgs.h:582
DStMsg_run_t run
Definition: dsmsgs.h:579
DStMsg_mapinfo_t mapinfo
Definition: dsmsgs.h:586
DSrMsg_okdata_t okdata
Definition: dsmsgs.h:598
DStMsg_regrd_t regrd
Definition: dsmsgs.h:577
DStMsg_disconnect_t disconnect
Definition: dsmsgs.h:567
DStMsg_env_t env
Definition: dsmsgs.h:588
DStMsg_brk_t brk
Definition: dsmsgs.h:580
DStMsg_memwr_t memwr
Definition: dsmsgs.h:576
DSrMsg_okstatus_t okstatus
Definition: dsmsgs.h:597
DStMsg_filewr_t filewr
Definition: dsmsgs.h:583
DStMsg_regwr_t regwr
Definition: dsmsgs.h:578
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
static int addr
Definition: z80asm.c:58