Ignore:
Timestamp:
Oct 5, 2018, 12:08:35 AM (6 years ago)
Author:
alain
Message:

Introduction of the soclib_mty driver for the TSAR-LETI architecture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/core/hal_exception.c

    r527 r570  
    3535#include <syscalls.h>
    3636#include <shared_syscalls.h>
    37 #include <remote_spinlock.h>
     37#include <remote_busylock.h>
    3838#include <hal_kentry.h>
    39 
    4039#include <hal_exception.h>
    4140
     
    340339                                error_t    error )
    341340{
    342     uint32_t    save_sr;
    343341    core_t    * core    = this->core;
    344342    process_t * process = this->process;
     
    353351
    354352    // get TXT0 lock in busy waiting mode
    355     remote_spinlock_lock_busy( lock_xp , &save_sr );
     353    remote_busylock_acquire( lock_xp );
    356354
    357355    if( error == EXCP_USER_ERROR )
     
    366364    }
    367365
    368         nolock_printk("local locks = %d / remote locks = %d / blocked_vector = %X\n\n",
    369     this->local_locks, this->remote_locks, this->blocked );
     366        nolock_printk("busylocks = %d / blocked_vector = %X / flags = %X\n\n",
     367    this->busylocks, this->blocked, this->flags );
    370368
    371369    nolock_printk("c0_cr   %X  c0_epc  %X  c0_sr  %X  c0_th  %X\n",
     
    394392
    395393    // release the lock
    396     remote_spinlock_unlock_busy( lock_xp , save_sr );
     394    remote_busylock_release( lock_xp );
    397395
    398396}  // end hal_exception_dump()
Note: See TracChangeset for help on using the changeset viewer.