Index | Thread | Search

From:
Hans-Jörg Höxer <hshoexer@genua.de>
Subject:
Re: [EXT] ioapic(4) cleanup diff
To:
<tech@openbsd.org>
Cc:
<Hans-Joerg_Hoexer@genua.de>
Date:
Tue, 2 Sep 2025 14:28:37 +0200

Download raw body.

Thread
Hi,

On Sat, Aug 30, 2025 at 09:25:27PM +0200, Mark Kettenis wrote:
> ...
> Index: arch/amd64/amd64/genassym.cf
> ===================================================================
> RCS file: /cvs/src/sys/arch/amd64/amd64/genassym.cf,v
> diff -u -p -r1.47 genassym.cf
> --- arch/amd64/amd64/genassym.cf	10 Jul 2025 13:59:27 -0000	1.47
> +++ arch/amd64/amd64/genassym.cf	28 Aug 2025 19:29:41 -0000
> @@ -12,7 +12,6 @@ include <machine/pte.h>
>  include <machine/vmparam.h>
>  include <machine/intr.h>
>  include <machine/tss.h>
> -include <machine/i82093var.h>
>  
>  export	SONPROC
>  
> @@ -140,10 +139,6 @@ member	ih_arg
>  member	ih_next
>  member	ih_level
>  member	IH_COUNT	ih_count.ec_count
> -
> -struct	ioapic_softc
> -member	IOAPIC_SC_REG	sc_reg
> -member	IOAPIC_SC_DATA	sc_data
>  
>  # pte fields
>  export	PG_V

alongside those, we could also clean up struct intrhand and struct
intrsources some more:

diff --git a/sys/arch/amd64/amd64/genassym.cf b/sys/arch/amd64/amd64/genassym.cf
index 84d1c992b70..80cafa440f4 100644
--- a/sys/arch/amd64/amd64/genassym.cf
+++ b/sys/arch/amd64/amd64/genassym.cf
@@ -128,14 +128,10 @@ member	is_recurse
 member	is_resume
 member	is_handlers
 member	is_pic
-member	is_flags
 member	is_pin
-member	is_type
 member	is_maxlevel
 
 struct	intrhand
-member	ih_fun
-member	ih_arg
 member	ih_next
 member	ih_level
 member	IH_COUNT	ih_count.ec_count