[okl4-developer] New Driver Interfaces
Jamie Lennox
jamielennox at gmail.com
Thu Jul 3 16:05:36 EST 2008
Hey guys,
I'm implementing a new type of driver, in this case a vga screen without
wombat. I've created a new vserver, and thats fine, i've created a
driver and .dx and thats all linking and working - replicating most
stuff from vlcd and the driver tutorial.
Now according to the tutorial, the reason we have to implement poll and
interrupt handlers is because we are implementing the device interface
from libs/driverv2/include/device_if.di. As i've made my own vserver i
dont really need to stick to that convention to make things work so i
made screen_if.di in that folder and my .dx file starts with <screen
name="generic_vga">.
Now build throws the error
"ezxml.EzXMLError: Names don't match: screen device"
Quickly looking through the other drivers i couldn't find one that
didn't implement device.if.
Is this defined somewhere in my build system that i forgot to change over?
Must the .dx implement the <device ...> header?
Or did i misread something and am trying to implement my .di in the
wrong location.
Thanks
Jamie
More information about the Developer
mailing list