ab5000
Joined: 06 May 2008 Posts: 74
|
Posted: Sun Jul 12, 2009 9:13 pm Post subject: |
|
|
I'm sure step 1 checks if the calling thread can do that thing.
I saw the k1 = k1 >> 16 in most kernel functions. Probably the effective K1 is stored like this (shifted 16-bit right). When using k1 = 0 you don't notice this because 0 >> 16 = 0. (Just some guessing!).
Bye,
ab5000. _________________
| Code: | %:include<stdio.h>
int _(int __,int ___,int ____,int _____)
<%for(;____<___;_____=_____*__,____++);
return _____;%>main()<%printf
("%d\n",_(2,5,0,1));%> |
|
|