toolchain: add new debugging tool using magenta_debug
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef PACKET_H_
|
||||
#define PACKET_H_
|
||||
|
||||
#include <fx/queue.h>
|
||||
#include <magenta/debug/packet.h>
|
||||
|
||||
struct packet {
|
||||
fx_queue_entry p_entry;
|
||||
struct mxdbg_packet p_packet;
|
||||
/* excess packet data here */
|
||||
};
|
||||
|
||||
extern struct packet *packet_create(size_t packet_size);
|
||||
extern void packet_destroy(struct packet *packet);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user