mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:28:11 +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
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ __attribute__((section(".kernel_symbols"))) char kernel_symbols[5 * MiB] {};
|
||||||
static KernelSymbol* s_symbols;
|
static KernelSymbol* s_symbols;
|
||||||
static size_t s_symbol_count = 0;
|
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')
|
if (nibble >= '0' && nibble <= '9')
|
||||||
return nibble - '0';
|
return nibble - '0';
|
||||||
|
|
|
@ -35,7 +35,7 @@ UNMAP_AFTER_INIT PTYMultiplexer::~PTYMultiplexer()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void PTYMultiplexer::initialize()
|
UNMAP_AFTER_INIT void PTYMultiplexer::initialize()
|
||||||
{
|
{
|
||||||
the().after_inserting();
|
the().after_inserting();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue