Revision a8170e5e xen-mapcache.h
b/xen-mapcache.h | ||
---|---|---|
11 | 11 |
|
12 | 12 |
#include <stdlib.h> |
13 | 13 |
|
14 |
typedef target_phys_addr_t (*phys_offset_to_gaddr_t)(target_phys_addr_t start_addr,
|
|
14 |
typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr start_addr,
|
|
15 | 15 |
ram_addr_t size, |
16 | 16 |
void *opaque); |
17 | 17 |
#ifdef CONFIG_XEN |
18 | 18 |
|
19 | 19 |
void xen_map_cache_init(phys_offset_to_gaddr_t f, |
20 | 20 |
void *opaque); |
21 |
uint8_t *xen_map_cache(target_phys_addr_t phys_addr, target_phys_addr_t size,
|
|
21 |
uint8_t *xen_map_cache(hwaddr phys_addr, hwaddr size,
|
|
22 | 22 |
uint8_t lock); |
23 | 23 |
ram_addr_t xen_ram_addr_from_mapcache(void *ptr); |
24 | 24 |
void xen_invalidate_map_cache_entry(uint8_t *buffer); |
... | ... | |
31 | 31 |
{ |
32 | 32 |
} |
33 | 33 |
|
34 |
static inline uint8_t *xen_map_cache(target_phys_addr_t phys_addr,
|
|
35 |
target_phys_addr_t size,
|
|
34 |
static inline uint8_t *xen_map_cache(hwaddr phys_addr,
|
|
35 |
hwaddr size,
|
|
36 | 36 |
uint8_t lock) |
37 | 37 |
{ |
38 | 38 |
abort(); |
Also available in: Unified diff