Ignore:
Timestamp:
Jul 25, 2012, 10:31:13 AM (12 years ago)
Author:
karaoui
Message:

removing the parametre variable PTE2_MAX from giet_config.
Now we compute dynamically the second table size from the length of the vobj.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/boot/boot_handler.h

    r169 r180  
    5454{
    5555        unsigned int    pt1[PT1_SIZE];                    // PT1 (index is ix1)
    56         unsigned int    pt2[GIET_NB_PT2_MAX][PT2_SIZE];   // PT2s (index is 2*ix2)
     56        unsigned int    pt2[1][PT2_SIZE];   // PT2s (index is 2*ix2)
     57    /*  The number `1` is onmy here to indicate to the compiler that this is a table
     58     ** of two dimension and the actual value is computed dynamically(see boot_handler.c)*/
    5759} page_table_t;
    5860
Note: See TracChangeset for help on using the changeset viewer.