naseeam
asked on
What is the array size?
/// Maps out the port registers.
struct PortReg
{
volatile uint32 *Set;
volatile uint32 *Clear;
volatile uint32 *State;
volatile uint32 *Mask;
volatile uint32 *Dir;
volatile uint32 *FunctionLower;
volatile uint32 *FunctionUpper;
volatile uint32 *ModeLower;
volatile uint32 *ModeUpper;
volatile uint32 *OutputReg;
};
static const PortReg PortRegList[];
Is this allowed? Aren't we required to specify the array size?
struct PortReg
{
volatile uint32 *Set;
volatile uint32 *Clear;
volatile uint32 *State;
volatile uint32 *Mask;
volatile uint32 *Dir;
volatile uint32 *FunctionLower;
volatile uint32 *FunctionUpper;
volatile uint32 *ModeLower;
volatile uint32 *ModeUpper;
volatile uint32 *OutputReg;
};
static const PortReg PortRegList[];
Is this allowed? Aren't we required to specify the array size?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.