Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
8ba9b9a9
Commit
8ba9b9a9
authored
Mar 28, 2016
by
Charles Jacobsen
Committed by
Vikram Narayanan
Dec 19, 2016
Browse files
pmfs: mount: Builds with redefined ioremap, request region.
parent
cda5ec74
Changes
2
Hide whitespace changes
Inline
Side-by-side
lcd-domains/include/liblcd/mem.h
View file @
8ba9b9a9
...
...
@@ -621,4 +621,20 @@ void lcd_iounmap_phys(gpa_t phys_addr, unsigned long size);
* returns the guest virtual address
*/
void
*
lcd_ioremap
(
unsigned
long
phys_addr
,
unsigned
int
size
);
/**
* lcd_ioremap_cache -- Same as lcd_ioremap
*
* Assumes someone else (e.g. glue code) previously mapped the
* memory already using lcd_map_phys.
*/
void
*
lcd_ioremap_cache
(
unsigned
long
phys_addr
,
unsigned
long
size
);
/**
* lcd_iounmap -- No-op for now
*
* This is meant to fulfill the functionality of regular iounmap. But since
* lcd_ioremap doesn't do any mapping (just phys->virt translation), there
* is no mapping to undo.
*/
void
lcd_iounmap
(
void
*
addr
);
#endif
/* LCD_DOMAINS_MEM_H */
lcd-domains/liblcd/lcd-domains/ram_map.c
View file @
8ba9b9a9
...
...
@@ -234,7 +234,7 @@ void lcd_unmap_virt(gva_t base, unsigned int order)
do_unmap_from_phys
(
gp_base
,
order
);
}
void
*
lcd_ioremap_cache
(
resource_size_t
phys_addr
,
unsigned
long
size
)
void
*
lcd_ioremap_cache
(
unsigned
long
phys_addr
,
unsigned
long
size
)
{
/*
* Assumes someone already mapped the memory; we just
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment