Project

General

Profile

Actions

Bug #9450

closed

Неправильная последовательность бит в memory buffer

Added by Alexander Protsenko almost 6 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
MMU Plugin
Target version:
Start date:
01/24/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
master
Platform:
Published in build:
2.4.46-beta-191025

Description

Читаем слово 0xdeadbeaf

memory buffer PT (va: VA)
  ways = 1
  sets = PTE_SIZE
  entry  = (ppn1: 12, ppn0: 10, rsw: 2, d: 1, a: 1, g: 1, u: 1, x: 1, w: 1, r: 1, v: 1)
  index  = 0
  match  = 0
  policy = NONE

Получаем:

    trace("SV32TranslateCycle: pte = 0x%x", pte.v::pte.r::pte.w::pte.x::pte.u::pte.g::pte.a::pte.d::pte.rsw::pte.ppn0::pte.ppn1);
    trace("SV32TranslateCycle: pte = 0x%x", pte.ppn1::pte.ppn0::pte.rsw::pte.d::pte.a::pte.g::pte.u::pte.x::pte.w::pte.r::pte.v);

SV32TranslateCycle: pte = 0xDEADBEAF
SV32TranslateCycle: pte = 0xEAFB6E7B

Actions

Also available in: Atom PDF