Please don't use color markup. People use different styles on this forum, and on the quite popular "mtDark2" theme, blue is exceptionally unreadable.XCHG wrote:The FunctionAddresses member will have its size in bytes equal to NumberofFunctionsSupported * sizeof(FunctionAddresses).
As for your concept:
I like the idea of a well-defined kernel - driver interface, and actually thought up a comparable scheme myself for Pro-POS. However, it is usually not practical to handle device drivers as potential malware - if you distrust even hardware drivers, your options of response should a driver turn out to be malware are severely limited, and you put a dent in your style and your performance that way.XCHG wrote:The driver should not be allowed to ask for anything from the kernel, not at least initially.
Either a driver is part of the kernel (i.e., trusted and running in kernel space), or it's a (microkernel-style) server process, which should be very much alike to a "normal" application process, i.e. not that special in start-up.