|
@@ -397,8 +397,6 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
|
|
return virt$shbuf_release(arg1);
|
|
return virt$shbuf_release(arg1);
|
|
case SC_shbuf_seal:
|
|
case SC_shbuf_seal:
|
|
return virt$shbuf_seal(arg1);
|
|
return virt$shbuf_seal(arg1);
|
|
- case SC_shbuf_set_volatile:
|
|
|
|
- return virt$shbuf_set_volatile(arg1, arg2);
|
|
|
|
case SC_profiling_enable:
|
|
case SC_profiling_enable:
|
|
return virt$profiling_enable(arg1);
|
|
return virt$profiling_enable(arg1);
|
|
case SC_profiling_disable:
|
|
case SC_profiling_disable:
|
|
@@ -622,13 +620,6 @@ int Emulator::virt$shbuf_seal(int shbuf_id)
|
|
return region->seal();
|
|
return region->seal();
|
|
}
|
|
}
|
|
|
|
|
|
-int Emulator::virt$shbuf_set_volatile(int shbuf_id, bool is_volatile)
|
|
|
|
-{
|
|
|
|
- auto* region = m_mmu.shbuf_region(shbuf_id);
|
|
|
|
- ASSERT(region);
|
|
|
|
- return region->set_volatile(is_volatile);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
int Emulator::virt$profiling_enable(pid_t pid)
|
|
int Emulator::virt$profiling_enable(pid_t pid)
|
|
{
|
|
{
|
|
return syscall(SC_profiling_enable, pid);
|
|
return syscall(SC_profiling_enable, pid);
|