mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
parent
a845dffa63
commit
4869349d57
@ -32,11 +32,11 @@ void time_init(void)
|
|||||||
|
|
||||||
#include <asm/pgtable.h>
|
#include <asm/pgtable.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Note that empty_zero_page lands in the BSS section and is therefore
|
||||||
|
* automatically zeroed at program startup.
|
||||||
|
*/
|
||||||
unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]
|
unsigned long empty_zero_page[PAGE_SIZE / sizeof(unsigned long)]
|
||||||
__attribute__((aligned(PAGE_SIZE)));
|
__attribute__((aligned(PAGE_SIZE)));
|
||||||
|
|
||||||
void lx_emul_setup_arch(void *dtb)
|
void lx_emul_setup_arch(void *dtb) { }
|
||||||
{
|
|
||||||
/* fill zero page */
|
|
||||||
memset(empty_zero_page, 0, PAGE_SIZE);
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user