From nobody Thu Dec 12 21:25:03 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y8QV76s3Dz5glcf; Thu, 12 Dec 2024 21:25:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y8QV76BnGz4NRT; Thu, 12 Dec 2024 21:25:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734038703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N0oWNhKJ2wEaIt6+rsAGcP7gbcKouS4zQJZ1gknvd5I=; b=IdBmtbcrogQ7TPT8IVpCZkoMxw1VyNVMYaEBbgKiQz4sb/67fXhvrtY39OXc3xHYvM9tBP PKSOwFXrOYgUzQyrU7JrXN5M/8hn2TEGZMtpuEXoJ/v9rwHLMkf579lFBgkrWA0w6VrB7W UW3jqTdm0ZBzAuCVolpe6OOvrFl7cN036MMLtWTQhSKhqy0c3FXd+aspHUm3MT9tJDCLRk mnPXKiJsR8pXbw483zCqKDZTjIMgjaLLpFeCt//cLalwNnz4ydPh6uzy85gt5AOaYwMbjn LZYqbUaiEywduU/hzYTprWiZg6vSq6cpBcjRo63OHGO6yAxuZjrlkdhe/DOYew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734038703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=N0oWNhKJ2wEaIt6+rsAGcP7gbcKouS4zQJZ1gknvd5I=; b=sZec6nAcHq2WpNExPP9nlHMkctLrHXhV8gkwqdW6UetTo2lnIR4NcHI4XRt9Z+qCmRGsNI Cu4K0z/JpajYPsgkzw6NTcr9iUVfj2HXqOS7V3QT5JTQBNx9ytQaj7xS/4282FytWrhwBM VwnI9R7K+X4XAeky334M7t+2oU6+F8tlqHG5EaZpSKvWPzJBGLQk/Q16LTb+uNZxH1p29i qIeV+NBCWIo376FKfqgB6MBWBg7o9ixFIolApde2v2zuqUFj7Vq12Co2uyTZHoRU6XmkCw GbxjN2fm4u/DaFT24Fm1qSINg12At7ZNi7iJfsgtlIR+3moMpsl1Q8a9gJH34A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734038703; a=rsa-sha256; cv=none; b=dBIHlXvn0j7FnGPvxTf8Ar7l8yFlBNvbA7wT27bQuog+vlg2FC8YN+vprg/vJQYld40xPt isUa1kNLBiy6U8bavxjVgcmTktUyXl19a2kK2z15qx9dOhch4GeI7wyUsdNcKm9vivar0U XOAWUQdYJx2W75gqQ1kO8wzmAbjxPP9cNyI1vVB37InxbeDEHOSjoNb2JOQYLjUb7w11NK 1pAmyHL6QK/2N68ZLnv8Tt0L1hHuTLUB+s9OGYbqLU7DWJCGSVAL6Y+AojGXGVyq/hypL0 cxWJNlsUJM+XpNf43vjF+iftMNBU8LUzI+ypYfVjmNQuPVp2J39QNhNMCpXiLQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y8QV75fSJz18dY; Thu, 12 Dec 2024 21:25:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BCLP3vM050596; Thu, 12 Dec 2024 21:25:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BCLP3KR050593; Thu, 12 Dec 2024 21:25:03 GMT (envelope-from git) Date: Thu, 12 Dec 2024 21:25:03 GMT Message-Id: <202412122125.4BCLP3KR050593@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Jessica Clarke Subject: git: e32b14ef10a7 - stable/13 - mips/malta: Prefer _start over _locore for entry point symbol List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e32b14ef10a7b0c3130ead9e676c8e6f261f0b69 Auto-Submitted: auto-generated The branch stable/13 has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=e32b14ef10a7b0c3130ead9e676c8e6f261f0b69 commit e32b14ef10a7b0c3130ead9e676c8e6f261f0b69 Author: Jessica Clarke AuthorDate: 2024-12-12 21:19:04 +0000 Commit: Jessica Clarke CommitDate: 2024-12-12 21:19:04 +0000 mips/malta: Prefer _start over _locore for entry point symbol These are aliases, but it's probably nicer to use the same symbol as we use for the actual ELF entry point. This is a direct commit to stable/13 as mips no longer exists in main. --- sys/mips/malta/malta_mp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/mips/malta/malta_mp.c b/sys/mips/malta/malta_mp.c index fe284501dffb..e88b5d9f0f46 100644 --- a/sys/mips/malta/malta_mp.c +++ b/sys/mips/malta/malta_mp.c @@ -44,7 +44,7 @@ #include #include -void _locore(__register_t a0, __register_t a1, __register_t a2, +void _start(__register_t a0, __register_t a1, __register_t a2, __register_t a3); #define VPECONF0_VPA (1 << 0) @@ -239,7 +239,7 @@ platform_start_ap(int cpuid) set_thread_context(cpuid); /* Set entry point */ - mttc0(2, 3, (register_t)&_locore); + mttc0(2, 3, (register_t)&_start); /* Enable thread */ reg = mftc0(2, 1);