1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:54:58 +00:00

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';