Commit 9fad6d9f authored by Adithya Baglody's avatar Adithya Baglody Committed by Andrew Boie
Browse files

tests: x86_mmu_api: Fixed testcase crash.



Running this testcase on qemu without userspace enabled it
crashes. The testcase was modifing page table information
of the bss region. This in turn caused some variables to be
inaccessible. Fixed it by moving the page manipulation to a
different location.

GH-5646

Signed-off-by: default avatarAdithya Baglody <adithya.nagaraj.baglody@intel.com>
parent 690bea3a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#include <ztest.h>
#include <nano_internal.h>

#define SKIP_SIZE 2
#define SKIP_SIZE 5
#define BUFF_SIZE 10

static int status;