FreeBSD kernel pms device code
agsaMem_s Struct Reference

generic memory descriptor More...

#include <sa.h>

Data Fields

void * virtPtr
 
void * osHandle
 
bit32 phyAddrUpper
 
bit32 phyAddrLower
 
bit32 totalLength
 
bit32 numElements
 
bit32 singleElementLength
 
bit32 alignment
 
bit32 type
 
bit32 reserved
 

Detailed Description

generic memory descriptor

a generic memory descriptor used for describing a memory requirement in a structure

Definition at line 2463 of file sa.h.

Field Documentation

◆ alignment

bit32 agsaMem_s::alignment

Alignment in bytes needed. A value of one indicates no specific alignment requirement

Definition at line 2472 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ numElements

bit32 agsaMem_s::numElements

Number of elements

Definition at line 2470 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), siInitResources(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ osHandle

void* agsaMem_s::osHandle

Handle used for OS to free memory

Definition at line 2466 of file sa.h.

Referenced by saInitialize(), and tiCOMPortInit().

◆ phyAddrLower

bit32 agsaMem_s::phyAddrLower

Lower 32 bits of physical address

Definition at line 2468 of file sa.h.

Referenced by saInitialize(), siInitResources(), siNonFatalErrorBuffer(), and tiCOMPortInit().

◆ phyAddrUpper

bit32 agsaMem_s::phyAddrUpper

Upper 32 bits of physical address

Definition at line 2467 of file sa.h.

Referenced by saInitialize(), siNonFatalErrorBuffer(), and tiCOMPortInit().

◆ reserved

bit32 agsaMem_s::reserved

reserved

Definition at line 2475 of file sa.h.

Referenced by tiCOMPortInit().

◆ singleElementLength

bit32 agsaMem_s::singleElementLength

Size in bytes of an element

Definition at line 2471 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ totalLength

bit32 agsaMem_s::totalLength

Total length in bytes allocated

Definition at line 2469 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), siInitResources(), siNonFatalErrorBuffer(), tdsaLoLevelGetResource(), tiCOMMgntIOCTL(), and tiCOMPortInit().

◆ type

bit32 agsaMem_s::type

DMA or Cache

Definition at line 2474 of file sa.h.

Referenced by saGetRequirements(), saInitialize(), siInitResources(), tdsaLoLevelGetResource(), and tiCOMPortInit().

◆ virtPtr

void* agsaMem_s::virtPtr

Virtual pointer to the memory chunk

Definition at line 2465 of file sa.h.

Referenced by saInitialize(), siInitResources(), siNonFatalErrorBuffer(), tiCOMMgntIOCTL(), and tiCOMPortInit().


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