From patchwork Fri Jul 19 06:03:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1133908 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45qgS91bLLz9s7T for ; Fri, 19 Jul 2019 16:04:09 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=ozlabs.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="uoWoPMxX"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 45qgS90gznzDqsh for ; Fri, 19 Jul 2019 16:04:09 +1000 (AEST) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 45qgRt4hs5zDqlB for ; Fri, 19 Jul 2019 16:03:54 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=ozlabs.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=ozlabs.org header.i=@ozlabs.org header.b="uoWoPMxX"; dkim-atps=neutral Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 45qgRt2RTyz9sDQ; Fri, 19 Jul 2019 16:03:54 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1563516234; bh=/8XjMMtiCSRn1TtHeLowDfnCAlAq/T27PPNFbgfurRU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uoWoPMxXAc1ImmJf54xcWZSsmBmYVZR9u2gTU5KuT8x3ucE9cODGrl+L2bJZ+oNoA IS+I2aCVk5xvFDE0fCoBna0p2BhhGdkMLRCqcxH9acCgEi1YYd0w+OAxbReY/yOhj3 dGDRylWUOqbpnCwmYW0soBBVwMRkHYw8Y6kQnWaXoCWEDHy11c93QwIjL94WxVn6n3 wvfJFRm4rUcaWCiTYgxZp4nzUAh4inAoYH7qc945cpTgcXnsDesBL6fBBqflWUVapQ fI8iVQaQTHQFkS2G70LfNLpZZgNj/Uug8HcDbloglW2WXKHRXAs3k5+NQcnrIMvnvu PxtcbraSYyklg== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Fri, 19 Jul 2019 16:03:47 +1000 Message-Id: <20190719060348.19672-5-amitay@ozlabs.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190719060348.19672-1-amitay@ozlabs.org> References: <20190719060348.19672-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 4/5] parsers: Add parser for 32-bit default value X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Amitay Isaacs Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" Signed-off-by: Amitay Isaacs --- src/parsers.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parsers.h b/src/parsers.h index ba52178..be13ce9 100644 --- a/src/parsers.h +++ b/src/parsers.h @@ -10,6 +10,7 @@ #define DATA32 (parse_number32, NULL) #define DATA16 (parse_number16, NULL) #define DEFAULT_DATA(default) (parse_number64, default) +#define DEFAULT_DATA32(default) (parse_number32, default) #define GPR (parse_gpr, NULL) #define SPR (parse_spr, NULL)