Revision 6f20f55b
b/bsd-user/qemu.h | ||
---|---|---|
323 | 323 |
abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len); |
324 | 324 |
|
325 | 325 |
/* Functions for accessing guest memory. The tget and tput functions |
326 |
read/write single values, byteswapping as necessary. The lock_user |
|
326 |
read/write single values, byteswapping as necessary. The lock_user function
|
|
327 | 327 |
gets a pointer to a contiguous area of guest memory, but does not perform |
328 |
and byteswapping. lock_user may return either a pointer to the guest
|
|
328 |
any byteswapping. lock_user may return either a pointer to the guest
|
|
329 | 329 |
memory, or a temporary buffer. */ |
330 | 330 |
|
331 | 331 |
/* Lock an area of guest memory into the host. If copy is true then the |
b/linux-user/qemu.h | ||
---|---|---|
380 | 380 |
abi_long copy_to_user(abi_ulong gaddr, void *hptr, size_t len); |
381 | 381 |
|
382 | 382 |
/* Functions for accessing guest memory. The tget and tput functions |
383 |
read/write single values, byteswapping as necessary. The lock_user |
|
383 |
read/write single values, byteswapping as necessary. The lock_user function
|
|
384 | 384 |
gets a pointer to a contiguous area of guest memory, but does not perform |
385 |
and byteswapping. lock_user may return either a pointer to the guest
|
|
385 |
any byteswapping. lock_user may return either a pointer to the guest
|
|
386 | 386 |
memory, or a temporary buffer. */ |
387 | 387 |
|
388 | 388 |
/* Lock an area of guest memory into the host. If copy is true then the |
Also available in: Unified diff