From patchwork Tue Apr 14 02:47:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amitay Isaacs X-Patchwork-Id: 1270068 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (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 491Vs93dSXz9sPF for ; Tue, 14 Apr 2020 13:12:13 +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.a=rsa-sha256 header.s=201707 header.b=ZpSGeSJS; 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 491Vs86GXXzDqBW for ; Tue, 14 Apr 2020 13:12:12 +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 491VLY1fbpzDqQn for ; Tue, 14 Apr 2020 12:49:09 +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.a=rsa-sha256 header.s=201707 header.b=ZpSGeSJS; 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 491VLT7005z9sT1; Tue, 14 Apr 2020 12:49:05 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; t=1586832546; bh=UBS06fApK52t91PUmr+hcHyAL/W1DGvrmDe9D4bwej8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZpSGeSJS+bzQD/4vELtc/w86gwK/a6PX52P1O+XsiHlM5J1MSSz4YLhpaH0s3kLcd zwy5j2w3XANRRbbHxlUxNQRzbV6hzoLo1XEnKtU3e7BWw4pN72Ssd+2r/PHtmYsNl1 Cm4DYzX78dmwboNQ/BzIm7X5/HocZbTTHqkdbxHOWD9zsObR3H0yZn5ZkjUqmKBZl5 rD4t3GLUrhvm0VhMdGW2a9ml/bohCHn151hec6uG9YYQAb6fzcZcYWmlB308EBWr3k /XNoVvEIfsTVq2bnHJHfNdKk7Gb8nxd6M1BJToQzo7tVYKR0R6xSemlBHkigx6IKxV 5h0XIiY/R8Abw== From: Amitay Isaacs To: pdbg@lists.ozlabs.org Date: Tue, 14 Apr 2020 12:47:39 +1000 Message-Id: <20200414024750.20170-13-amitay@ozlabs.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: <20200414024750.20170-1-amitay@ozlabs.org> References: <20200414024750.20170-1-amitay@ozlabs.org> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 12/23] libpdbg: Register fake drivers with fake backend 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 Reviewed-by: Alistair Popple --- libpdbg/fake.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libpdbg/fake.c b/libpdbg/fake.c index ae02463..64925d4 100644 --- a/libpdbg/fake.c +++ b/libpdbg/fake.c @@ -90,8 +90,8 @@ DECLARE_HW_UNIT(fake_thread); __attribute__((constructor)) static void register_fake(void) { - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_fsi_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_pib_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_core_hw_unit); - pdbg_hwunit_register(PDBG_DEFAULT_BACKEND, &fake_thread_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_fsi_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_pib_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_core_hw_unit); + pdbg_hwunit_register(PDBG_BACKEND_FAKE, &fake_thread_hw_unit); }