Салям!
10-Апр-2004 22:48 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:
> RCS file: /cvsroot/freedos/kernel/kernel/config.c,v
> +++ config.c 10 Apr 2004 22:48:26 -0000 1.75
No subdirectory before file name.
> +STATIC void config_init_buffers(int wantedbuffers)
> pbuffer = HMAalloc(bytes);
> if (pbuffer == NULL)
> {
> pbuffer = KernelAlloc(bytes, 'B', 0);
> + if (HMAState == HMA_DONE)
> + firstAvailableBuf = MK_FP(0xffff, HMAFree);
Don't forget: because in this case buffers are not in HMA,
blockio.c::AllocateHMASpace() (which called by int2F_12_handler() when
firstAvailableBuf points into HMA) now should check if
FP_SEG(firstbuf)==0xFFFF.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel