dmnt: add basic gdb packet receive logic

This commit is contained in:
Michael Scire 2021-07-16 00:31:17 -07:00 committed by SciresM
parent db7268de2e
commit f85df27875
11 changed files with 752 additions and 8 deletions

View file

@ -24,11 +24,10 @@ namespace ams::dmnt {
namespace {
constexpr size_t NumLogBuffers = 16;
constexpr size_t NumLogBuffers = 0x200;
constexpr size_t LogBufferSize = 0x100;
/* TODO: This shouldn't be so high priority. Come up with a better number? */
constexpr inline auto LogThreadPriority = 10;
constexpr inline auto LogThreadPriority = os::HighestThreadPriority - 2;
constinit os::MessageQueueType g_buf_mq;
constinit os::MessageQueueType g_req_mq;