Ignore:
Timestamp:
Mar 3, 2014, 1:44:03 PM (10 years ago)
Author:
cfuguet
Message:

Initializing the CP0 CAUSE value on the task contexts to
zero during creation of tasks (boot_scheduler_init). This
is to avoid writing non initialized data on the CAUSE
register when swithing tasks for the first time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/kernel_init.c

    r289 r293  
    408408_putx(epc_value);
    409409_puts("\n");
    410 _tty_release_lock( 0 );
    411 #endif
    412 
    413 _tty_get_lock( 0 );
    414 _puts("\n[GIET] Processor[");
     410
     411_puts("\n[GIET DEBUG] Processor[");
    415412_putd( cluster_xy >> Y_WIDTH );
    416413_puts(",");
     
    424421_puts("\n");
    425422_tty_release_lock( 0 );
     423#endif
    426424
    427425    // Step 7 : set  registers and jump to user code
Note: See TracChangeset for help on using the changeset viewer.