Ignore:
Timestamp:
Nov 3, 2014, 11:29:19 AM (10 years ago)
Author:
alain
Message:

Removing the _printf() function in the boot code i
and in the drivers used by the boot code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_common/pmem.c

    r408 r442  
    2424    if ( (base & 0x1FFFFF) || (size & 0x1FFFFF) )
    2525    {
    26         _printf("\n[GIET ERROR] in _pmem_alloc_init() : "
    27                 " pseg in cluster[%d][%d] not aligned on 2 Mbytes\n", x, y );
     26        _puts("\n[GIET ERROR] in _pmem_alloc_init() : pseg in cluster[");
     27        _putd( x );
     28        _puts(",");
     29        _putd( y );
     30        _puts("] not aligned on 2 Mbytes\n");
    2831        _exit();
    2932    }
     
    5861    if ( (bpi + n) > p->max_bppi )
    5962    {
    60         _printf("\n[GIET ERROR] in _get_big_ppn() : "
    61                 " not enough big physical pages in cluster[%d][%d]", x, y );
     63        _puts("\n[GIET ERROR] in _get_big_ppn() : not enough BPP in cluster[");
     64        _putd( x );
     65        _puts(",");
     66        _putd( y );
     67        _puts("]\n");
    6268        _exit();
    6369    }
     
    8591        if ( p->nxt_bppi + 1 > p->max_bppi )
    8692        {
    87             _printf("\n[GIET ERROR] in _get_small_ppn() : "
    88                     " not enough big physical pages in cluster[%d][%d]", x, y );
     93            _puts("\n[GIET ERROR] in _get_small_ppn() : not enough BPP in cluster[");
     94            _putd( x );
     95            _puts(",");
     96            _putd( y );
     97            _puts("]\n");
    8998            _exit();
    9099        }
Note: See TracChangeset for help on using the changeset viewer.