gem5 v24.0.0.0
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.

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().

◆ next

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

Definition at line 90 of file acpi.hh.

Referenced by alloc().


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

Generated on Tue Jun 18 2024 16:24:54 for gem5 by doxygen 1.11.0