From patchwork Fri Feb 19 23:39:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 62421 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp78500lbl; Fri, 19 Feb 2016 15:40:34 -0800 (PST) X-Received: by 10.202.234.195 with SMTP id i186mr13513195oih.42.1455925234099; Fri, 19 Feb 2016 15:40:34 -0800 (PST) Return-Path: Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com. [2607:f8b0:4003:c06::22b]) by mx.google.com with ESMTPS id v8si12910258obt.43.2016.02.19.15.40.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Feb 2016 15:40:34 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c06::22b as permitted sender) client-ip=2607:f8b0:4003:c06::22b; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c06::22b as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-oi0-x22b.google.com with SMTP id m82so22781818oif.1 for ; Fri, 19 Feb 2016 15:40:33 -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=S5LmjD21y13Ebo/SEkGRqHFUgWcOClBRsJos8EQ8iMw=; b=ZCmHD92plwpFvxZDTFj9kCMzMcvoeXuvDBvxXmLJj2Hsjp5Wsg27Blgk1PwUX8m8Ys jZy2OCwKlFG5wjymxwngWBX9ruY2oXV7uVlbfE0/dfP8BJttjpeTyBg0u45ungGRVoJN jVMPSqkJbskqiYgcYKfAvT2JxwLWwAtDLHDA0= 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=S5LmjD21y13Ebo/SEkGRqHFUgWcOClBRsJos8EQ8iMw=; b=a5sV0uXnOwIuV9hgP5M0JnZICkCa0r1tcwLAz5ftjtX0A+0EbYgF6qCpppCJtV8ko8 owVzGMwg4QEPmuxd5idfYf7jZE9ybd0bweUSRrIWt34RJ43Oo7JGrllCPivtRJCQDXgF vdJzfcSSl84A8iNAa5/7CVInORYnSrRxrHiDvkmsX6XMn3vNLaBKoy48wJ9o3RRSZ2Rr 5SuaatTDNbMrdTI6wiGZ1s1Tjy/xCCGnDYwZfU45zk4Z4NAEnGUNLnCqXYlJAhWjp01b 1RXrHtiJjHVeSCMkykk/7BDXdPuGga92DQovGVVHAohfsa2io+UStOywXIRqjfbWr0jD 0i0w== X-Gm-Message-State: AG10YOSi3zJiyUiVGNzND1HryVg1jFaohQ9a405NRUXjllmeBRZdDLEivhqZ7F/pr1z0DbtBPZg= X-Received: by 10.202.184.136 with SMTP id i130mr12336516oif.99.1455925233821; Fri, 19 Feb 2016 15:40:33 -0800 (PST) Return-Path: Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id kg7sm8655217obb.27.2016.02.19.15.40.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Feb 2016 15:40:32 -0800 (PST) From: Al Stone To: fwts-devel@lists.ubuntu.com Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH v2 05/23] Add in bit masks for FACS flags. Date: Fri, 19 Feb 2016 16:39:41 -0700 Message-Id: <1455925199-8587-6-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455925199-8587-1-git-send-email-al.stone@linaro.org> References: <1455925199-8587-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 Acked-by: Colin Ian King Acked-by: Alex Hung --- 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)