OpenOCD
|
Go to the source code of this file.
Data Structures | |
struct | esp_semihost_data |
struct | esp_semihost_ops |
Semihost calls handling operations. More... | |
Functions | |
int | esp_semihosting_basedir_command (struct command_invocation *cmd) |
int | esp_semihosting_common (struct target *target) |
#define ESP_SEMIHOSTING_SYS_ACCESS 0x10E |
Definition at line 30 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_APPTRACE_INIT 0x101 |
Definition at line 16 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_BREAKPOINT_SET 0x103 |
Definition at line 18 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_CLOSEDIR 0x10C |
Definition at line 28 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT 0x102 |
Definition at line 17 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_DRV_INFO 0x100 |
Definition at line 15 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_FSTAT 0x111 |
Definition at line 33 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_FSYNC 0x113 |
Definition at line 35 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_LINK 0x114 |
Definition at line 36 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_MKDIR 0x106 |
Definition at line 22 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_OPENDIR 0x107 |
Definition at line 23 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_READDIR 0x108 |
Definition at line 24 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_READDIR_R 0x109 |
Definition at line 25 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_RMDIR 0x10D |
Definition at line 29 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_SEEK 0x105 /* custom lseek with whence */ |
Definition at line 20 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_SEEKDIR 0x10A |
Definition at line 26 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_STAT 0x112 |
Definition at line 34 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_TELLDIR 0x10B |
Definition at line 27 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_TRUNCATE 0x10F |
Definition at line 31 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_UNLINK 0x115 |
Definition at line 37 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_UTIME 0x110 |
Definition at line 32 of file esp_semihosting.h.
#define ESP_SEMIHOSTING_SYS_WATCHPOINT_SET 0x104 |
Definition at line 19 of file esp_semihosting.h.
#define ESP_SYS_DRV_INFO_LEGACY 0xE0 |
Definition at line 12 of file esp_semihosting.h.
int esp_semihosting_basedir_command | ( | struct command_invocation * | cmd | ) |
Definition at line 89 of file esp_semihosting.c.
References semihosting::basedir, CMD, CMD_ARGC, CMD_ARGV, CMD_CTX, command_print(), ERROR_FAIL, ERROR_OK, get_current_target(), semihosting::is_active, LOG_ERROR, target::semihosting, and semihosting::setup.
int esp_semihosting_common | ( | struct target * | target | ) |
Definition at line 38 of file esp_semihosting.c.
References ERROR_NOT_IMPLEMENTED, ERROR_OK, ESP_SEMIHOSTING_SYS_APPTRACE_INIT, ESP_SEMIHOSTING_SYS_BREAKPOINT_SET, ESP_SEMIHOSTING_SYS_DEBUG_STUBS_INIT, ESP_SEMIHOSTING_SYS_DRV_INFO, esp_semihosting_sys_seek(), ESP_SEMIHOSTING_SYS_SEEK, ESP_SEMIHOSTING_SYS_WATCHPOINT_SET, LOG_TARGET_DEBUG, semihosting::op, semihosting::param, semihosting::result, target::semihosting, semihosting_get_field(), semihosting_read_fields(), and semihosting::sys_errno.
Referenced by esp_xtensa_semihosting_init().