Ignore:
Timestamp:
Jun 26, 2017, 4:55:47 PM (7 years ago)
Author:
max@…
Message:

use reg_t instead of uint32_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/rwlock.c

    r23 r60  
    4343void rwlock_rd_lock( rwlock_t * lock )
    4444{
    45         uint32_t            mode;
     45        reg_t               mode;
    4646        uint32_t            ticket;
    4747        thread_t          * this = CURRENT_THREAD;
     
    7979void rwlock_rd_unlock( rwlock_t * lock )
    8080{
    81     uint32_t   mode;
     81    reg_t      mode;
    8282        thread_t * this = CURRENT_THREAD;
    8383
     
    9696void rwlock_wr_lock( rwlock_t * lock )
    9797{
    98         uint32_t           mode;
     98        reg_t              mode;
    9999    uint32_t           ticket;
    100100        thread_t         * this = CURRENT_THREAD;
     
    131131void rwlock_wr_unlock( rwlock_t * lock )
    132132{
    133     uint32_t   mode;
     133    reg_t      mode;
    134134        thread_t * this = CURRENT_THREAD;
    135135
Note: See TracChangeset for help on using the changeset viewer.