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
Notes: sideshowbarker 2024-07-19 08:53:23 +09:00
2 changed files with 20 additions and 22 deletions

View file

@ -35,30 +35,29 @@
namespace Kernel {
namespace ACPI {
class DynamicParser final : public IRQHandler
, StaticParser {
public:
static void initialize(PhysicalAddress rsdp);
static void initialize_without_rsdp();
class DynamicParser final : public IRQHandler
, StaticParser {
public:
static void initialize(PhysicalAddress rsdp);
static void initialize_without_rsdp();
virtual void enable_aml_interpretation() override;
virtual void enable_aml_interpretation(File& dsdt_file) override;
virtual void enable_aml_interpretation(u8* physical_dsdt, u32 dsdt_payload_legnth) override;
virtual void disable_aml_interpretation() override;
virtual void try_acpi_shutdown() override;
virtual bool can_shutdown() override { return true; }
virtual void enable_aml_interpretation() override;
virtual void enable_aml_interpretation(File& dsdt_file) override;
virtual void enable_aml_interpretation(u8* physical_dsdt, u32 dsdt_payload_legnth) override;
virtual void disable_aml_interpretation() override;
virtual void try_acpi_shutdown() override;
virtual bool can_shutdown() override { return true; }
protected:
DynamicParser();
explicit DynamicParser(PhysicalAddress);
protected:
DynamicParser();
explicit DynamicParser(PhysicalAddress);
private:
void build_namespace();
// ^IRQHandler
virtual void handle_irq(RegisterState&) override;
OwnPtr<Region> m_acpi_namespace;
};
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.