mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 11:18:13 +00:00
Kernel: Run clang-format on Process.cpp & ACPIDynamicParser.h
This commit is contained in:
parent
1b8cd6db7b
commit
85eb1d26d5
2 changed files with 20 additions and 22 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue