]> rtime.felk.cvut.cz Git - jailhouse.git/commit
inmates: x86: align code after last level of page tables
authorHenning Schild <henning.schild@siemens.com>
Thu, 30 Oct 2014 16:29:54 +0000 (17:29 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 30 Oct 2014 17:12:48 +0000 (18:12 +0100)
commit906e53b246019a20b423da3d1dc45fe49745bf3d
tree714473ed96ecffcc0dc23b2dd3ae63abdde93ab4
parentfaf7237abfed7fa1c41a8ce0b2b53fde9eeb44a6
inmates: x86: align code after last level of page tables

The header contains the page tables but the last level (pd) contained the
code right after the first entry. Calls to map_range would actually
overwrite the inmates code.
This patch makes sure the code will start on the next page.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
inmates/lib/x86/header.S