Print this page
OS-2366 ddi_periodic_add(9F) is entirely rubbish
@@ -19,18 +19,22 @@
* CDDL HEADER END
*/
/*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
*/
+/*
+ * Copyright (c) 2013, Joyent, Inc. All rights reserved.
+ */
#ifndef _SYS_APIC_COMMON_H
#define _SYS_APIC_COMMON_H
#include <sys/psm_types.h>
#include <sys/avintr.h>
#include <sys/privregs.h>
#include <sys/pci.h>
+#include <sys/cyclic.h>
#ifdef __cplusplus
extern "C" {
#endif
@@ -157,11 +161,11 @@
extern int apic_break_on_cpu;
extern int apic_stretch_interrupts;
extern int apic_stretch_ISR; /* IPL of 3 matches nothing now */
#endif
-extern ddi_periodic_t apic_periodic_id;
+extern cyclic_id_t apic_cyclic_id;
extern void apic_nmi_intr(caddr_t arg, struct regs *rp);
extern int apic_clkinit();
extern hrtime_t apic_gettime();
extern hrtime_t apic_gethrtime();