decompiler  1.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
ghidra::SpaceQuality Struct Reference

Qualities associated (via parsing) with an address space. More...

#include <slgh_compile.hh>

Public Types

enum  { ramtype, registertype }
 The type of space being defined. More...
 

Public Member Functions

 SpaceQuality (const string &nm)
 Constructor. More...
 

Public Attributes

string name
 Name of the address space.
 
uint4 type
 Type of address space, ramtype or registertype.
 
uint4 size
 Number of bytes required to index all bytes of the space.
 
uint4 wordsize
 Number of bytes in an addressable unit of the space.
 
bool isdefault
 true if the new address space will be the default
 

Detailed Description

Qualities associated (via parsing) with an address space.

An object of this class accumulates properties of an address space as they are parsed in the define statement prior to formally allocating the AddrSpace object.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

The type of space being defined.

Enumerator
ramtype 

An address space representing normal, indexed, memory.

registertype 

An address space containing registers.

Constructor & Destructor Documentation

◆ SpaceQuality()

ghidra::SpaceQuality::SpaceQuality ( const string &  nm)

Constructor.

Construct with the default qualities for an address space, which can then be overridden with further parsing.

Parameters
nmis the name of the address space

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