-/* $OpenBSD: cpu.c,v 1.56 2021/11/26 14:45:13 jsg Exp $ */
+/* $OpenBSD: cpu.c,v 1.57 2022/03/12 14:40:41 mpi Exp $ */
/* $NetBSD: cpu.c,v 1.56 2004/04/14 04:01:49 bsh Exp $ */
int cpu_match(struct device *, void *, void *);
void cpu_attach(struct device *, struct device *, void *);
-struct cfattach cpu_ca = {
+const struct cfattach cpu_ca = {
sizeof(struct device), cpu_match, cpu_attach
};
-/* $OpenBSD: agtimer.c,v 1.14 2021/05/16 03:39:27 jsg Exp $ */
+/* $OpenBSD: agtimer.c,v 1.15 2022/03/12 14:40:41 mpi Exp $ */
/*
* Copyright (c) 2011 Dale Rahn <drahn@openbsd.org>
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
void agtimer_set_clockrate(int32_t new_frequency);
void agtimer_startclock(void);
-struct cfattach agtimer_ca = {
+const struct cfattach agtimer_ca = {
sizeof (struct agtimer_softc), agtimer_match, agtimer_attach
};
-/* $OpenBSD: ampintc.c,v 1.30 2022/01/03 03:06:49 jsg Exp $ */
+/* $OpenBSD: ampintc.c,v 1.31 2022/03/12 14:40:41 mpi Exp $ */
/*
* Copyright (c) 2007,2009,2011 Dale Rahn <drahn@openbsd.org>
*
int ampintc_ipi_ddb(void *);
void ampintc_send_ipi(struct cpu_info *, int);
-struct cfattach ampintc_ca = {
+const struct cfattach ampintc_ca = {
sizeof (struct ampintc_softc), ampintc_match, ampintc_attach
};
struct interrupt_controller sc_ic;
};
-struct cfattach ampintcmsi_ca = {
+const struct cfattach ampintcmsi_ca = {
sizeof (struct ampintc_msi_softc), ampintc_msi_match, ampintc_msi_attach
};
-/* $OpenBSD: amptimer.c,v 1.13 2021/05/16 03:39:27 jsg Exp $ */
+/* $OpenBSD: amptimer.c,v 1.14 2022/03/12 14:40:41 mpi Exp $ */
/*
* Copyright (c) 2011 Dale Rahn <drahn@openbsd.org>
*
-struct cfattach amptimer_ca = {
+const struct cfattach amptimer_ca = {
sizeof (struct amptimer_softc), amptimer_match, amptimer_attach
};
-/* $OpenBSD: arml2cc.c,v 1.7 2021/05/16 15:10:19 deraadt Exp $ */
+/* $OpenBSD: arml2cc.c,v 1.8 2022/03/12 14:40:41 mpi Exp $ */
/*
* Copyright (c) 2013 Patrick Wildt <patrick@blueri.se>
*
void arml2cc_cache_sync(struct arml2cc_softc *);
void arml2cc_sdcache_drain_writebuf(void);
-struct cfattach armliicc_ca = {
+const struct cfattach armliicc_ca = {
sizeof (struct arml2cc_softc), arml2cc_match, arml2cc_attach
};
-/* $OpenBSD: cortex.c,v 1.6 2020/04/29 15:25:07 kettenis Exp $ */
+/* $OpenBSD: cortex.c,v 1.7 2022/03/12 14:40:41 mpi Exp $ */
/* $NetBSD: mainbus.c,v 1.3 2001/06/13 17:52:43 nathanw Exp $ */
/*
/* attach and device structures for the device */
-struct cfattach cortex_ca = {
+const struct cfattach cortex_ca = {
sizeof(struct device), cortexmatch, cortexattach, NULL,
config_activate_children
};
-/* $OpenBSD: mainbus.c,v 1.23 2020/08/26 03:29:05 visa Exp $ */
+/* $OpenBSD: mainbus.c,v 1.24 2022/03/12 14:40:41 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
* Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
int sc_early;
};
-struct cfattach mainbus_ca = {
+const struct cfattach mainbus_ca = {
sizeof(struct mainbus_softc), mainbus_match, mainbus_attach, NULL,
config_activate_children
};
-/* $OpenBSD: simplebus.c,v 1.18 2021/12/06 20:01:54 kettenis Exp $ */
+/* $OpenBSD: simplebus.c,v 1.19 2022/03/12 14:40:41 mpi Exp $ */
/*
* Copyright (c) 2016 Patrick Wildt <patrick@blueri.se>
*
int simplebus_dmamap_load_raw(bus_dma_tag_t, bus_dmamap_t,
bus_dma_segment_t *, int, bus_size_t, int);
-struct cfattach simplebus_ca = {
+const struct cfattach simplebus_ca = {
sizeof(struct simplebus_softc), simplebus_match, simplebus_attach
};