1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#! /bin/sh
#
# Check translation by system using Linux/x86_64 definitions
#
sysname=xlat-linux-x86_64-2.6.31-nover-reloc
# directmap
list="KVADDR:0xffff880012345678:KPHYSADDR"
# dtto including identity mapping to machine physical
list="$list KVADDR:0xffff880012345678:MACHPHYSADDR"
# kernel text
list="$list KVADDR:0xffffffff81e10123:KPHYSADDR"
# dtto including identity mapping to machine physical
list="$list KVADDR:0xffffffff81e10123:MACHPHYSADDR"
# VMEMMAP using page tables
list="$list KVADDR:0xffffea000000abcd:MACHPHYSADDR"
# dtto including identity mapping to kernel physical
list="$list KVADDR:0xffffea000000abcd:KPHYSADDR"
# reverse directmap
list="$list KPHYSADDR:0x5678:KVADDR"
# dtto including identity mapping from machine physical
list="$list MACHPHYSADDR:0x5678:KVADDR"
. "$srcdir"/sys-xlat-common
|