Changeset 420


Ignore:
Timestamp:
Jan 18, 2018, 6:35:29 PM (4 years ago)
Author:
alain
Message:

Fix a bug found by Axel in hal_gpt_unlock_pte()

File:
1 edited

Legend:

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

    r409 r420  
    691691
    692692    // check PTE2 present and locked
    693     if( ((attr & TSAR_MMU_MAPPED) == 0) || ((attr & TSAR_MMU_LOCKED) == 0) );
     693    if( ((attr & TSAR_MMU_MAPPED) == 0) || ((attr & TSAR_MMU_LOCKED) == 0) )
    694694    {
    695695        printk("\n[ERROR] in %s : unlock an unlocked/unmapped page / PT1[%d] = %x\n",
Note: See TracChangeset for help on using the changeset viewer.