mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:18:11 +00:00
Bootloader: Locate the kernel's data segment and clear it.
This was a constant source of stupid bugs and I kept postponing it because I wasn't in the mood to write assembly code. Until now! :^)
This commit is contained in:
parent
781f216676
commit
a1b63bb6d4
22 changed files with 54 additions and 83 deletions
|
@ -50,12 +50,6 @@ static inline constexpr size_t font_file_size(unsigned glyph_height)
|
|||
return sizeof(FontFileHeader) + 256 * sizeof(dword) * glyph_height;
|
||||
}
|
||||
|
||||
void Font::initialize()
|
||||
{
|
||||
s_default_font = nullptr;
|
||||
s_default_bold_font = nullptr;
|
||||
}
|
||||
|
||||
Font& Font::default_font()
|
||||
{
|
||||
static const char* default_font_path = "/res/fonts/LizaRegular8x10.font";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue