Date: Sun, 12 Sep 1993 18:19:05 -0500
This will allow you to compile and run a freebsd kernel with shared
memory support.  I haven't tested the shm*() calls yet.

You run out of page table descriptors if you specify 4Mb of sharable
memory (SHMMAXPGS=1024).  I don't know what the limit is, but
SHMMAXPGS=64 works.   Rich
This commit is contained in:
Rodney W. Grimes 1993-09-24 21:00:29 +00:00
parent 35ba288998
commit 96210b28be
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=504
2 changed files with 8 additions and 2 deletions

View File

@ -49,7 +49,7 @@
* 20 Apr 93 Bruce Evans New npx-0.5 code
* 25 Apr 93 Bruce Evans New intr-0.1 code
*/
static char rcsid[] = "$Header: /freefall/a/cvs/386BSD/src/sys/i386/i386/machdep.c,v 1.5 1993/07/27 10:52:17 davidg Exp $";
static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/i386/machdep.c,v 1.6 1993/08/09 06:16:41 rgrimes Exp $";
#include <stddef.h>
@ -81,6 +81,9 @@ extern vm_offset_t avail_end;
#include "machine/specialreg.h"
#include "i386/isa/rtc.h"
#ifdef SYSVSHM
#include "sys/shm.h"
#endif /* SYSVSHM */
#define EXPECT_BASEMEM 640 /* The expected base memory*/
#define INFORM_WAIT 1 /* Set to pause berfore crash in weird cases*/

View File

@ -49,7 +49,7 @@
* 20 Apr 93 Bruce Evans New npx-0.5 code
* 25 Apr 93 Bruce Evans New intr-0.1 code
*/
static char rcsid[] = "$Header: /freefall/a/cvs/386BSD/src/sys/i386/i386/machdep.c,v 1.5 1993/07/27 10:52:17 davidg Exp $";
static char rcsid[] = "$Header: /a/cvs/386BSD/src/sys/i386/i386/machdep.c,v 1.6 1993/08/09 06:16:41 rgrimes Exp $";
#include <stddef.h>
@ -81,6 +81,9 @@ extern vm_offset_t avail_end;
#include "machine/specialreg.h"
#include "i386/isa/rtc.h"
#ifdef SYSVSHM
#include "sys/shm.h"
#endif /* SYSVSHM */
#define EXPECT_BASEMEM 640 /* The expected base memory*/
#define INFORM_WAIT 1 /* Set to pause berfore crash in weird cases*/