Project

General

Profile

Actions

Task #9476

open

Поддержка версии ревизий в настройках модели settings.xml

Added by Alexander Protsenko almost 6 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Category:
MMU Plugin
Target version:
Start date:
02/06/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Published in build:

Description

На данный момент, объявление диапазона памяти выглядит так:

 <memory>
    <region type  = "text" 
            name  = "code" 
            start = "0000_0000_8000_0000" 
            end   = "0000_0000_ffff_ffff" 
            mode  = "--x---" 
    />
    <region type  = "data" 
            name  = "data" 
            start = "0000_0000_8000_0000" 
            end   = "0000_0000_ffff_ffff" 
            mode  = "rw----" 
    />
  </memory>

Нужна поддержка объявления разных диапазонов, для разных версий:

  <memory>
#ifdef MEM_SV32
    <region type  = "text" 
            name  = "code" 
            start = "0000_0000_8000_0000" 
            end   = "0000_0000_ffff_ffff" 
            mode  = "--x---" 
    />
    <region type  = "data" 
            name  = "data" 
            start = "0000_0000_8000_0000" 
            end   = "0000_0000_ffff_ffff" 
            mode  = "rw----" 
    />
#else // Sv39 & Sv48
    <region type  = "text" 
            name  = "code" 
            start = "0000_0800_0000_0000" 
            end   = "0000_0fff_ffff_ffff" 
            mode  = "--x---" 
    />
    <region type  = "data" 
            name  = "data" 
            start = "0000_0800_0000_0000" 
            end   = "0000_0fff_ffff_ffff" 
            mode  = "rw----" 
    />
#endif
  </memory>

Actions

Also available in: Atom PDF