Bug 722 - Unload() does not fully delete table
: Unload() does not fully delete table
Status: RESOLVED FIXED
: ACPICA
Core/Interpreter
: unspecified
: All Linux
: P3 normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-06-12 13:58 by
Modified: 2008-06-26 14:41 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-06-12 13:58:20
Bug detailed description:
--------------------------
The Unload operator does not fully delete the table. The namespace entries are
deleted, but the table remains in the global table data structure. If an
attempt is made to re-load the table, it will fail with AE_ALREADY_EXISTS.

Reproduce steps:
----------------
This ASL will not execute twice. Second execution fails with AE_ALREADY_EXISTS.

Method (OP)
{
    OperationRegion (OPR1, SystemMemory, ADDR, 0x2000)

    Load (OPR1, HNDL)
    Unload (HNDL)
}   







Current result:        
----------------


Expected result:    
----------------


Basic root-causing log:
----------------------
------- Comment #1 From 2008-06-26 14:41:14 -------
Made the simple fix to detect that the table is still registered and allow the
load to continue.

In the future, we may have to fully delete the table, but for now this change
will suffice.