Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ACPI X240 BATTERY EC
Offset (0xB0),
// HDEN, 32,
// HDEP, 32,
DEN0
DEN1
DEN2
DEN3
DEP0
DEP1
DEP2
DEP3
@sinetek

This comment has been minimized.

Copy link
Owner Author

commented Jan 26, 2017

these are not compliant

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    SBRC,   16, 
                    SBFC,   16, 
                    SBAE,   16, 
                    SBRS,   16, 
                    SBAC,   16, 
                    SBVO,   16, 
                    SBAF,   16, 
                    SBBS,   16
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    SBBM,   16, 
                    SBMD,   16, 
                    SBCC,   16
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    SBDC,   16, 
                    SBDV,   16, 
                    SBOM,   16, 
                    SBSI,   16, 
                    SBDT,   16, 
                    SBSN,   16
                }
@sinetek

This comment has been minimized.

Copy link
Owner Author

commented Jan 26, 2017

New Fields

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BRC0,   8, 
                    BRC1,   8, 
                    BFC0,   8,
                    BFC1,   8,
                    BAE0,   8,
                    BAE1,   8, 
                    BRS0,   8,
                    BRS1,   8, 
                    BAC0,   8,
                    BAC1,   8, 
                    BVO0,   8,
                    BVO1,   8, 
                    BAF0,   8,
                    BAF1,   8, 
                    BBS0,   8,
                    BBS1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BBM0,   8, 
                    BBM1,   8,
                    BMD0,   8,
                    BMD1,   8, 
                    BCC0,   8,
                    BCC1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BDC0,   8,
                    BDC1,   8,
                    BDV0,   8,
                    BDV1,   8, 
                    BOM0,   8,
                    BOM1,   8, 
                    BSI0,   8,
                    BSI1,   8, 
                    BDT0,   8,
                    BDT1,   8, 
                    BSN0,   8,
                    BSN1,   8,
                }
@sinetek

This comment has been minimized.

Copy link
Owner Author

commented Jan 26, 2017

New Fields

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BRC0,   8, 
                    BRC1,   8, 
                    BFC0,   8,
                    BFC1,   8,
                    BAE0,   8,
                    BAE1,   8, 
                    BRS0,   8,
                    BRS1,   8, 
                    BAC0,   8,
                    BAC1,   8, 
                    BVO0,   8,
                    BVO1,   8, 
                    BAF0,   8,
                    BAF1,   8, 
                    BBS0,   8,
                    BBS1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BBM0,   8, 
                    BBM1,   8,
                    BMD0,   8,
                    BMD1,   8, 
                    BCC0,   8,
                    BCC1,   8,
                }

                Field (ECOR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xA0), 
                    BDC0,   8,
                    BDC1,   8,
                    BDV0,   8,
                    BDV1,   8, 
                    BOM0,   8,
                    BOM1,   8, 
                    BSI0,   8,
                    BSI1,   8, 
                    BDT0,   8,
                    BDT1,   8, 
                    BSN0,   8,
                    BSN1,   8,
                }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.