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:
Marc-André Lureau 2018-03-05 14:13:53 -05:00 committed by Lioncash
parent fdca966ec8
commit ffa45adb57
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
16 changed files with 0 additions and 31 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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',

View file

@ -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.

View file

@ -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

View file

@ -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;

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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