46using namespace X86ISA;
58 uint8_t e820Nr =
entries.size();
62 assert(e820Nr <= 128);
64 uint8_t guestE820Nr =
htole(e820Nr);
66 proxy.
writeBlob(countAddr, &guestE820Nr,
sizeof(guestE820Nr));
68 for (
int i = 0;
i < e820Nr;
i++) {
This object is a proxy for a port or other object which implements the functional response protocol,...
void writeBlob(Addr addr, const void *p, uint64_t size) const
Same as tryWriteBlob, but insists on success.
std::vector< E820Entry * > entries
void writeTo(PortProxy &proxy, Addr countAddr, Addr addr)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
void writeVal(T val, PortProxy &proxy, Addr &addr)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
PortProxy Object Declaration.