Skip to contentSkip to conversation

target_pread funciton...

Qemu-devel Davide 2 participants 2 messages Mar 26, 2012

lore
Share & tools
lore

Davide

author
#0 lore raw

What does "target_pread" function do in flatload.c???

#1 lore raw
Quoted 1 line · Davide

What does "target_pread" function do in flatload.c???

It acts like the standard POSIX pread() function except that instead of passing in a void *buf and reading into host memory at that host address, you pass in an abi_ulong ptr and it reads into guest memory at that guest address.

-- PMM