File: addrxlat-pfn64

package info (click to toggle)
libkdumpfile 0.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,156 kB
  • sloc: ansic: 36,541; sh: 4,219; python: 1,569; makefile: 812
file content (19 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh

#
# Check simple VTOP translation with 64-bit page frame numbers.
#

pf="pfn64:12,8,8"

ptes="-e 0x0000:0x1"
ptes="$ptes -e 0x0008:0x2"
ptes="$ptes -e 0x1000:0xa"
ptes="$ptes -e 0x1008:0xb"
ptes="$ptes -e 0x2000:0xc"

list="0x123:0xa123"		# top 0 -> idx 0
list="$list 0x1234:0xb234"	# top 0 -> idx 1
list="$list 0x100567:0xc567"	# top 1 -> idx 0

. "$srcdir"/addrxlat-common