I need to return a Buffer resource (NAM1+NAM2) and Interrupt resource (defined via GpioInt resource template macro) in the _CRS method . I have read the ResourceTemplate() automatically adds an ?END? string to the buffer.
Kindly let me know if the syntax below is correct ?
Method (_CRS, 0x0, NotSerialized) {
Name(NAM1, Buffer()
{ ?? })
Name(NAM2, Buffer()
{??})
Name(END, Buffer()
{0x79, 0x00 })
Concatenate(NAM1, NAM2, Local0)
Name (RBUF, ResourceTemplate ()
{
GpioInt(?..){gpio 1}
})
Concatenate(Local0, RBUF, Local1)
Return (Local1)
}