1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 13:57:35 +00:00

Kernel: Run clang-format on Process.cpp & ACPIDynamicParser.h

This commit is contained in:
Liav A 2020-03-03 19:29:32 +02:00 committed by Andreas Kling
parent 1b8cd6db7b
commit 85eb1d26d5
2 changed files with 20 additions and 22 deletions

View file

@ -35,9 +35,9 @@
namespace Kernel {
namespace ACPI {
class DynamicParser final : public IRQHandler
class DynamicParser final : public IRQHandler
, StaticParser {
public:
public:
static void initialize(PhysicalAddress rsdp);
static void initialize_without_rsdp();
@ -48,17 +48,16 @@ public:
virtual void try_acpi_shutdown() override;
virtual bool can_shutdown() override { return true; }
protected:
protected:
DynamicParser();
explicit DynamicParser(PhysicalAddress);
private:
private:
void build_namespace();
// ^IRQHandler
virtual void handle_irq(RegisterState&) override;
OwnPtr<Region> m_acpi_namespace;
};
};
}
}

View file

@ -829,7 +829,6 @@ int Process::do_exec(NonnullRefPtr<FileDescription> main_program_description, Ve
dbg() << "Process " << pid() << " exec: PD=" << m_page_directory.ptr() << " created";
#endif
InodeMetadata loader_metadata;
// FIXME: Hoooo boy this is a hack if I ever saw one.