Exclude areas not assigned to Mckernel from direct map of all phys. memory

It's enabled by adding -s to mcreboot.sh.

Cherry-pick of the following commit:

commit b5c13ce51a5a4926c2cf11c817cd0d369ac4402d
Author: Katsuya Horigome <katsuya.horigome.rj@ps.hitachi-solutions.com>
Date:   Mon Nov 20 09:40:41 2017 +0900

    Include measures to prevent memory destruction on Linux side (This is rebase commit for merging to development+hfi)
This commit is contained in:
Katsuya Horigome
2018-02-19 11:59:04 +09:00
committed by Masamichi Takagi
parent 221ce34da2
commit 38c3b2358a
22 changed files with 412 additions and 13 deletions

25
test/mem_dest_prev/README Normal file
View File

@@ -0,0 +1,25 @@
===================
Advance preparation
===================
1)Implement patch of test_memtest_destroy.patch
cd mckernel
patch -p0 < test_memtest_destroy.patch
make
make install
2)Compile command execution processing
cd mckernel/test/mem_dest_prev/mcexec_test_proc/
make
3)Write the LTP path to LTP_DIR in the configuration file
vi config
ex) LTP_DIR=$HOME/test/mem_dest_prev/ltp/testcases/bin/
==========
How to run
==========
./go_test_McKernal.sh