Project

General

Profile

Task #9476

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

Added by Alexander Protsenko over 1 year ago. Updated 9 months 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>

History

#1

Updated by Alexander Kamkin 9 months ago

  • Target version set to 2.5

Also available in: Atom PDF