Thank you, Gabe.
I'll have a good read of src/base/loader and src/arch/X86.
One more question, do you know of any way to rewrite the memory contents
directly?
It seems to take a long time to load the loader and X86, so I would like to
know another way as a backup.
__
Hello, everyone.
I'm interested in memory encryption. I am interested in memory encryption, and
I came across the problem of memory initialization. I would like to encrypt the
binary in 128 bit units when it is loaded into the memory.
Is there any document on how gem5 loads binaries on SE mode?
I thought about encrypting the memory area where the binary was loaded once.
How is the area where the binaries are loaded chosen?
Is there a way to encrypt a specific memory area only once?
Or any other good initialization ideas?
Thank you.
___
gem5-use
Here is an example of the code.
The cache is placed between the CPU and Enc/Dec Engine, and the data size is
adjusted by setting the cacheline to 128 bits.
if(pkt->isWrite()){
unsigned char dec1[16];
for (int i = 0; i < 16; ++i){
dec1[i] = *(pkt->getConstPtr() + i);
}
unsig
Hello, everyone.
I'm interested in memory encryption.
I am developing a function to encrypt the contents of memory.
I was able to develop a function that reads packet data in SE mode and
encrypts/decrypts it.
We are using getConstPtr() to get the value by incrementing from the address,
and then