47 using namespace X86ISA;
52 T guestVal =
htog(val);
53 proxy.
writeBlob(addr, (uint8_t *)&guestVal,
sizeof(T));
59 uint8_t e820Nr = entries.size();
63 assert(e820Nr <= 128);
65 uint8_t guestE820Nr =
htog(e820Nr);
67 proxy.
writeBlob(countAddr, (uint8_t *)&guestE820Nr,
sizeof(guestE820Nr));
69 for (
int i = 0;
i < e820Nr;
i++) {
77 X86E820TableParams::create()
83 X86E820EntryParams::create()
void writeTo(PortProxy &proxy, Addr countAddr, Addr addr)
PortProxy Object Declaration.
void writeVal(T val, PortProxy &proxy, Addr &addr)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
This object is a proxy for a structural port, to be used for debug accesses.
virtual void writeBlob(Addr addr, const uint8_t *p, int size) const
Write size bytes from p to address.