question on ldtalloc() (kernel function)

Ron Minnich rminnich at udel.EDU
Tue Apr 26 05:05:21 AEST 1988


I have a device driver that allocates ldt's. I am using ldtalloc().
This function takes two parameters: 
1) starting ldt number
2) number to allocate.
If the starting ldt number is 0, then it gives you the next free ldt.
well, ..., no matter what i hand it, e.g., i tried:

ldtalloc(0,1);
ldtalloc(0,2);
ldtalloc(0x900,2);

   it always returns 1428 ! All subsequent calls to ldtalloc return 1428,
which is wrong, wrong, wrong. This is v2.2.1 SCO xenix
   Anybody got this to work yet?
ron

-- 
ron (rminnich at udel.edu)



More information about the Comp.unix.xenix mailing list