mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
Delete unused code
This commit is contained in:
parent
6e49341b91
commit
6ea3c6a7e3
@ -67,21 +67,6 @@ error:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int ashmem_set_prot_region(int fd, int prot) {
|
||||
return ioctl(fd, ASHMEM_SET_PROT_MASK, prot);
|
||||
}
|
||||
|
||||
static int ashmem_pin_region(int fd, size_t offset, size_t len) {
|
||||
// Even on 64-bit, it seems these arguments are 32-bit and thus need a cast to avoid warnings.
|
||||
struct ashmem_pin pin = { (uint32_t)offset, (uint32_t)len };
|
||||
return ioctl(fd, ASHMEM_PIN, &pin);
|
||||
}
|
||||
|
||||
static int ashmem_unpin_region(int fd, size_t offset, size_t len) {
|
||||
struct ashmem_pin pin = { (uint32_t)offset, (uint32_t)len };
|
||||
return ioctl(fd, ASHMEM_UNPIN, &pin);
|
||||
}
|
||||
|
||||
// Windows mappings need to be on 64K boundaries, due to Alpha legacy.
|
||||
size_t MemArena::roundup(size_t x) {
|
||||
return x;
|
||||
|
Loading…
Reference in New Issue
Block a user