[ros-kernel] Where to put some common functions in reactos
KJK::Hyperion
noog at libero.it
Sun Feb 15 00:53:29 CET 2004
At 00.40 15/02/2004, you wrote:
>My question is, where do these functions go. I've heard from various people
>that rosrtl is not for kernel mode stuff,
I created rosrtl, I should know well what it's for. The general rule for
rosrtl is to implement functions inside it by only using:
- other rosrtl functions
- system calls (in the Zw form - yes, this isn't done in the current
code, shame on me)
- native RTL functions
- pure (stateless) C runtime functions
- dynamic callbacks (passed as parameters to functions)
- static callbacks (resolved at link time, implemented elsewhere)
If you just can't do otherwise, write functions that only work in a
specific environment, that's not a problem: rosrtl is not a DLL, so it's
not affected per se by this kind of limitations. Just to be sure, what kind
of functions are yours?
More information about the Ros-kernel
mailing list