CIRCT
20.0.0git
|
Implement the SysInfo API for a standard MMIO protocol. More...
#include <Services.h>
Public Member Functions | |
MMIOSysInfo (const MMIO *) | |
uint32_t | getEsiVersion () const override |
Get the ESI version number to check version compatibility. More... | |
virtual std::vector< uint8_t > | getCompressedManifest () const override |
Return the zlib compressed JSON system manifest. More... | |
Public Member Functions inherited from esi::services::SysInfo | |
virtual | ~SysInfo ()=default |
virtual std::string | getServiceSymbol () const override |
virtual std::string | getJsonManifest () const |
Return the JSON-formatted system manifest. More... | |
Public Member Functions inherited from esi::services::Service | |
virtual | ~Service ()=default |
virtual Service * | getChildService (AcceleratorConnection *conn, Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={}) |
Create a "child" service of this service. More... | |
virtual ServicePort * | getPort (AppIDPath id, const BundleType *type, const std::map< std::string, ChannelPort & > &, AcceleratorConnection &) const |
Get specialized port for this service to attach to the given appid path. More... | |
Private Attributes | |
const MMIO * | mmio |
Additional Inherited Members | |
Public Types inherited from esi::services::Service | |
using | Type = const std::type_info & |
Implement the SysInfo API for a standard MMIO protocol.
Definition at line 180 of file Services.h.
MMIOSysInfo::MMIOSysInfo | ( | const MMIO * | mmio | ) |
Definition at line 137 of file Services.cpp.
|
overridevirtual |
Return the zlib compressed JSON system manifest.
Implements esi::services::SysInfo.
Definition at line 146 of file Services.cpp.
References getEsiVersion(), esi::MetadataOffset, mmio, and esi::services::MMIO::read().
|
overridevirtual |
Get the ESI version number to check version compatibility.
Implements esi::services::SysInfo.
Definition at line 139 of file Services.cpp.
References esi::MagicNumber, esi::MetadataOffset, mmio, esi::services::MMIO::read(), seq::reg(), and esi::toHex().
Referenced by getCompressedManifest().
|
private |
Definition at line 191 of file Services.h.
Referenced by getCompressedManifest(), and getEsiVersion().