search for: kernelconst

Displaying 2 results from an estimated 2 matches for "kernelconst".

2004 May 11
2
[LLVMdev] Problems accessing structs
...ried to have different function pointers, but ONLY pointers in position 0 in the map-struct works. If I try to access any other posistion, e.g. long 0, ubyte 1, this error comes. What is wrong? Getelementptr again? :) The detailed complete source code is below. Regards Anders ----- "Hello KernelConst" = internal constant [14 x sbyte ] c"Hello Kernel\0A\00" "myKernelMap" = type {int (sbyte*)*, int ()*} "Kernel" = type {"myKernelMap"*} declare int %printf(sbyte*, ...) declare int %getchar(...) int %puts_kernel(sbyte* %string) { %tmp0 = call int (sb...
2004 May 11
0
[LLVMdev] Problems accessing structs
...ters in position 0 in the map-struct works. If I try to access any other posistion, e.g. long 0, ubyte 1, this error comes. > > What is wrong? Getelementptr again? :) > > The detailed complete source code is below. > > Regards > Anders > > ----- > > "Hello KernelConst" = internal constant [14 x sbyte ] c"Hello Kernel\0A\00" > > "myKernelMap" = type {int (sbyte*)*, int ()*} > "Kernel" = type {"myKernelMap"*} > > declare int %printf(sbyte*, ...) > declare int %getchar(...) > > int %puts_kerne...