mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
parent
a845dffa63
commit
4869349d57
@ -32,11 +32,11 @@ void time_init(void)
|
||||
|
||||
#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)]
|
||||
__attribute__((aligned(PAGE_SIZE)));
|
||||
|
||||
void lx_emul_setup_arch(void *dtb)
|
||||
{
|
||||
/* fill zero page */
|
||||
memset(empty_zero_page, 0, PAGE_SIZE);
|
||||
}
|
||||
void lx_emul_setup_arch(void *dtb) { }
|
||||
|
Loading…
Reference in New Issue
Block a user