From nobody Fri Mar 27 01:41:46 2026 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 4fhk001ScCz6WXR3 for ; Fri, 27 Mar 2026 01:41:52 +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 4fhjzz5jdqz40L8 for ; Fri, 27 Mar 2026 01:41:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774575711; 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=yWva7hBULxDI7E8L4pQVGYD7MtdYp/T8+DYko8dQTu31rTLT07ORPXkz3t84iKk9mQngmM TkRDvDdo4kJoV2BPvSXqoRiOTJs0SS8P7k2K2FxRnhXFpP8ONjoS2PA2ES/+xLbNuShaRW FzLZJR9adAHeofAaFETcRlqBM3kH8FiqPw3YLqmS32Lz6IIQVfo6laDbQWd9Oeak3e2ftb ZH/hb1XtZTC14RpvPzOMaQ9YOqnhigwiE8KLLaX8Af+nV3BeY4IPWvNFSBW82rsIIF+kIQ 8IeO0J7sQD6sGv1i1ZTuGowUd4nu+ychueUfAK+gs9jjYsnvth7OlgUqs5yE7w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774575711; a=rsa-sha256; cv=none; b=HFxXeq7RnSBqQEPqs8Bl16Yiivhoq6XZWpmPPgHoddqTpFj1r07xTEAnZDOczzgu7xJdOw aJtqOLDDZLa1HKOQwpeekPRK4aZVpAMrXqXzAIXkr2L4RoMpKJbiFn8gliAZmnJQbked1y dqFnqvF8x4GMW4zGDkTnJjSaSfBWiFf8qpbX9T2vzHvEL2UHMD2y56050p6wDf5xSVIWLH B3j3gTW6DBh94Chq3wPDIGF2Mp1E3P+i+EXS8SSXM0zaok1QMEN7ZQ4wGwidMZbkn3klTU lhKK9VIcSzjFag7pjq2zDDZGMUj6EJ0WnlojthESo0KhOhtTBXP5cgOCpxfNAQ== 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=1774575711; 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=Wi9OOQA6+/n7D0gyse8mByP76pR0PSwqazlavoVr9QqvCsll3R3rdzccNifLi5n4KqA40W igdFfvkoLeLQqOg4UR4yt/6s/hBPviqhVOlZcrAVuFTwRzTyFn1vjWGlNebpjfLlK/iGW3 f6GpIN3AzxvA3LZ6PbDPGEE+5ykSH1jsDjBl+w9CtqHjHurbuPsA+jB+45CsQrr6BKUXYE PmDg4GmxCUoOejNucmRwuPxWUjDuvu41Af5VnwXOyBf1sc6wIDnx6Khojp3mDT2mkV7U8r ckNvMql+e8AYLmVnFIE+h23yia7/WMtB0Zam2wRco3Kps07GwkdqCr86Mm0CrQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fhjzz59Ftz2FF for ; Fri, 27 Mar 2026 01:41:51 +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 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: 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_ */