-/* $OpenBSD: gptimer.c,v 1.9 2020/07/12 20:36:37 naddy Exp $ */
+/* $OpenBSD: gptimer.c,v 1.10 2021/01/19 12:29:07 kettenis Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
static struct evcount clk_count;
static struct evcount stat_count;
-#define GPT1_IRQ 38
-#define GPTIMER0_IRQ 38
-
-//static int clk_irq = GPT1_IRQ; /* XXX 37 */
void gptimer_attach(struct device *parent, struct device *self, void *args);
int gptimer_intr(void *frame);
void
gptimer_cpu_initclocks()
{
-// u_int32_t now;
stathz = 128;
profhz = 1024;