Test "Exclude areas not assigned to Mckernel from direct map of all phys." on arm64

Change-Id: Ida0d1f13f4a14c2ee219325aaa4b2cac1476c991
This commit is contained in:
Shiratori, Takehiro
2018-11-24 14:38:42 +09:00
committed by Masamichi Takagi
parent 00395d68d4
commit cfcf0137eb
42 changed files with 1453 additions and 0 deletions

View File

@ -0,0 +1,16 @@
#!/bin/sh
NUMAS=$1
MEM_SIZE=$2
REP=$3
CHUNKS=""
for numa in ${NUMAS}
do
for rep in `seq 1 ${REP}`
do
CHUNKS="${CHUNKS}${MEM_SIZE}@${numa},"
done
done
echo ${CHUNKS%,}