X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=src%2Ftarget%2Fsmp.h;h=f024b402352629d06adbda2cda03aa599bfa58ff;hp=69a5cd8557343b472066d550ffa6cf00cd042657;hb=246782229f8f7536bee66322dbe7f366b85628ec;hpb=9b2577742cc49683ab0ea8506d93e3e285b53bbd diff --git a/src/target/smp.h b/src/target/smp.h index 69a5cd8557..f024b40235 100644 --- a/src/target/smp.h +++ b/src/target/smp.h @@ -13,15 +13,22 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ +#ifndef OPENOCD_TARGET_SMP_H +#define OPENOCD_TARGET_SMP_H + #include "server/server.h" +#define foreach_smp_target(pos, head) \ + for (pos = head; (pos != NULL); pos = pos->next) + +extern const struct command_registration smp_command_handlers[]; + 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); +#endif /* OPENOCD_TARGET_SMP_H */