OpenOCD
smp.c File Reference
Include dependency graph for smp.c:

Go to the source code of this file.

Macros

#define DEPRECATED_MSG   "DEPRECATED: This method is deprecated in favor of the hwthread pseudo RTOS"
 

Functions

 COMMAND_HANDLER (default_handle_smp_command)
 
 COMMAND_HANDLER (handle_smp_gdb_command)
 
int gdb_read_smp_packet (struct connection *connection, char const *packet, int packet_size)
 
int gdb_write_smp_packet (struct connection *connection, char const *packet, int packet_size)
 

Variables

const struct command_registration smp_command_handlers []
 

Macro Definition Documentation

◆ DEPRECATED_MSG

#define DEPRECATED_MSG   "DEPRECATED: This method is deprecated in favor of the hwthread pseudo RTOS"

Definition at line 47 of file smp.c.

Function Documentation

◆ COMMAND_HANDLER() [1/2]

◆ COMMAND_HANDLER() [2/2]

◆ gdb_read_smp_packet()

int gdb_read_smp_packet ( struct connection connection,
char const *  packet,
int  packet_size 
)

◆ gdb_write_smp_packet()

int gdb_write_smp_packet ( struct connection connection,
char const *  packet,
int  packet_size 
)

Variable Documentation

◆ smp_command_handlers

const struct command_registration smp_command_handlers[]
Initial value:
= {
{
.name = "smp",
.handler = default_handle_smp_command,
.mode = COMMAND_EXEC,
.help = "smp handling",
.usage = "[on|off]",
},
{
.name = "smp_gdb",
.handler = handle_smp_gdb_command,
.mode = COMMAND_EXEC,
.help = "display/fix current core played to gdb",
.usage = "",
},
}
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
Definition: command.h:247
@ COMMAND_EXEC
Definition: command.h:40

Definition at line 131 of file smp.c.