OpenOCD
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define OPENOCD_TARGET_XTENSA_FILEIO_H
#include <target/target.h>
#include <helper/command.h>
#include "xtensa.h"
#define XTENSA_SYSCALL_OP_REG
#define XTENSA_SYSCALL_RETVAL_REG
#define XTENSA_SYSCALL_ERRNO_REG
#define XTENSA_SYSCALL_OPEN
#define XTENSA_SYSCALL_CLOSE
#define XTENSA_SYSCALL_READ
#define XTENSA_SYSCALL_WRITE
#define XTENSA_SYSCALL_LSEEK
#define XTENSA_SYSCALL_RENAME
#define XTENSA_SYSCALL_UNLINK
#define XTENSA_SYSCALL_STAT
#define XTENSA_SYSCALL_FSTAT
#define XTENSA_SYSCALL_GETTIMEOFDAY
#define XTENSA_SYSCALL_ISATTY
#define XTENSA_SYSCALL_SYSTEM
xtensa_fileio_init(struct target *);
xtensa_fileio_detect_proc(struct target *);
xtensa_get_gdb_fileio_info(struct target *, struct gdb_fileio_info *);
xtensa_gdb_fileio_end(struct target *, int, int, bool);
Files
loading...
SourceVu
Development Tools
OpenOCD
src/target/xtensa/xtensa_fileio.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Xtensa Target File-I/O Support for OpenOCD *
* Copyright (C) 2020-2023 Cadence Design Systems, Inc. *
***************************************************************************/
/* ... */
#ifndef
OPENOCD_TARGET_XTENSA_FILEIO_H
#define
OPENOCD_TARGET_XTENSA_FILEIO_H
#include
<
target
/
target.h>
#include
<
helper
/
command.h>
#include
"
xtensa.h"
#define
XTENSA_SYSCALL_OP_REG
XT_REG_IDX_A2
#define
XTENSA_SYSCALL_RETVAL_REG
XT_REG_IDX_A2
#define
XTENSA_SYSCALL_ERRNO_REG
XT_REG_IDX_A3
#define
XTENSA_SYSCALL_OPEN
(
-
2
)
#define
XTENSA_SYSCALL_CLOSE
(
-
3
)
#define
XTENSA_SYSCALL_READ
(
-
4
)
#define
XTENSA_SYSCALL_WRITE
(
-
5
)
#define
XTENSA_SYSCALL_LSEEK
(
-
6
)
#define
XTENSA_SYSCALL_RENAME
(
-
7
)
#define
XTENSA_SYSCALL_UNLINK
(
-
8
)
#define
XTENSA_SYSCALL_STAT
(
-
9
)
#define
XTENSA_SYSCALL_FSTAT
(
-
10
)
#define
XTENSA_SYSCALL_GETTIMEOFDAY
(
-
11
)
#define
XTENSA_SYSCALL_ISATTY
(
-
12
)
#define
XTENSA_SYSCALL_SYSTEM
(
-
13
)
15 defines
int
xtensa_fileio_init
(
struct
target
*
target
)
;
int
xtensa_fileio_detect_proc
(
struct
target
*
target
)
;
int
xtensa_get_gdb_fileio_info
(
struct
target
*
target
,
struct
gdb_fileio_info
*
fileio_info
)
;
int
xtensa_gdb_fileio_end
(
struct
target
*
target
,
int
retcode
,
int
fileio_errno
,
bool
ctrl_c
)
;
/* ... */
#endif
/* OPENOCD_TARGET_XTENSA_FILEIO_H */
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
Click anywhere in the source to view detailed information here...