Ignore:
Timestamp:
Sep 14, 2020, 6:36:03 PM (4 years ago)
Author:
coas-nagasima
Message:

SPIとSerial、KPUの動作を改善

File:
1 edited

Legend:

Unmodified
Added
Removed
  • azure_iot_hub_riscv/trunk/asp_baseplatform/syssvc/malloc.c

    r453 r458  
    307307                ER ret;
    308308                if (sense_context())
    309                         ret = iloc_cpu();
     309                        //ret = iloc_cpu();
     310                        ret = E_CTX;
    310311                else
    311                         ret = loc_cpu();
     312                        ret = wai_sem(MALLOC_SEM);
    312313                if (ret != E_OK)
    313314                        syslog_1(LOG_ERROR, "__malloc_unlock: count[%d] loc_cpu", malloc_lock_count);
     
    322323                ER ret;
    323324                if (sense_context())
    324                         ret = iunl_cpu();
     325                        //ret = iunl_cpu();
     326                        ret = E_CTX;
    325327                else
    326                         ret = unl_cpu();
     328                        ret = sig_sem(MALLOC_SEM);
    327329                if (ret != E_OK)
    328330                        syslog_1(LOG_ERROR, "__malloc_unlock: count[%d] unl_cpu error !", malloc_lock_count);
Note: See TracChangeset for help on using the changeset viewer.