Add the keyboard and ps2mouse driver here as dveice drivers instead of having

them statically linked.
Adjust some of the headers for the Drivers change.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@172 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
David Reid 2002-07-12 23:49:04 +00:00
parent 2dcaf9a76a
commit 2bf4a34fc2
4 changed files with 31 additions and 3 deletions

View File

@ -56,6 +56,34 @@ KernelLd
addons/drivers/dev/random
;
KernelLd
ps2mouse
:
<$(SOURCE_GRIST)!kernel!drivers!arch!$(OBOS_ARCH)!ps2mouse>ps2mouse.o
kernel.so
:
$(OBOS_TOP)/src/kernel/core/addons/ldscripts/$(OBOS_ARCH)/addon.ld
:
-Bdynamic -shared
:
:
addons/drivers/dev/ps2mouse
;
KernelLd
keyboard
:
<$(SOURCE_GRIST)!kernel!drivers!arch!$(OBOS_ARCH)!keyboard>keyboard.o
kernel.so
:
$(OBOS_TOP)/src/kernel/core/addons/ldscripts/$(OBOS_ARCH)/addon.ld
:
-Bdynamic -shared
:
:
addons/drivers/dev/keyboard
;
# This needs to be fixed once the various headers are fixed.
#KernelLd
# ac97

View File

@ -1,5 +1,6 @@
SubDir OBOS_TOP src add-ons kernel drivers ;
SubInclude OBOS_TOP src add-ons kernel drivers arch ;
SubInclude OBOS_TOP src add-ons kernel drivers audio ;
SubInclude OBOS_TOP src add-ons kernel drivers common ;
SubInclude OBOS_TOP src add-ons kernel drivers random ;

View File

@ -12,7 +12,7 @@
*******************************************************************************/
#include <ktypes.h>
#include <drivers.h>
#include <Drivers.h>
#include <debug.h>
#include <memheap.h>
#include <string.h>

View File

@ -252,7 +252,7 @@ __inline void kill_chrand (ch_randgen *randgen)
+++++ */
//#include <drivers/KernelExport.h>
#include <drivers.h>
#include <Drivers.h>
#include <Errors.h>
#include <string.h>
#include <stdlib.h>
@ -443,4 +443,3 @@ device_hooks *find_device(const char* name)
return &my_device_hooks;
return NULL;
}