use exec_map

This commit is contained in:
cgd 1994-01-13 06:23:57 +00:00
parent af15bd1683
commit 8ca18c3fa8
4 changed files with 5 additions and 7 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
* $Id: machdep.c,v 1.77 1994/01/13 04:00:09 mycroft Exp $
* $Id: machdep.c,v 1.78 1994/01/13 06:24:27 cgd Exp $
*/
#include <stddef.h>
@ -196,10 +196,8 @@ cpu_startup()
* Allocate a submap for exec arguments. This map effectively
* limits the number of processes exec'ing at any time.
*/
#if 0 /* XXX not currently used */
exec_map = kmem_suballoc(kernel_map, &minaddr, &maxaddr,
16*NCARGS, TRUE);
#endif
/*
* Allocate a submap for physio

View File

@ -1 +1 @@
revision 1.38 intentionally removed
revision 1.39 intentionally removed

View File

@ -36,7 +36,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: kern_lkm.c,v 1.10 1994/01/09 18:46:17 ws Exp $
* $Id: kern_lkm.c,v 1.11 1994/01/13 06:24:16 cgd Exp $
*/
#include <sys/param.h>
@ -789,7 +789,7 @@ int cmd;
* Search the table looking for a slot...
*/
for( i = 0; i < nexecs; i++)
if( execsw[ i].check == NULL)
if( execsw[ i].es_check == NULL)
break; /* found it!*/
/* out of allocable slots?*/
if( i == nexecs) {

View File

@ -1 +1 @@
revision 1.29 intentionally removed
revision 1.30 intentionally removed