mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 10:36:24 +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:
parent
4758dac218
commit
e88e4967d1
|
@ -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';
|
||||
|
|
|
@ -35,7 +35,7 @@ UNMAP_AFTER_INIT PTYMultiplexer::~PTYMultiplexer()
|
|||
{
|
||||
}
|
||||
|
||||
void PTYMultiplexer::initialize()
|
||||
UNMAP_AFTER_INIT void PTYMultiplexer::initialize()
|
||||
{
|
||||
the().after_inserting();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue