Implement fastmem for Darwin. Not very successfully yet..

This commit is contained in:
Henrik Rydgård committed 2017-01-25 17:14:43 +01:00
1 parent 510228aab9
commit 5e61a5afe1
6 files changed
+144 -15

No files matched your search

+5 -1
View File
@@ -33,6 +33,10 @@
#define ASHMEM_DEVICE "/dev/ashmem"
bool MemArena::NeedsProbing() {
return false;
}
// ashmem_create_region - creates a new ashmem region and returns the file
// descriptor, or <0 on error
// `name' is an optional label to give the region (visible in /proc/pid/maps)
@@ -127,4 +131,4 @@ u8* MemArena::Find4GBBase() {
#endif
}
#endif // __ANDROID__
#endif // __ANDROID__