From patchwork Tue Feb 9 01:32:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 61458 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1766655lbl; Mon, 8 Feb 2016 17:33:38 -0800 (PST) X-Received: by 10.202.177.138 with SMTP id a132mr1534398oif.84.1454981613060; Mon, 08 Feb 2016 17:33:33 -0800 (PST) Return-Path: Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com. [2607:f8b0:4003:c01::22d]) by mx.google.com with ESMTPS id xv10si18746900oec.85.2016.02.08.17.33.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Feb 2016 17:33:33 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::22d as permitted sender) client-ip=2607:f8b0:4003:c01::22d; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::22d as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-ob0-x22d.google.com with SMTP id wb13so175734635obb.1 for ; Mon, 08 Feb 2016 17:33:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fQsD5jlOaPJq0cE1FMO0/xKGS7M7XwZXXg0F3Jno1F8=; b=VaWkPFy4t6r8vp3ThAB+96YnHtDSd+ehTbY594X0lsHHqmk6RBMt4PoIuIyU+WDwi/ LCauThntnjRsavJK0onp95Tk2IjhxQDnPgqnKTOeXEARnvYILK1DD4TKJs2dhlhKpRyV cvu51/DpEtqaBzK6C+gcfdiAgTVMayyXHoUG8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=fQsD5jlOaPJq0cE1FMO0/xKGS7M7XwZXXg0F3Jno1F8=; b=U/yGrMgRD/sroRVMtNH6wz87lVMlKRXTQ1sp8TpDywixw+YGnNTB7GC5WriMgM+1jE puZ43zrzgGaIvXkNczkmEx8cLbO5CszTfZFni6eQ02ck9MF0Y8W3o7Co7c3Gk6P2Q1df w/i8t701RitbhsKLLr6NQm+MPcBPGusG+jU85bbuor2kFqYYBkDCfito5ZUaP6/ULpDO 1v3yFCPwpLSxIoBg9wHnKhZmpul3A1a+u3bamGoyApraRGUift/x3LhNss8t80HJva+o BxSWyTskYNbrOjeO1s3Qe7gFfLb2DSBjJSZzSoBl/3kSHcUFFk3Sb/c6E69GWXX8Y9bT FoNw== X-Gm-Message-State: AG10YOQGxv8OB8v1u8Ti1RFLXoiygLDWzsvjW19B4fHiZxHhCOwM/13Yawpn3sbOU8agdjaQ894= X-Received: by 10.182.86.98 with SMTP id o2mr12501518obz.27.1454981612796; Mon, 08 Feb 2016 17:33:32 -0800 (PST) Return-Path: Received: from fidelio.ahs3 (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id qp4sm19097135obc.9.2016.02.08.17.33.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 17:33:31 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH 05/21] Add in bit masks for FACS flags. Date: Mon, 8 Feb 2016 18:32:47 -0700 Message-Id: <1454981583-31872-6-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454981583-31872-1-git-send-email-al.stone@linaro.org> References: <1454981583-31872-1-git-send-email-al.stone@linaro.org> These bit masks were simply missing but will be needed to verify some of the FADT information. Signed-off-by: Al Stone --- src/lib/include/fwts_acpi.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.5.0 diff --git a/src/lib/include/fwts_acpi.h b/src/lib/include/fwts_acpi.h index 8f80286..bab62ec 100644 --- a/src/lib/include/fwts_acpi.h +++ b/src/lib/include/fwts_acpi.h @@ -68,6 +68,10 @@ #define FWTS_FACP_ARM_BOOT_ARCH_PSCI_USE_HVC (0x0002) #define FWTS_FACP_ARM_BOOT_ARCH_RESERVED_MASK (0xfffc) +#define FWTS_FACS_FLAG_S4BIOS_F (0x00000001) +#define FWTS_FACS_FLAG_64BIT_WAKE_SUPPORTED (0x00000002) +#define FWTS_FACS_FLAG_RESERVED (0xfffffffc) + #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_MEMORY (0x00) #define FWTS_GAS_ADDR_SPACE_ID_SYSTEM_IO (0x01) #define FWTS_GAS_ADDR_SPACE_ID_PCI_CONFIG (0x02)