Message ID | 20220920173152.199359-9-deller@gmx.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0D1FAC6FA82 for <qemu-devel@archiver.kernel.org>; Tue, 20 Sep 2022 23:22:09 +0000 (UTC) Received: from localhost ([::1]:41216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org>) id 1oamZ5-0002EU-TI for qemu-devel@archiver.kernel.org; Tue, 20 Sep 2022 19:22:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <deller@gmx.de>) id 1oah6M-00049h-A7 for qemu-devel@nongnu.org; Tue, 20 Sep 2022 13:32:09 -0400 Received: from mout.gmx.net ([212.227.17.21]:53615) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <deller@gmx.de>) id 1oah6G-0003IO-3g for qemu-devel@nongnu.org; Tue, 20 Sep 2022 13:32:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1663695114; bh=BcxOqfmO/trIQjNo29cpvGdH85hMR3n5nzwaODzaDdI=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=kkZ7nMSVuORhh4tj4L23okHSV8Ljmoesc7ETfvVuqB094ypgBSNbqzMS4KRnP1Mf1 eZLyns6Yi65ZmJiwvMdhyz2zSBwoBaYVWJT9uL/BN/7HduPNcRCmYbby3XMLLORYst Sn/IysGsn/SyVlytKIL+K97usx0BBra26oR5q5tw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from p100.fritz.box ([92.116.174.94]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MKbg4-1or7WI1nu0-00L0Dx; Tue, 20 Sep 2022 19:31:54 +0200 From: Helge Deller <deller@gmx.de> To: qemu-devel@nongnu.org, Laurent Vivier <laurent@vivier.eu>, Richard Henderson <richard.henderson@linaro.org>, Stefan Hajnoczi <stefanha@gmail.com> Cc: deller@gmx.de Subject: [PULL 08/12] linux-user/hppa: Set TASK_UNMAPPED_BASE to 0xfa000000 for hppa arch Date: Tue, 20 Sep 2022 19:31:48 +0200 Message-Id: <20220920173152.199359-9-deller@gmx.de> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20220920173152.199359-1-deller@gmx.de> References: <20220920173152.199359-1-deller@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:FkLP9tkjtH8iyG+/FIAcbUwIaHAMBJw43DcTVUCH06SxnI3nvoz M9o0xHlLtd/k0eSZS1OImoGZlr3jSQOPb8+99xwncNqgu+K5g2e8q62Brpv4VVmRDd7wV2h LDLYF44z5/+TCJ/B33r+Ut8Kz6gKb2k+ffP4J75Vj9/CE1fb/nFTQOtWssHp+o4AjdApRcG Z42p3h6DDdXOBrK/+4eQQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:ZctraO/anlk=:i+T1pnzrbJeBo9ba76k9+a I5Tb7ib15U8MBrJQlWEQeUAIq669d/GZlesPxADn6NNS/0ldGxMQtw30ggeUCgWWK9T9pLwVF Bbdw7FNQVAwPPPmcGggXMvdxoMOQSpAcKtX1G6FRKMOF2sBvS3aKWJRIJDyqbL6qOJBTRxHQY 7I4me7/Gx33/hnGkR1qUVTGbXtElm7uryG3CGsl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Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org> |
Series |
[PULL,01/12] linux-user: Add missing signals in strace output
|
expand
|
diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 048c4135af..dba6823668 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -251,8 +251,12 @@ static int mmap_frag(abi_ulong real_start, # define TASK_UNMAPPED_BASE (1ul << 38) #endif #else +#ifdef TARGET_HPPA +# define TASK_UNMAPPED_BASE 0xfa000000 +#else # define TASK_UNMAPPED_BASE 0x40000000 #endif +#endif abi_ulong mmap_next_start = TASK_UNMAPPED_BASE; unsigned long last_brk;
On the parisc architecture the stack grows upwards. Move the TASK_UNMAPPED_BASE to high memory area as it's done by the kernel on physical machines. Signed-off-by: Helge Deller <deller@gmx.de> --- linux-user/mmap.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.37.3