1 /* Common softmmu definitions and inline routines. */
3 #define ldul_user ldl_user
4 #define ldul_kernel ldl_kernel
7 #define MEMSUFFIX _kernel
9 #include "softmmu_header.h"
12 #include "softmmu_header.h"
15 #include "softmmu_header.h"
18 #include "softmmu_header.h"
23 #define MEMSUFFIX _user
25 #include "softmmu_header.h"
28 #include "softmmu_header.h"
31 #include "softmmu_header.h"
34 #include "softmmu_header.h"
38 /* these access are slower, they must be as rare as possible */
40 #define MEMSUFFIX _data
42 #include "softmmu_header.h"
45 #include "softmmu_header.h"
48 #include "softmmu_header.h"
51 #include "softmmu_header.h"
55 #define ldub(p) ldub_data(p)
56 #define ldsb(p) ldsb_data(p)
57 #define lduw(p) lduw_data(p)
58 #define ldsw(p) ldsw_data(p)
59 #define ldl(p) ldl_data(p)
60 #define ldq(p) ldq_data(p)
62 #define stb(p, v) stb_data(p, v)
63 #define stw(p, v) stw_data(p, v)
64 #define stl(p, v) stl_data(p, v)
65 #define stq(p, v) stq_data(p, v)