diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-25 13:48:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-11-25 13:48:21 +0000 |
commit | 18b9b2bd9affaa235f075ce13b1436cab2bd96a4 (patch) | |
tree | 20d22b24f30b3bfec40001dbe89ba5b13c23800d /sys | |
parent | 9eaddb9d60d50832f5f4bb9aab5062708ef28b20 (diff) |
By popular demand and peer pressure, check-in work in progress work to support
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs
polishing; most of this work done during h2k9 last month, although the
porting effort started earlier this year.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/loongson/dev/glxvar.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/arch/loongson/dev/glxvar.h b/sys/arch/loongson/dev/glxvar.h new file mode 100644 index 00000000000..049aaf68ec4 --- /dev/null +++ b/sys/arch/loongson/dev/glxvar.h @@ -0,0 +1,22 @@ +/* $OpenBSD: glxvar.h,v 1.1 2009/11/25 13:48:20 miod Exp $ */ + +/* + * Copyright (c) 2009 Miodrag Vallat. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +void glx_init(pci_chipset_tag_t, pcitag_t, int); + +uint64_t rdmsr(uint); +void wrmsr(uint, uint64_t); |