Ignore:
Timestamp:
Jun 17, 2013, 11:38:40 PM (11 years ago)
Author:
alain
Message:

Introducing a new global vseg : seg_boot_data, in order
to clearly separate the seg_boot_code (Read-Only) and
the seg_boot_data (Read/Write?). This is mandatory,
if the boot code is stored in a real ROM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/xml/xml_parser.c

    r238 r245  
    22122212            count++;
    22132213        }
     2214        else if ( strcmp(vseg[vseg_id]->name, "seg_boot_data") == 0 )
     2215        {
     2216            ld_write(fdout, "seg_boot_data_base      ",  vseg[vseg_id]->vbase);
     2217            count++;
     2218        }
    22142219        else if ( strcmp(vseg[vseg_id]->name, "seg_boot_stack") == 0 )
    22152220        {
     
    22432248        }
    22442249    }
    2245     if ( count != 7 )
     2250    if ( count != 8 )
    22462251    {
    22472252        printf ("[XML ERROR] Missing Boot or Kernel vseg : only %d\n", count);
    22482253        printf ("Mandatory segments are :\n");
    22492254        printf (" - seg_boot_code\n");
     2255        printf (" - seg_boot_data\n");
    22502256        printf (" - seg_boot_stack\n");
    22512257        printf (" - seg_boot_mapping\n");
Note: See TracChangeset for help on using the changeset viewer.