diff options
author | simokawa <simokawa@FreeBSD.org> | 2004-10-13 05:38:42 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2004-10-13 05:38:42 +0000 |
commit | bc246db21da7264fec412ba93be770e276ab2357 (patch) | |
tree | 3b77c59d53dfdf2c510722e3405df0e1ec988f45 /sys/dev/dcons/dcons_crom.c | |
parent | 35f180990e23f708bc88844a944ad726af2101dd (diff) | |
download | FreeBSD-src-bc246db21da7264fec412ba93be770e276ab2357.zip FreeBSD-src-bc246db21da7264fec412ba93be770e276ab2357.tar.gz |
- Split dcons core code and OS dependent code.
- Implement dcons_ischar() and dcons_load_buffer().
- If loader passed a dcons buffer address, keep using it.
(We still need a patch to cheat memory management system.)
Diffstat (limited to 'sys/dev/dcons/dcons_crom.c')
-rw-r--r-- | sys/dev/dcons/dcons_crom.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/dcons/dcons_crom.c b/sys/dev/dcons/dcons_crom.c index f2518fd..32ae15a 100644 --- a/sys/dev/dcons/dcons_crom.c +++ b/sys/dev/dcons/dcons_crom.c @@ -46,10 +46,19 @@ #include <sys/bus.h> #include <machine/bus.h> +#ifdef __DragonFly__ +#include <bus/firewire/firewire.h> +#include <bus/firewire/firewirereg.h> +#include <bus/firewire/iec13213.h> +#include "dcons.h" +#include "dcons_os.h" +#else #include <dev/firewire/firewire.h> #include <dev/firewire/firewirereg.h> #include <dev/firewire/iec13213.h> #include <dev/dcons/dcons.h> +#include <dev/dcons/dcons_os.h> +#endif #include <sys/cons.h> |