libdragon
Loading...
Searching...
No Matches
rdpq_debug_internal.h
Go to the documentation of this file.
1
5#ifndef LIBDRAGON_RDPQ_DEBUG_INTERNAL_H
6#define LIBDRAGON_RDPQ_DEBUG_INTERNAL_H
7
8#include <stdio.h>
9#include <stdint.h>
10#include <stdbool.h>
11
18extern void (*rdpq_trace)(void);
19
35extern void (*rdpq_trace_fetch)(bool new_buffer);
36
47void rdpq_validate(uint64_t *buf, uint32_t flags, int *errs, int *warns);
48
50#define RDPQ_VALIDATE_FLAG_NOECHO 0x00000001
51
53#define RDPQ_LOG_FLAG_SHOWTRIS 0x00000001
54
56extern int __rdpq_debug_log_flags;
57
73#define RDPQ_VALIDATE_DETACH_ADDR 0x00800000
74
75#endif /* LIBDRAGON_RDPQ_DEBUG_INTERNAL_H */
void rdpq_validate(uint64_t *buf, uint32_t flags, int *errs, int *warns)
Validate the next RDP command, given the RDP current state.
Definition rdpq_debug.c:1430
void(* rdpq_trace)(void)
Log all the commands run by RDP until the time of this call.
void(* rdpq_trace_fetch)(bool new_buffer)
Notify the trace engine that RDP is about to change buffer.
int __rdpq_debug_log_flags
Flags that configure the logging.
Definition rdpq_debug.c:43