BIOS: Replace TTY patch with syscall hook

This commit is contained in:
Stenzek
2023-08-29 21:18:04 +10:00
parent 34e4bfdfcd
commit 199c53f3af
13 changed files with 152 additions and 52 deletions

View File

@ -9,6 +9,7 @@
#include <bitset>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
class StateWrapper;
@ -180,4 +181,8 @@ u8* GetMemoryRegionPointer(MemoryRegion region);
std::optional<PhysicalMemoryAddress> SearchMemory(PhysicalMemoryAddress start_address, const u8* pattern,
const u8* mask, u32 pattern_length);
// TTY Logging.
void AddTTYCharacter(char ch);
void AddTTYString(const std::string_view& str);
} // namespace Bus