arm64: bus: unhide bus_space definition with sanitizers included

We'll only be redefining the various bus_* macros, not the definition of
struct bus_space.

Reviewed by:	andrew
Sponsored by:	Juniper Networks, Inc.
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D36718
This commit is contained in:
Mitchell Horne 2022-09-26 14:24:21 -05:00 committed by Kyle Evans
parent d1b07f36a2
commit c5500a01c7

View File

@ -92,10 +92,6 @@
#define BUS_SPACE_BARRIER_READ 0x01
#define BUS_SPACE_BARRIER_WRITE 0x02
#if defined(SAN_NEEDS_INTERCEPTORS) && !defined(SAN_RUNTIME)
#include <sys/bus_san.h>
#else
struct bus_space {
/* cookie */
void *bs_cookie;
@ -282,6 +278,10 @@ struct bus_space {
bus_size_t, uint64_t);
};
#if defined(SAN_NEEDS_INTERCEPTORS) && !defined(SAN_RUNTIME)
#include <sys/bus_san.h>
#else
/*
* Utility macros; INTERNAL USE ONLY.
*/