gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::X86ISA::ACPI::LinearAllocator Struct Reference

#include <acpi.hh>

Inheritance diagram for gem5::X86ISA::ACPI::LinearAllocator:
gem5::X86ISA::ACPI::Allocator

Public Member Functions

 LinearAllocator (Addr begin, Addr end=0)
Addr alloc (std::size_t size, unsigned align) override

Protected Attributes

Addr next
Addr const end

Detailed Description

Definition at line 80 of file acpi.hh.

Constructor & Destructor Documentation

◆ LinearAllocator()

gem5::X86ISA::ACPI::LinearAllocator::LinearAllocator ( Addr begin,
Addr end = 0 )
inline

Definition at line 82 of file acpi.hh.

References end, and next.

Member Function Documentation

◆ alloc()

Addr gem5::X86ISA::ACPI::LinearAllocator::alloc ( std::size_t size,
unsigned align )
overridevirtual

Implements gem5::X86ISA::ACPI::Allocator.

Definition at line 91 of file acpi.cc.

References end, next, and gem5::X86ISA::offset.

Referenced by gem5::X86ISA::FsWorkload::writeOutACPITables().

Member Data Documentation

◆ end

Addr const gem5::X86ISA::ACPI::LinearAllocator::end
protected

Definition at line 91 of file acpi.hh.

Referenced by alloc(), and LinearAllocator().

◆ next

Addr gem5::X86ISA::ACPI::LinearAllocator::next
protected

Definition at line 90 of file acpi.hh.

Referenced by alloc(), and LinearAllocator().


The documentation for this struct was generated from the following files:

Generated on Sat Oct 18 2025 08:07:53 for gem5 by doxygen 1.14.0