d164cbac8c
Instead of changing the attributes (e.g., Xd bit) of the top-level page-tables, set them to allow everything. Only leafs of the paging hierarchy are set according to the paging attributes given by core. Otherwise, top-level page- table attributes are changed during lifetime, which requires a TLB flush operation (not intended in the semantic of the kernel/core). This led to problems when using the non-executable features introduced by issue #1723 in the recent past.
20 lines
513 B
C
20 lines
513 B
C
/*
|
|
* \brief x86_64 translation table definitions for core
|
|
* \author Adrian-Ken Rueegsegger
|
|
* \date 2015-02-06
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2015-2017 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
*/
|
|
|
|
#ifndef _CORE__SPEC__X86_64__TRANSLATION_TABLE_H_
|
|
#define _CORE__SPEC__X86_64__TRANSLATION_TABLE_H_
|
|
|
|
#include <hw/spec/x86_64/page_table.h>
|
|
|
|
#endif /* _CORE__SPEC__X86_64__TRANSLATION_TABLE_H_ */
|