On Fri, Apr 25, 2014 at 12:36 AM, NULL <[email protected]> wrote:

> Hello,
>
>   all!
>   Maybe,I thinks it's usefull that if sqlite add support for windows
> kernel.
>   Now more and more users develop thire software in kernel,they must deal
> all the things by themselves with no STL,BOOST and so on.
>   If they need handle some complex works,it's a hard work.So usually,they
> do  as less sa they can in kernel.
>   This suject is very important especially for Anti-Virus software for it
> do much complex work in kernel very offten.If Sqlite can work in windows
> kernel,this things get better.
>

SQLite has been used successfully in the past in windows kernel modules,
those this is not something that we have actively maintained.

The following points are helpful:

Compile with -DSQLITE_SMALL_STACK.  The kernel only has a 4K stack and so
efforts must be made to keep stack usage to a minimum.  The
SQLITE_SMALL_STACK macro was added to SQLite specifically to enable SQLite
to be used in the windows kernel.

Disable floating point operations using -DSQLITE_OMIT_FLOATING_POINT.
Floating point operations are prohibited in the kernel because traps to
kernel space do not save floating point registers.


-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to