From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 21CD01A1DF8 for ; Wed, 10 Aug 2016 08:18:46 -0700 (PDT) Received: by mail-wm0-x233.google.com with SMTP id d196so14485369wmd.0 for ; Wed, 10 Aug 2016 08:18:46 -0700 (PDT) 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=whDS72SWonJJFcXHLxHG/f2jBgqqQzoUUa+BnpaNHsI=; b=LncDnoXR8gvCAz8O7jwDhq0Ui1pQBE8RVLhjgO8DP0d0yhKWnA/dgMVUYOW9vjC29y OOHcbv/j/hoh2FF1Lw5U8RJExzAlZhaLoYHPTPRDDY6l/APEJlmykQjiaUDSe13SE3At YB7GCzbLLug7kxVRXXv2UEnFFFigbnuE362A0= 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=whDS72SWonJJFcXHLxHG/f2jBgqqQzoUUa+BnpaNHsI=; b=jo6JLuqXL31N4Ca4ex1NZ/zzf91Df6jHieG8xkLvksxM9QydnDPg46NNuw4vOymF1y JjtgLtIa7hvU9/1pVp6gwFDVbXqBvViIY/OY2aQlDSAcNwOvaThRn2itle5r53liNJJ/ I00S0xEboD16+wvFTGyzt3zkikt4XN88+2Xey9EdPO+BAUcws6Dgr1WH8KiWP4p7slvd AbnY5J3t4xNd4Lek96mckGfx2IPwtaRhy63n+F/FYMpP+5OF7AkwvcYL/x8eq+iZ69Yz lCpUy+PpRNm5cX3iwtC1HS7Ov8H8DEOCzG4OgT5EwR6oMIDOxOH2i/PXKRQ9mJEKp9W7 AHPA== X-Gm-Message-State: AEkoouu9budiO1qXlBKKCBbaiA01e7dzbFd2UilMj5moJX8Sr0VV1rpVdpYo7+UmgNu/Gosj X-Received: by 10.194.139.34 with SMTP id qv2mr4586320wjb.50.1470842324538; Wed, 10 Aug 2016 08:18:44 -0700 (PDT) Received: from localhost.localdomain (46.red-81-37-107.dynamicip.rima-tde.net. [81.37.107.46]) by smtp.gmail.com with ESMTPSA id c16sm8908374wme.4.2016.08.10.08.18.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 10 Aug 2016 08:18:43 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org, leif.lindholm@linaro.org, eugene@hp.com Cc: lersek@redhat.com, Ard Biesheuvel Date: Wed, 10 Aug 2016 17:17:49 +0200 Message-Id: <1470842282-8415-14-git-send-email-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1470842282-8415-1-git-send-email-ard.biesheuvel@linaro.org> References: <1470842282-8415-1-git-send-email-ard.biesheuvel@linaro.org> Subject: [PATCH 13/26] ArmPkg/ArmMmuLib: switch to ASM_FUNC() asm macro X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 15:18:46 -0000 Annotate functions with ASM_FUNC() so that they are emitted into separate sections. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel --- ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S index 3834da7bfedd..90192df24f55 100644 --- a/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S +++ b/ArmPkg/Library/ArmMmuLib/AArch64/ArmMmuLibReplaceEntry.S @@ -14,8 +14,6 @@ #include -GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry) - .set CTRL_M_BIT, (1 << 0) .macro __replace_entry, el @@ -52,7 +50,7 @@ GCC_ASM_EXPORT(ArmReplaceLiveTranslationEntry) // IN UINT64 *Entry, // IN UINT64 Value // ) -ASM_PFX(ArmReplaceLiveTranslationEntry): +ASM_FUNC(ArmReplaceLiveTranslationEntry) // disable interrupts mrs x2, daif -- 2.7.4