File: sys-xlat-x86_64-linux

package info (click to toggle)
libkdumpfile 0.5.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,800 kB
  • sloc: ansic: 34,639; sh: 3,853; python: 1,490; makefile: 755
file content (29 lines) | stat: -rwxr-xr-x 821 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
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