CIRCT 22.0.0git
Loading...
Searching...
No Matches
Services.cpp
Go to the documentation of this file.
1//===- StdServices.cpp - implementations of std services ------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// DO NOT EDIT!
10// This file is distributed as part of an ESI package. The source for this file
11// should always be modified within CIRCT
12// (lib/dialect/ESI/runtime/cpp/lib/backends/Cosim.cpp).
13//
14//===----------------------------------------------------------------------===//
15
16#include "esi/Services.h"
17#include "esi/Accelerator.h"
18#include "esi/Engines.h"
19
20#include "zlib.h"
21
22#include <cassert>
23#include <stdexcept>
24
25using namespace esi;
26using namespace esi::services;
27
29 std::string implName,
30 ServiceImplDetails details,
31 HWClientDetails clients) {
32 return conn.getService(service, id, implName, details, clients);
33}
34
35std::string SysInfo::getServiceSymbol() const { return "__builtin_SysInfo"; }
36
37// Allocate 10MB for the uncompressed manifest. This should be plenty.
38constexpr uint32_t MAX_MANIFEST_SIZE = 10 << 20;
39/// Get the compressed manifest, uncompress, and return it.
40std::string SysInfo::getJsonManifest() const {
41 std::vector<uint8_t> compressed = getCompressedManifest();
42 std::vector<Bytef> dst(MAX_MANIFEST_SIZE);
43 uLongf dstSize = MAX_MANIFEST_SIZE;
44 int rc =
45 uncompress(dst.data(), &dstSize, compressed.data(), compressed.size());
46 if (rc != Z_OK)
47 throw std::runtime_error("zlib uncompress failed with rc=" +
48 std::to_string(rc));
49 return std::string(reinterpret_cast<char *>(dst.data()), dstSize);
50}
51
52//===----------------------------------------------------------------------===//
53// MMIO class implementations.
54//===----------------------------------------------------------------------===//
55
57 const HWClientDetails &clients)
58 : Service(conn) {
59 AppIDPath idParent = idPath.parent();
60 for (const HWClientDetail &client : clients) {
61 auto offsetIter = client.implOptions.find("offset");
62 if (offsetIter == client.implOptions.end())
63 throw std::runtime_error("MMIO client missing 'offset' option");
64 const Constant *offset = std::any_cast<Constant>(&offsetIter->second);
65 if (!offset)
66 throw std::runtime_error(
67 "MMIO client 'offset' option must be a constant");
68 const uint64_t *offsetVal = std::any_cast<uint64_t>(&offset->value);
69 if (!offsetVal)
70 throw std::runtime_error(
71 "MMIO client 'offset' option must be an integer");
72 if (*offsetVal >= 1ull << 32)
73 throw std::runtime_error("MMIO client offset mustn't exceed 32 bits");
74
75 auto sizeIter = client.implOptions.find("size");
76 if (sizeIter == client.implOptions.end())
77 throw std::runtime_error("MMIO client missing 'size' option");
78 const Constant *size = std::any_cast<Constant>(&sizeIter->second);
79 if (!size)
80 throw std::runtime_error("MMIO client 'size' option must be a constant");
81 const uint64_t *sizeVal = std::any_cast<uint64_t>(&size->value);
82 if (!sizeVal)
83 throw std::runtime_error("MMIO client 'size' option must be an integer");
84 if (*sizeVal >= 1ull << 32)
85 throw std::runtime_error("MMIO client size mustn't exceed 32 bits");
86 regions[client.relPath] = RegionDescriptor{
87 static_cast<uint32_t>(*offsetVal), static_cast<uint32_t>(*sizeVal)};
88 }
89}
90
91std::string MMIO::getServiceSymbol() const {
92 return std::string(MMIO::StdName);
93}
95 auto regionIter = regions.find(id);
96 if (regionIter == regions.end())
97 return nullptr;
98 return new MMIORegion(id.back(), const_cast<MMIO *>(this),
99 regionIter->second);
100}
101
102namespace {
103class MMIOPassThrough : public MMIO {
104public:
105 MMIOPassThrough(const HWClientDetails &clients, const AppIDPath &idPath,
106 MMIO *parent)
107 : MMIO(parent->getConnection(), idPath, clients), parent(parent) {}
108 uint64_t read(uint32_t addr) const override { return parent->read(addr); }
109 void write(uint32_t addr, uint64_t data) override {
110 parent->write(addr, data);
111 }
112
113private:
114 MMIO *parent;
115};
116} // namespace
117
119 std::string implName, ServiceImplDetails details,
120 HWClientDetails clients) {
121 if (service != typeid(MMIO))
122 return Service::getChildService(service, id, implName, details, clients);
123 return new MMIOPassThrough(clients, id, this);
124}
125
126//===----------------------------------------------------------------------===//
127// MMIO Region service port class implementations.
128//===----------------------------------------------------------------------===//
129
131 : ServicePort(id, nullptr, {}), parent(parent), desc(desc) {}
132uint64_t MMIO::MMIORegion::read(uint32_t addr) const {
133 if (addr >= desc.size)
134 throw std::runtime_error("MMIO read out of bounds: " + toHex(addr));
135 return parent->read(desc.base + addr);
136}
137void MMIO::MMIORegion::write(uint32_t addr, uint64_t data) {
138 if (addr >= desc.size)
139 throw std::runtime_error("MMIO write out of bounds: " + toHex(addr));
140 parent->write(desc.base + addr, data);
141}
142
144 : SysInfo(mmio->getConnection()), mmio(mmio) {}
145
147 uint64_t reg;
149 throw std::runtime_error("Invalid magic number: " + toHex(reg));
151}
152
153std::optional<uint64_t> MMIOSysInfo::getCycleCount() const {
155}
156
157std::optional<uint64_t> MMIOSysInfo::getCoreClockFrequency() const {
158 uint64_t freq = mmio->read(MetadataOffset + CoreFreqOffset);
159 if (freq == 0)
160 return std::nullopt;
161 return freq;
162}
163
164std::vector<uint8_t> MMIOSysInfo::getCompressedManifest() const {
165 uint64_t version = getEsiVersion();
166 if (version != 0)
167 throw std::runtime_error("Unsupported ESI header version: " +
168 std::to_string(version));
169 uint64_t manifestPtr = mmio->read(MetadataOffset + ManifestPtrOffset);
170 uint64_t size = mmio->read(manifestPtr);
171 uint64_t numWords = (size + 7) / 8;
172 std::vector<uint64_t> manifestWords(numWords);
173 for (size_t i = 0; i < numWords; ++i)
174 manifestWords[i] = mmio->read(manifestPtr + 8 + (i * 8));
175
176 std::vector<uint8_t> manifest;
177 for (size_t i = 0; i < size; ++i) {
178 uint64_t word = manifestWords[i / 8];
179 manifest.push_back(word >> (8 * (i % 8)));
180 }
181 return manifest;
182}
183
184std::string HostMem::getServiceSymbol() const { return "__builtin_HostMem"; }
185
187 const ServiceImplDetails &details,
188 const HWClientDetails &clients)
189 : Service(conn), id(idPath) {
190 if (auto f = details.find("service"); f != details.end()) {
191 serviceSymbol = std::any_cast<std::string>(f->second);
192 // Strip off initial '@'.
193 serviceSymbol = serviceSymbol.substr(1);
194 }
195}
196
198 return new BundlePort(id.back(), type,
199 conn.getEngineMapFor(id).requestPorts(id, type));
200}
201
203 ServiceImplDetails details, HWClientDetails clients)
204 : Service(conn) {
205
206 if (auto f = details.find("service"); f != details.end())
207 // Strip off initial '@'.
208 symbol = std::any_cast<std::string>(f->second).substr(1);
209}
210
211std::string FuncService::getServiceSymbol() const { return symbol; }
212
214 return new Function(id.back(), type,
215 conn.getEngineMapFor(id).requestPorts(id, type));
216}
217
219 WriteChannelPort &arg,
220 ReadChannelPort &result) {
221 return new Function(
222 id, type, {{std::string("arg"), arg}, {std::string("result"), result}});
223 return nullptr;
224}
225
227 if (connected)
228 throw std::runtime_error("Function is already connected");
229 if (channels.size() != 2)
230 throw std::runtime_error("FuncService must have exactly two channels");
231 arg = &getRawWrite("arg");
232 arg->connect();
233 result = &getRawRead("result");
234 result->connect();
235 connected = true;
236}
237
238std::future<MessageData>
240 if (!connected)
241 throw std::runtime_error("Function must be 'connect'ed before calling");
242 std::scoped_lock<std::mutex> lock(callMutex);
243 arg->write(argData);
244 return result->readAsync();
245}
246
248 ServiceImplDetails details)
249 : Service(acc) {
250 if (auto f = details.find("service"); f != details.end())
251 // Strip off initial '@'.
252 symbol = std::any_cast<std::string>(f->second).substr(1);
253}
254
255std::string CallService::getServiceSymbol() const { return symbol; }
256
258 return new Callback(conn, id.back(), type,
259 conn.getEngineMapFor(id).requestPorts(id, type));
260}
261
263 const BundleType *type, PortMap channels)
264 : ServicePort(id, type, channels), acc(acc) {}
265
267 AppID id,
268 const BundleType *type,
269 WriteChannelPort &result,
270 ReadChannelPort &arg) {
271 return new Callback(acc, id, type, {{"arg", arg}, {"result", result}});
272}
273
275 std::function<MessageData(const MessageData &)> callback, bool quick) {
276 if (channels.size() != 2)
277 throw std::runtime_error("CallService must have exactly two channels");
278 result = &getRawWrite("result");
279 result->connect();
280 arg = &getRawRead("arg");
281 if (quick) {
282 // If it's quick, we can just call the callback directly.
283 arg->connect([this, callback](MessageData argMsg) -> bool {
284 MessageData resultMsg = callback(std::move(argMsg));
285 this->result->write(std::move(resultMsg));
286 return true;
287 });
288 } else {
289 // If it's not quick, we need to use the service thread.
290 arg->connect();
291 acc.getServiceThread()->addListener(
292 {arg}, [this, callback](ReadChannelPort *, MessageData argMsg) -> void {
293 MessageData resultMsg = callback(std::move(argMsg));
294 this->result->write(std::move(resultMsg));
295 });
296 }
297}
298
301 ServiceImplDetails details,
302 HWClientDetails clients)
303 : Service(conn), id(idPath), mmio(nullptr) {
304 // Compute our parents idPath path.
305 AppIDPath prefix = std::move(idPath);
306 if (prefix.size() > 0)
307 prefix.pop_back();
308 for (const HWClientDetail &client : clients) {
309 if (client.implOptions.contains("type") &&
310 std::any_cast<std::string>(client.implOptions.at("type")) != "mmio")
311 continue; // Not an MMIO assignment.
312 AppIDPath fullClientPath = prefix + client.relPath;
313 auto offsetIter = client.implOptions.find("offset");
314 if (offsetIter == client.implOptions.end()) {
315 conn.getLogger().warning("Telemetry",
316 "mmio client " + fullClientPath.toStr() +
317 " missing 'offset' option, skipping");
318 continue;
319 }
320 const Constant *offset = std::any_cast<Constant>(&offsetIter->second);
321 if (offset == nullptr) {
323 "Telemetry", "mmio client " + fullClientPath.toStr() +
324 " 'offset' option must be a constant, skipping");
325 continue;
326 }
327 const uint64_t *offsetVal = std::any_cast<uint64_t>(&offset->value);
328 if (offsetVal == nullptr) {
330 "Telemetry", "mmio client " + fullClientPath.toStr() +
331 " 'offset' option must be an integer, skipping");
332 continue;
333 }
334 portAddressAssignments.emplace(fullClientPath, *offsetVal);
335 }
336}
337
339 return std::string(TelemetryService::StdName);
340}
341
343 if (!mmio) {
344 AppIDPath lastPath;
345 AppIDPath mmioPath = id;
346 mmioPath.pop_back();
347 mmioPath.push_back(AppID("__telemetry_mmio"));
348 auto port = conn.getAccelerator().resolvePort(mmioPath, lastPath);
349 if (!port)
350 throw std::runtime_error("TelemetryService: could not resolve port " +
351 id.toStr() + ". Got as far as " +
352 lastPath.toStr());
353 mmio = dynamic_cast<MMIO::MMIORegion *>(port);
354 if (!mmio)
355 throw std::runtime_error("TelemetryService: port " + id.toStr() +
356 " is not a MMIO region");
357 }
358 return mmio;
359}
360
362 const BundleType *type) const {
363 auto offsetIter = portAddressAssignments.find(id);
364 auto *port = new Metric(id.back(), type, {}, this,
365 offsetIter != portAddressAssignments.end()
366 ? std::optional<uint64_t>(offsetIter->second)
367 : std::nullopt);
368 telemetryPorts.insert(std::make_pair(id, port));
369 return port;
370}
371
373 std::string implName,
374 ServiceImplDetails details,
375 HWClientDetails clients) {
376 TelemetryService *child = new TelemetryService(id, conn, details, clients);
377 children.push_back(child);
378 return child;
379}
380
382 PortMap channels,
383 const TelemetryService *telemetryService,
384 std::optional<uint64_t> offset)
385 : ServicePort(id, type, channels), telemetryService(telemetryService),
386 mmio(nullptr), offset(offset) {}
387
388/// Connect to a particular telemetry port. Offset should be non-nullopt.
390 if (!offset.has_value())
391 throw std::runtime_error("Telemetry offset not found for " + id.toString());
392 mmio = telemetryService->getMMIORegion();
393 assert(mmio && "TelemetryService: MMIO region not found");
394}
395
396std::future<MessageData> TelemetryService::Metric::read() {
397 return std::async(std::launch::async, [this]() {
398 uint64_t data = readInt();
399 return MessageData::from(data);
400 });
401}
402
404 assert(offset.has_value() &&
405 "Telemetry offset must be set. Checked in connect().");
406 assert(mmio && "TelemetryService: MMIO region not set");
407 return mmio->read(*offset);
408}
409
410void TelemetryService::getTelemetryPorts(std::map<AppIDPath, Metric *> &ports) {
411 for (const auto &entry : telemetryPorts)
412 ports[entry.first] = entry.second;
413 for (TelemetryService *child : children)
414 child->getTelemetryPorts(ports);
415}
416
418 Service::Type svcType, AppIDPath id,
419 std::string implName,
420 ServiceImplDetails details,
421 HWClientDetails clients) {
422 // TODO: Add a proper registration mechanism.
423 if (svcType == typeid(FuncService))
424 return new FuncService(id, *acc, details, clients);
425 if (svcType == typeid(CallService))
426 return new CallService(*acc, id, details);
427 if (svcType == typeid(TelemetryService))
428 return new TelemetryService(id, *acc, details, clients);
429 if (svcType == typeid(CustomService))
430 return new CustomService(id, *acc, details, clients);
431 return nullptr;
432}
433
435 // TODO: Add a proper registration mechanism.
436 if (svcName == "esi.service.std.func")
437 return typeid(FuncService);
438 if (svcName == "esi.service.std.call")
439 return typeid(CallService);
440 if (svcName == MMIO::StdName)
441 return typeid(MMIO);
442 if (svcName == HostMem::StdName)
443 return typeid(HostMem);
444 if (svcName == TelemetryService::StdName)
445 return typeid(TelemetryService);
446 return typeid(CustomService);
447}
assert(baseType &&"element must be base type")
constexpr uint32_t MAX_MANIFEST_SIZE
Definition Services.cpp:38
Abstract class representing a connection to an accelerator.
Definition Accelerator.h:89
ServiceClass * getService(AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={})
Get a typed reference to a particular service type.
Accelerator & getAccelerator()
virtual const BundleEngineMap & getEngineMapFor(AppIDPath id)
Logger & getLogger() const
Definition Accelerator.h:94
std::string toStr() const
Definition Manifest.cpp:781
AppIDPath parent() const
Definition Manifest.cpp:774
PortMap requestPorts(const AppIDPath &idPath, const BundleType *bundleType) const
Request ports for all the channels in a bundle.
Definition Engines.cpp:470
Services provide connections to 'bundles' – collections of named, unidirectional communication channe...
Definition Ports.h:433
const BundleType * type
Definition Ports.h:476
Bundles represent a collection of channels.
Definition Types.h:97
BundlePort * resolvePort(const AppIDPath &path, AppIDPath &lastLookup) const
Attempt to resolve a path to a port.
Definition Design.cpp:72
virtual void warning(const std::string &subsystem, const std::string &msg, const std::map< std::string, std::any > *details=nullptr)
Report a warning.
Definition Logging.h:70
A logical chunk of data representing serialized data.
Definition Common.h:113
static MessageData from(T &t)
Cast from a type to its raw bytes.
Definition Common.h:158
A ChannelPort which reads data from the accelerator.
Definition Ports.h:318
A ChannelPort which sends data to the accelerator.
Definition Ports.h:206
A function call which gets attached to a service port.
Definition Services.h:343
static Callback * get(AcceleratorConnection &acc, AppID id, const BundleType *type, WriteChannelPort &result, ReadChannelPort &arg)
Definition Services.cpp:266
Callback(AcceleratorConnection &acc, AppID id, const BundleType *, PortMap channels)
Definition Services.cpp:262
void connect(std::function< MessageData(const MessageData &)> callback, bool quick=false)
Connect a callback to code which will be executed when the accelerator invokes the callback.
Definition Services.cpp:274
Service for servicing function calls from the accelerator.
Definition Services.h:333
virtual std::string getServiceSymbol() const override
Definition Services.cpp:255
CallService(AcceleratorConnection &acc, AppIDPath id, ServiceImplDetails details)
Definition Services.cpp:247
virtual BundlePort * getPort(AppIDPath id, const BundleType *type) const override
Get specialized port for this service to attach to the given appid path.
Definition Services.cpp:257
A service for which there are no standard services registered.
Definition Services.h:94
virtual BundlePort * getPort(AppIDPath id, const BundleType *type) const override
Get specialized port for this service to attach to the given appid path.
Definition Services.cpp:197
CustomService(AppIDPath idPath, AcceleratorConnection &, const ServiceImplDetails &details, const HWClientDetails &clients)
Definition Services.cpp:186
A function call which gets attached to a service port.
Definition Services.h:291
std::future< MessageData > call(const MessageData &arg)
Definition Services.cpp:239
static Function * get(AppID id, BundleType *type, WriteChannelPort &arg, ReadChannelPort &result)
Definition Services.cpp:218
Service for calling functions.
Definition Services.h:281
virtual std::string getServiceSymbol() const override
Definition Services.cpp:211
virtual BundlePort * getPort(AppIDPath id, const BundleType *type) const override
Get specialized port for this service to attach to the given appid path.
Definition Services.cpp:213
FuncService(AppIDPath id, AcceleratorConnection &, ServiceImplDetails details, HWClientDetails clients)
Definition Services.cpp:202
virtual std::string getServiceSymbol() const override
Definition Services.cpp:184
static constexpr std::string_view StdName
Definition Services.h:229
std::optional< uint64_t > getCycleCount() const override
Get the current cycle count of the accelerator system's core clock.
Definition Services.cpp:153
virtual std::vector< uint8_t > getCompressedManifest() const override
Return the zlib compressed JSON system manifest.
Definition Services.cpp:164
std::optional< uint64_t > getCoreClockFrequency() const override
Get the "core" clock frequency of the accelerator system in Hz.
Definition Services.cpp:157
uint32_t getEsiVersion() const override
Get the ESI version number to check version compatibility.
Definition Services.cpp:146
A "slice" of some parent MMIO space.
Definition Services.h:181
virtual uint64_t read(uint32_t addr) const
Read a 64-bit value from this region, not the global address space.
Definition Services.cpp:132
MMIORegion(AppID id, MMIO *parent, RegionDescriptor desc)
Definition Services.cpp:130
virtual void write(uint32_t addr, uint64_t data)
Write a 64-bit value to this region, not the global address space.
Definition Services.cpp:137
virtual uint64_t read(uint32_t addr) const =0
Read a 64-bit value from the global MMIO space.
MMIO(AcceleratorConnection &, const AppIDPath &idPath, const HWClientDetails &clients)
Definition Services.cpp:56
virtual BundlePort * getPort(AppIDPath id, const BundleType *type) const override
Get a MMIO region port for a particular region descriptor.
Definition Services.cpp:94
std::map< AppIDPath, RegionDescriptor > regions
MMIO base address table.
Definition Services.h:177
static constexpr std::string_view StdName
Definition Services.h:140
virtual Service * getChildService(Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={}) override
If the service is a MMIO service, return a region of the MMIO space which peers into ours.
Definition Services.cpp:118
virtual std::string getServiceSymbol() const override
Definition Services.cpp:91
Add a custom interface to a service client at a particular point in the design hierarchy.
Definition Services.h:47
static Service::Type lookupServiceType(const std::string &)
Resolve a service type from a string.
Definition Services.cpp:434
static Service * createService(AcceleratorConnection *acc, Service::Type svcType, AppIDPath id, std::string implName, ServiceImplDetails details, HWClientDetails clients)
Create a service instance from the given details.
Definition Services.cpp:417
Parent class of all APIs modeled as 'services'.
Definition Services.h:59
AcceleratorConnection & getConnection() const
Definition Services.h:85
const std::type_info & Type
Definition Services.h:61
virtual Service * getChildService(Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={})
Create a "child" service of this service.
Definition Services.cpp:28
AcceleratorConnection & conn
Definition Services.h:88
Information about the Accelerator system.
Definition Services.h:113
virtual std::string getJsonManifest() const
Return the JSON-formatted system manifest.
Definition Services.cpp:40
virtual std::vector< uint8_t > getCompressedManifest() const =0
Return the zlib compressed JSON system manifest.
virtual std::string getServiceSymbol() const override
Definition Services.cpp:35
A telemetry port which gets attached to a service port.
Definition Services.h:407
void connect()
Connect to a particular telemetry port. Offset should be non-nullopt.
Definition Services.cpp:389
std::future< MessageData > read()
Definition Services.cpp:396
Metric(AppID id, const BundleType *type, PortMap channels, const TelemetryService *telemetryService, std::optional< uint64_t > offset)
Definition Services.cpp:381
Service for retrieving telemetry data from the accelerator.
Definition Services.h:390
std::list< TelemetryService * > children
Definition Services.h:444
std::map< AppIDPath, Metric * > getTelemetryPorts()
Definition Services.h:432
MMIO::MMIORegion * mmio
Definition Services.h:441
MMIO::MMIORegion * getMMIORegion() const
Definition Services.cpp:342
std::map< AppIDPath, Metric * > telemetryPorts
Definition Services.h:443
std::map< AppIDPath, uint64_t > portAddressAssignments
Definition Services.h:442
static constexpr std::string_view StdName
Definition Services.h:392
TelemetryService(AppIDPath id, AcceleratorConnection &, ServiceImplDetails details, HWClientDetails clients)
Definition Services.cpp:299
virtual std::string getServiceSymbol() const override
Definition Services.cpp:338
virtual BundlePort * getPort(AppIDPath id, const BundleType *type) const override
Get specialized port for this service to attach to the given appid path.
Definition Services.cpp:361
virtual Service * getChildService(Service::Type service, AppIDPath id={}, std::string implName={}, ServiceImplDetails details={}, HWClientDetails clients={}) override
Create a "child" service of this service.
Definition Services.cpp:372
Definition esi.py:1
std::string toString(const std::any &a)
'Stringify' a std::any. This is used to log std::any values by some loggers.
Definition Logging.cpp:132
constexpr uint32_t CoreFreqOffset
Definition Accelerator.h:59
constexpr uint64_t MagicNumber
Definition Accelerator.h:50
std::map< std::string, std::any > ServiceImplDetails
Definition Common.h:108
std::string toHex(void *val)
Definition Common.cpp:37
constexpr uint64_t MagicNumberOffset
Definition Accelerator.h:51
constexpr uint32_t MetadataOffset
Definition Accelerator.h:46
constexpr uint32_t CycleCountOffset
Definition Accelerator.h:58
constexpr uint32_t ManifestPtrOffset
Definition Accelerator.h:56
std::map< std::string, ChannelPort & > PortMap
Definition Ports.h:29
constexpr uint64_t VersionNumberOffset
Definition Accelerator.h:54
std::vector< HWClientDetail > HWClientDetails
Definition Common.h:107
std::any value
Definition Common.h:68
A description of a hardware client.
Definition Common.h:101
Describe a region (slice) of MMIO space.
Definition Services.h:143