pstore2
Public Types | Public Member Functions | Static Public Member Functions | List of all members
pstore::repo::bss_section Class Reference
Inheritance diagram for pstore::repo::bss_section:
Inheritance graph
[legend]
Collaboration diagram for pstore::repo::bss_section:
Collaboration graph
[legend]

Public Types

using size_type = std::uint32_t
 

Public Member Functions

 bss_section (unsigned const align, size_type const size)
 
 bss_section (bss_section const &)=delete
 
 bss_section (bss_section &&)=delete
 
bss_sectionoperator= (bss_section const &)=delete
 
bss_sectionoperator= (bss_section &&)=delete
 
unsigned align () const noexcept
 
size_type size () const noexcept
 

Static Public Member Functions

static container< internal_fixupifixups ()
 
static container< external_fixupxfixups ()
 
static std::size_t size_bytes () noexcept
 Returns the number of bytes occupied by this section.
 

Constructor & Destructor Documentation

◆ bss_section()

pstore::repo::bss_section::bss_section ( unsigned const  align,
size_type const  size 
)
inline
Parameters
alignThe alignment of the BSS data. Must be a power of 2.
sizeThe number of bytes of BSS data.

Member Data Documentation

◆ align_

bit_field<std::uint64_t, 0, 8> pstore::repo::bss_section::align_

The alignment of this section expressed as a power of two (i.e.

8 byte alignment is expressed as an align_ value of 3). (Allowing for as many as 8 bits here is probably a little excessive.)


The documentation for this class was generated from the following file: