CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2026/06/22 01:54:19

Modified files:
        sys/arch/arm64/arm64: bus_dma.c 
        sys/arch/arm64/dev: apldart.c mainbus.c 
        sys/arch/arm64/include: bus.h simplebusvar.h 
        sys/dev/fdt    : bcm2711_pcie.c 

Log message:
The busdma API requires use of typedefs and pointers, and generally
hides the structures and their fields.  Obviously a few piece of MD
code need to setup these structures, and therefore the structure names
became MD with prefixes like arm64_ or sparc_ or machine_.  amd64 did
not follow this pattern of using a prefix.  The hibernate code for
side-effect-free driver setup needs to handle the real structures.
This is MI code and is being done carefully without becoming an API
leakage concern.
Other ways of fixing this are worse, so we decide these MD prefixes
are a bad idea.  This removes the prefix for arm64 so that hibernate
work can happen.
ok kettenis mlarkin mglocker

Reply via email to