libdragon
rdpq_debug_internal.h
1#ifndef LIBDRAGON_RDPQ_DEBUG_INTERNAL_H
2#define LIBDRAGON_RDPQ_DEBUG_INTERNAL_H
3
4#include <stdio.h>
5#include <stdint.h>
6#include <stdbool.h>
7
14extern void (*rdpq_trace)(void);
15
31extern void (*rdpq_trace_fetch)(bool new_buffer);
32
43void rdpq_validate(uint64_t *buf, uint32_t flags, int *errs, int *warns);
44
46#define RDPQ_VALIDATE_FLAG_NOECHO 0x00000001
47
49#define RDPQ_LOG_FLAG_SHOWTRIS 0x00000001
50
52extern int __rdpq_debug_log_flags;
53
69#define RDPQ_VALIDATE_DETACH_ADDR 0x00800000
70
71#endif /* LIBDRAGON_RDPQ_DEBUG_INTERNAL_H */
int __rdpq_debug_log_flags
Flags that configure the logging.
Definition: rdpq_debug.c:42
void rdpq_validate(uint64_t *buf, uint32_t flags, int *r_errs, int *r_warns)
Validate the next RDP command, given the RDP current state.
Definition: rdpq_debug.c:1309