mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 03:11:09 +00:00
memory: remove unused memory_region_set_global_locking()
This was never used since its introduction in commit 196ea13104f8 ("memory: Add global-locking property to memory regions"). Backports commit e2fbe20851ceec5ccd7b539a89db0420393fb85d from qemu
This commit is contained in:
parent
fdca966ec8
commit
ffa45adb57
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_aarch64
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_aarch64
|
||||
#define memory_region_set_enabled memory_region_set_enabled_aarch64
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_aarch64
|
||||
#define memory_region_set_readonly memory_region_set_readonly_aarch64
|
||||
#define memory_region_set_size memory_region_set_size_aarch64
|
||||
#define memory_region_size memory_region_size_aarch64
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_aarch64eb
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_aarch64eb
|
||||
#define memory_region_set_enabled memory_region_set_enabled_aarch64eb
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_aarch64eb
|
||||
#define memory_region_set_readonly memory_region_set_readonly_aarch64eb
|
||||
#define memory_region_set_size memory_region_set_size_aarch64eb
|
||||
#define memory_region_size memory_region_size_aarch64eb
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_arm
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_arm
|
||||
#define memory_region_set_enabled memory_region_set_enabled_arm
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_arm
|
||||
#define memory_region_set_readonly memory_region_set_readonly_arm
|
||||
#define memory_region_set_size memory_region_set_size_arm
|
||||
#define memory_region_size memory_region_size_arm
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_armeb
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_armeb
|
||||
#define memory_region_set_enabled memory_region_set_enabled_armeb
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_armeb
|
||||
#define memory_region_set_readonly memory_region_set_readonly_armeb
|
||||
#define memory_region_set_size memory_region_set_size_armeb
|
||||
#define memory_region_size memory_region_size_armeb
|
||||
|
|
|
@ -2339,7 +2339,6 @@ symbols = (
|
|||
'memory_region_set_address',
|
||||
'memory_region_set_alias_offset',
|
||||
'memory_region_set_enabled',
|
||||
'memory_region_set_global_locking',
|
||||
'memory_region_set_readonly',
|
||||
'memory_region_set_size',
|
||||
'memory_region_size',
|
||||
|
|
|
@ -726,18 +726,6 @@ bool memory_region_test_and_clear_dirty(MemoryRegion *mr, hwaddr addr,
|
|||
*/
|
||||
void memory_region_set_readonly(MemoryRegion *mr, bool readonly);
|
||||
|
||||
/**
|
||||
* memory_region_set_global_locking: Declares the access processing requires
|
||||
* QEMU's global lock.
|
||||
*
|
||||
* When this is invoked, accesses to the memory region will be processed while
|
||||
* holding the global lock of QEMU. This is the default behavior of memory
|
||||
* regions.
|
||||
*
|
||||
* @mr: the memory region to be updated.
|
||||
*/
|
||||
void memory_region_set_global_locking(MemoryRegion *mr);
|
||||
|
||||
/**
|
||||
* memory_region_clear_global_locking: Declares that access processing does
|
||||
* not depend on the QEMU global lock.
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_m68k
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_m68k
|
||||
#define memory_region_set_enabled memory_region_set_enabled_m68k
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_m68k
|
||||
#define memory_region_set_readonly memory_region_set_readonly_m68k
|
||||
#define memory_region_set_size memory_region_set_size_m68k
|
||||
#define memory_region_size memory_region_size_m68k
|
||||
|
|
|
@ -1412,11 +1412,6 @@ void memory_region_set_readonly(MemoryRegion *mr, bool readonly)
|
|||
}
|
||||
}
|
||||
|
||||
void memory_region_set_global_locking(MemoryRegion *mr)
|
||||
{
|
||||
mr->global_locking = true;
|
||||
}
|
||||
|
||||
void memory_region_clear_global_locking(MemoryRegion *mr)
|
||||
{
|
||||
mr->global_locking = false;
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_mips
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_mips
|
||||
#define memory_region_set_enabled memory_region_set_enabled_mips
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_mips
|
||||
#define memory_region_set_readonly memory_region_set_readonly_mips
|
||||
#define memory_region_set_size memory_region_set_size_mips
|
||||
#define memory_region_size memory_region_size_mips
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_mips64
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_mips64
|
||||
#define memory_region_set_enabled memory_region_set_enabled_mips64
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_mips64
|
||||
#define memory_region_set_readonly memory_region_set_readonly_mips64
|
||||
#define memory_region_set_size memory_region_set_size_mips64
|
||||
#define memory_region_size memory_region_size_mips64
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_mips64el
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_mips64el
|
||||
#define memory_region_set_enabled memory_region_set_enabled_mips64el
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_mips64el
|
||||
#define memory_region_set_readonly memory_region_set_readonly_mips64el
|
||||
#define memory_region_set_size memory_region_set_size_mips64el
|
||||
#define memory_region_size memory_region_size_mips64el
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_mipsel
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_mipsel
|
||||
#define memory_region_set_enabled memory_region_set_enabled_mipsel
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_mipsel
|
||||
#define memory_region_set_readonly memory_region_set_readonly_mipsel
|
||||
#define memory_region_set_size memory_region_set_size_mipsel
|
||||
#define memory_region_size memory_region_size_mipsel
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_powerpc
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_powerpc
|
||||
#define memory_region_set_enabled memory_region_set_enabled_powerpc
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_powerpc
|
||||
#define memory_region_set_readonly memory_region_set_readonly_powerpc
|
||||
#define memory_region_set_size memory_region_set_size_powerpc
|
||||
#define memory_region_size memory_region_size_powerpc
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_sparc
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_sparc
|
||||
#define memory_region_set_enabled memory_region_set_enabled_sparc
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_sparc
|
||||
#define memory_region_set_readonly memory_region_set_readonly_sparc
|
||||
#define memory_region_set_size memory_region_set_size_sparc
|
||||
#define memory_region_size memory_region_size_sparc
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_sparc64
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_sparc64
|
||||
#define memory_region_set_enabled memory_region_set_enabled_sparc64
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_sparc64
|
||||
#define memory_region_set_readonly memory_region_set_readonly_sparc64
|
||||
#define memory_region_set_size memory_region_set_size_sparc64
|
||||
#define memory_region_size memory_region_size_sparc64
|
||||
|
|
|
@ -2333,7 +2333,6 @@
|
|||
#define memory_region_set_address memory_region_set_address_x86_64
|
||||
#define memory_region_set_alias_offset memory_region_set_alias_offset_x86_64
|
||||
#define memory_region_set_enabled memory_region_set_enabled_x86_64
|
||||
#define memory_region_set_global_locking memory_region_set_global_locking_x86_64
|
||||
#define memory_region_set_readonly memory_region_set_readonly_x86_64
|
||||
#define memory_region_set_size memory_region_set_size_x86_64
|
||||
#define memory_region_size memory_region_size_x86_64
|
||||
|
|
Loading…
Reference in a new issue