Re: missing POSIX: sem_timedwait

2010-06-24 Thread Philip Guenther
On Wed, Jun 23, 2010 at 6:13 PM, Federico G. Schwindt wrote: > i just wrote it but for some reason is not working as expected, which is odd > since it's relying on pthread_cond_timedwait. maybe the tests are wrong. > being 2am i think i call it a day. I agree that it looks like it should work a

Re: [BUG] Fix int 0x15, e820 call

2010-06-24 Thread Daniel Dickman
> If you notice, the asm part does a "setc %b1". And in your > case, that would simply nuke %ecx. The original code did not > take into account the length returned, it ignored it as it > was asking for the max, some biosen always return the max, > and nothing should ever return more than what was

Re: [BUG] Fix int 0x15, e820 call

2010-06-24 Thread Tobias Weingartner
On Wednesday, June 23, Daniel Dickman wrote: > > Index: amd64/stand/libsa/memprobe.c > === > RCS file: /usr/cvs/src/sys/arch/amd64/stand/libsa/memprobe.c,v > retrieving revision 1.6 > diff -u -r1.6 memprobe.c > --- amd64/stand/libsa/m