38#ifndef __DEV_ARM_CSS_SCMI_PLATFORM_H__
39#define __DEV_ARM_CSS_SCMI_PLATFORM_H__
45#include "params/ScmiPlatform.hh"
97 } baseProtocolVersion;
103 } baseProtocolAttributes;
113 } baseProtocolMessageAttributes;
119 } baseDiscoverVendor;
125 } baseDiscoverSubVendor;
130 uint32_t implementationVersion;
131 } baseDiscoverImplementationVersion;
140 uint32_t numProtocols;
142 } baseDiscoverListProtocols;
The AddrRange class encapsulates an address range, and supports a number of tests to check if two ran...
ClockedObjectParams Params
Parameters of ClockedObject.
Generic doorbell interface.
Ports are used to interface objects to each other.
Abstract superclass for simulation objects.
This is a Agent to Platform channel (The agent is the initiator)
AgentChannel(const ScmiChannelParams &p)
EventFunctionWrapper handleMessageEvent
EventFunctionWrapper readLengthEvent
EventFunctionWrapper readMessageEvent
The SCMI Communication class models a bidirectional communication between the SCMI platform and the a...
Communication(const ScmiCommunicationParams &p)
PlatformChannel * platformChan
static const uint32_t MAX_STRING_SIZE
Generic communication channel between the Agent and the Platform.
void setPlatform(Platform *_platform)
Set a pointer to the SCMI platform.
VirtualChannel(const ScmiChannelParams &p)
constexpr T bits(T val, unsigned first, unsigned last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
#define EndBitUnion(name)
This closes off the class and union started by the above macro.
Bitfield< 9, 8 > messageType
Bitfield< 7, 0 > messageId
static const uint8_t PROTOCOL_MAX
Bitfield< 17, 10 > protocolId
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
const std::string & name()