From nobody Fri Mar 27 01:41:46 2026 X-Original-To: dev-commits-src-main@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 4fhjzt6Bbnz6WXJx for ; Fri, 27 Mar 2026 01:41:46 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fhjzt4YsXz40Dk for ; Fri, 27 Mar 2026 01:41:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774575706; 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=9NsKojJ5+JVcM51ecphigidtxuLHBONScwXvBV/kSUo=; b=BJ+WChsVaDUts7UwdZPSEmaAVsgZ1zy7j1xKEyjhoLdT53Vf4YnRdk65qSDX+x7tZZyfTq R/N0wVSlliNpahiyypCtJP9Qn44Gd1SncpiabuHovopkIBWHWXbNFKuTxqGv/ECAiPsTyM Y8qFb8MfkE82rzxjgzUr4Aq7Z1tZF2PfCvUpQy6HyJUj1ZtgXGkkqVwx+dJUKD9S2OgVFW 751ryJt0Z5Z+PHE2AracsN0ku/Njh7fF/ACb0o9+ZIyKyXhtgP0NnwpRgq1diiRR8kwFGT 9uUAfS6wfTrD8JfY+Ez2uaTsLTO4VmT7trt7/hea1ql+zUW9cIkInTq9PfM+vA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774575706; a=rsa-sha256; cv=none; b=p22ThVP8132N56NV3goDdH+/e5KoK5iECIgGAEW0a2oCx+X2Imi4FMuVKCULq+HKM/c05b gw0qEa0JcwAF9YBlJWTM/gEFS/HZKIIFw8D6B+4zBlvjZ4JnNI6KdoYpOaBGiJc0GCPGpC WqzT7/0P/BNySiCY4QIk6SdjSZ4a1n3Cso9KDkpeVGWd1yVL946wFnntCH241WILo7T3fO 9VxOOmKPySCAQzD2m00eONB8T9HMIJ9qABlbqTvdp8JiZtvBjp7FSeeTgqlu/UdraTyDan asyvHzwGmoh58KFVlc8wDceL0uiV81YLbVmWHfDbhspixFhrVndA/iJ3sWF+KA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774575706; 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=9NsKojJ5+JVcM51ecphigidtxuLHBONScwXvBV/kSUo=; b=RbAQ8Z06JppLux82OJQEAk5LqvTWKf8yE/CF00jYOJCMHSeP54KlyHry7ArQEz22hcl8k2 dIbOszJyMZmP/dNl2DJXcgEBZOXFK+c0CILIFVqCAE9TKQFXssShnvQ6Kpmssa6sC0Rotz swDhC1O8Z0MnYwGSsIRuAwRCPjAkwHWINd0JXbfMMRbzu5ICI8KXvSZD3TCyOLyRzamy1v NQXWAVZ+u2MDgym+KzrZExEi7Whq5ZOikecd/XbP43RrloN9RJABV3VGNuUWS2ARYWGYg0 uQCVP4wvbpaNfHr6DkM1ZQwK4JEBVqaWwQvkqZfB5wRncHtkeZzJSoUCrNq9OA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fhjzt48DLz38V for ; Fri, 27 Mar 2026 01:41:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1de16 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 27 Mar 2026 01:41:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 5f08cdc1fb62 - main - x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5f08cdc1fb62d157b6086b3ea844287e81e3c45d Auto-Submitted: auto-generated Date: Fri, 27 Mar 2026 01:41:46 +0000 Message-Id: <69c5e05a.1de16.72020a54@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5f08cdc1fb62d157b6086b3ea844287e81e3c45d commit 5f08cdc1fb62d157b6086b3ea844287e81e3c45d Author: Konstantin Belousov AuthorDate: 2026-02-27 04:32:58 +0000 Commit: Konstantin Belousov CommitDate: 2026-03-27 01:20:42 +0000 x86: move the NUM_ISA_IRQS symbol from atpic.c into x86/isa/icu.h This is not the best location, but works for now. Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D56003 --- sys/x86/isa/atpic.c | 2 -- sys/x86/isa/icu.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/x86/isa/atpic.c b/sys/x86/isa/atpic.c index 56566ef8d64d..0c884c5fc484 100644 --- a/sys/x86/isa/atpic.c +++ b/sys/x86/isa/atpic.c @@ -68,8 +68,6 @@ #define IMEN_MASK(ai) (IRQ_MASK((ai)->at_irq)) -#define NUM_ISA_IRQS 16 - static void atpic_init(void *dummy); inthand_t diff --git a/sys/x86/isa/icu.h b/sys/x86/isa/icu.h index ae7303c0e36e..35734750b3b1 100644 --- a/sys/x86/isa/icu.h +++ b/sys/x86/isa/icu.h @@ -71,4 +71,6 @@ void atpic_handle_intr(u_int vector, struct trapframe *frame); void atpic_startup(void); +#define NUM_ISA_IRQS 16 + #endif /* !_X86_ISA_ICU_H_ */