Skip to content

Commit

Permalink
minios: introduce minios_get_l1prot
Browse files Browse the repository at this point in the history
Signed-off-by: Wei Liu <liuw@liuw.name>
  • Loading branch information
liuw committed Jun 24, 2015
1 parent ed7d413 commit 4be390b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform/xen/xen/include/mini-os/mm.h
Expand Up @@ -72,4 +72,6 @@ unsigned long minios_alloc_contig_pages(int order, unsigned int addr_bits);
int free_physical_pages(xen_pfn_t *mfns, int n);
void fini_mm(void);

unsigned long long minios_get_l1prot(void);

#endif /* _MINIOS_MM_H_ */
5 changes: 5 additions & 0 deletions platform/xen/xen/mm.c
Expand Up @@ -92,3 +92,8 @@ void init_mm(void)
void fini_mm(void)
{
}

unsigned long long minios_get_l1prot(void)
{
return L1_PROT;
}

0 comments on commit 4be390b

Please sign in to comment.