DynamicTablesPkg/AmlLib: Fix Notify to use NamePath instead of String

Update AmlCodeGenNotify() to convert ASL names to AML NameString format
using ConvertAslNameToAmlName() and create a EAmlNodeDataTypeNameString
data node. This produces proper unquoted NamePath references in ASL:

    Method (_L0B, 0, Serialized)  // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
    {
        Notify (\_SB.PC00.RP81.XHC0, 0x02) // Device Wake
        Notify (\_SB.PC02.RP81.XHC0, 0x02) // Device Wake
    }

instead of quoted strings:

    Method (_L0B, 0, Serialized)  // _Lxx: Level-Triggered GPE, xx=0x00-0xFF
    {
        Notify ("\\_SB.PC00.RP81.XHC0", 0x02) // Device Wake
        Notify ("\\_SB.PC02.RP81.XHC0", 0x02) // Device Wake
    }

Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com>
1 file changed