mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Run clang-format on Process.cpp & ACPIDynamicParser.h
This commit is contained in:
parent
1b8cd6db7b
commit
85eb1d26d5
Notes:
sideshowbarker
2024-07-19 08:53:23 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/85eb1d26d52 Pull-request: https://github.com/SerenityOS/serenity/pull/1343 Reviewed-by: https://github.com/awesomekling
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…
Reference in a new issue