memory: rename 'exec-obsolete.h'
exec-obsolete.h used to hold pre-memory-API functions that were used from device code prior to the transition to the memory API. Now that the transition is complete, the name no longer describes the file. The functions still need to be merged better into the memory core, but there's no danger of anyone using them. Reviewed-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
8b4a3df808
commit
7762c2c1e0
3
cputlb.c
3
cputlb.c
@ -24,8 +24,7 @@
|
|||||||
|
|
||||||
#include "cputlb.h"
|
#include "cputlb.h"
|
||||||
|
|
||||||
#define WANT_EXEC_OBSOLETE
|
#include "memory-internal.h"
|
||||||
#include "exec-obsolete.h"
|
|
||||||
|
|
||||||
//#define DEBUG_TLB
|
//#define DEBUG_TLB
|
||||||
//#define DEBUG_TLB_CHECK
|
//#define DEBUG_TLB_CHECK
|
||||||
|
3
exec.c
3
exec.c
@ -59,8 +59,7 @@
|
|||||||
|
|
||||||
#include "cputlb.h"
|
#include "cputlb.h"
|
||||||
|
|
||||||
#define WANT_EXEC_OBSOLETE
|
#include "memory-internal.h"
|
||||||
#include "exec-obsolete.h"
|
|
||||||
|
|
||||||
//#define DEBUG_TB_INVALIDATE
|
//#define DEBUG_TB_INVALIDATE
|
||||||
//#define DEBUG_FLUSH
|
//#define DEBUG_FLUSH
|
||||||
|
@ -16,12 +16,8 @@
|
|||||||
* The functions declared here will be removed soon.
|
* The functions declared here will be removed soon.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef EXEC_OBSOLETE_H
|
#ifndef MEMORY_INTERNAL_H
|
||||||
#define EXEC_OBSOLETE_H
|
#define MEMORY_INTERNAL_H
|
||||||
|
|
||||||
#ifndef WANT_EXEC_OBSOLETE
|
|
||||||
#error Do not include exec-obsolete.h
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_USER_ONLY
|
#ifndef CONFIG_USER_ONLY
|
||||||
#include "hw/xen.h"
|
#include "hw/xen.h"
|
3
memory.c
3
memory.c
@ -20,8 +20,7 @@
|
|||||||
#include "kvm.h"
|
#include "kvm.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
#define WANT_EXEC_OBSOLETE
|
#include "memory-internal.h"
|
||||||
#include "exec-obsolete.h"
|
|
||||||
|
|
||||||
unsigned memory_region_transaction_depth = 0;
|
unsigned memory_region_transaction_depth = 0;
|
||||||
static bool global_dirty_log = false;
|
static bool global_dirty_log = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user