commit | 0ecb655514a61fb9185a3a6630e28fba2fd14b54 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Fri Mar 16 14:04:02 2018 +0100 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Apr 23 09:24:03 2018 +0200 |
tree | 4179aad2421bf580f3bb1f00a3e306267afab4c5 | |
parent | 4312d7d40edb347a62897986c7ae3064909f8b83 [diff] |
x86/entry/32: Add debug code to check entry/exit cr3 Add a config option that enabled code to check that we enter and leave the kernel with the correct cr3. This is needed because we have no NX protection of user-addresses in the kernel-cr3 on x86-32 and wouldn't notice that type of bug otherwise. Signed-off-by: Joerg Roedel <jroedel@suse.de>