FIXED: problems in systems with more than 2 megabytes of memory

utzoo!decvax!ucbvax!dist2 utzoo!decvax!ucbvax!dist2
Sat Dec 12 04:40:09 AEST 1981


	Due to problems with integer vs. unsigned types, the distributed
system didn't properly deal with large amounts of memory (> 2 megabytes).
Three files must be changed to correct this:

	diff kernel/sys/sys/machdep.c.old kernel/sys/sys/machdep.c
	81d80
	< 		if (maxmem >= 32767L)break;

	diff kernel/sys/sys/malloc.c.old kernel/sys/sys/malloc.c
	24a25
	> unsigned size;
	57c58,59
	< register int a;
	---
	> register unsigned a;
	> unsigned size;

	diff kernel/inlcude/sys/map.h.old kernel/include/sys/map.h
	3c3
	< 	short	m_size;
	---
	> 	unsigned short m_size;


These changes should be made to all tapes written before 12/11/81.

			Carl



More information about the Comp.bugs.2bsd mailing list