44 #include <sys/syscall.h>
61 using namespace ArmISA;
73 0xff, 0xff, 0xff, 0xef
82 uint8_t memory_barrier[] =
84 0x5f, 0xf0, 0x7f, 0xf5,
85 0x0e, 0xf0, 0xa0, 0xe1
87 proxy.
writeBlob(commPage + 0x0fa0, memory_barrier,
sizeof(memory_barrier));
91 0x9f, 0x3f, 0x92, 0xe1,
92 0x00, 0x30, 0x53, 0xe0,
93 0x91, 0x3f, 0x82, 0x01,
94 0x01, 0x00, 0x33, 0x03,
95 0xfa, 0xff, 0xff, 0x0a,
96 0x00, 0x00, 0x73, 0xe2,
97 0x5f, 0xf0, 0x7f, 0xf5,
98 0x0e, 0xf0, 0xa0, 0xe1
100 proxy.
writeBlob(commPage + 0x0fc0, cmpxchg,
sizeof(cmpxchg));
105 0x70, 0x0f, 0x1d, 0xee,
106 0x0e, 0xf0, 0xa0, 0xe1
108 proxy.
writeBlob(commPage + 0x0fe0, get_tls,
sizeof(get_tls));
static const Addr commPage
A page to hold "kernel" provided functions. The name might be wrong.
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
void initState() override
initState() is called on each SimObject when not restoring from a checkpoint.
void writeBlob(Addr addr, const void *p, int size) const
Same as tryWriteBlob, but insists on success.
ThreadContext is the external interface to all thread state for anything outside of the CPU.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
This file defines objects used to emulate syscalls from the target application on the host machine.