diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2005-04-13 13:12:12 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2005-04-13 13:12:12 +0000 |
| commit | 91649ac9bd142356347fce7007015baa8bef96c6 (patch) | |
| tree | f305ff7582d3c20e84a09a4d42bde9aa5c7e5141 /sys/pc98/include | |
| parent | 99a4a4cabc9c9635d12f23925b888f3baf35ca5b (diff) | |
Notes
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 9c9ff18a384f..a2a654ad52d5 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 76698abe35ba..0a906c885d8c 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_ */ |
