diff options
author | nyan <nyan@FreeBSD.org> | 2005-04-13 13:12:12 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2005-04-13 13:12:12 +0000 |
commit | 142d6a64ca39b428fe67cf8577199de6260f0263 (patch) | |
tree | f305ff7582d3c20e84a09a4d42bde9aa5c7e5141 /sys/pc98/include | |
parent | b12fd2aedd1e5604e6343be18fd606e3f3698bdb (diff) | |
download | FreeBSD-src-142d6a64ca39b428fe67cf8577199de6260f0263.zip FreeBSD-src-142d6a64ca39b428fe67cf8577199de6260f0263.tar.gz |
Move pc98 specific parts to the pc98 specific file.
Diffstat (limited to 'sys/pc98/include')
-rw-r--r-- | sys/pc98/include/clock.h | 36 | ||||
-rw-r--r-- | sys/pc98/include/pc/display.h | 37 |
2 files changed, 69 insertions, 4 deletions
diff --git a/sys/pc98/include/clock.h b/sys/pc98/include/clock.h index 9c9ff18..a2a654a 100644 --- a/sys/pc98/include/clock.h +++ b/sys/pc98/include/clock.h @@ -1,6 +1,38 @@ /*- - * This file is in the public domain. + * Copyright (C) 2005 TAKAHASHI Yoshihiro. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ */ -/* $FreeBSD$ */ + +#ifndef _PC98_INCLUDE_CLOCK_H_ +#define _PC98_INCLUDE_CLOCK_H_ #include <i386/clock.h> + +#ifdef _KERNEL +int acquire_timer1(int); +int release_timer1(void); +#endif + +#endif /* _PC98_INCLUDE_CLOCK_H_ */ diff --git a/sys/pc98/include/pc/display.h b/sys/pc98/include/pc/display.h index 76698ab..0a906c8 100644 --- a/sys/pc98/include/pc/display.h +++ b/sys/pc98/include/pc/display.h @@ -1,6 +1,39 @@ /*- - * This file is in the public domain. + * Copyright (C) 2005 TAKAHASHI Yoshihiro. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * $FreeBSD$ */ -/* $FreeBSD$ */ + +#ifndef _PC98_INCLUDE_PC_DISPLAY_H_ +#define _PC98_INCLUDE_PC_DISPLAY_H_ #include <i386/pc/display.h> + +/* + * PC-98 attributes for foreground text. + */ +#undef FG_UNDERLINE +#define FG_UNDERLINE 0x08 + +#endif /* !_PC98_INCLUDE_PC_DISPLAY_H_ */ |