Kernel: Mark PTYMultiplexer init & parse_hex_digit as UNMAP_AFTER_INIT

Noticed these boot only functions are not currently UNMAP_AFTER_INIT.
Lets fix that :^)
This commit is contained in:
Brian Gianforcaro 2021-12-24 05:19:13 -08:00 committed by Brian Gianforcaro
parent 4758dac218
commit e88e4967d1
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ __attribute__((section(".kernel_symbols"))) char kernel_symbols[5 * MiB] {};
static KernelSymbol* s_symbols;
static size_t s_symbol_count = 0;
static u8 parse_hex_digit(char nibble)
UNMAP_AFTER_INIT static u8 parse_hex_digit(char nibble)
{
if (nibble >= '0' && nibble <= '9')
return nibble - '0';

View file

@ -35,7 +35,7 @@ UNMAP_AFTER_INIT PTYMultiplexer::~PTYMultiplexer()
{
}
void PTYMultiplexer::initialize()
UNMAP_AFTER_INIT void PTYMultiplexer::initialize()
{
the().after_inserting();
}