~kris/9p

9hist

93af6fa198dc7c3017c3f8cd32bbbf254ce4190d — David du Colombier 24 years ago cab320b
Plan 9 from Bell Labs 2002-08-16
4 files changed, 4 insertions(+), 3 deletions(-)

M boot/bootip.c
M port/devcons.c
M port/sysproc.c
M port/xalloc.c
M boot/bootip.c => boot/bootip.c +1 -1
@@ 20,7 20,7 @@ configip(void)
	Waitmsg *w;
	char **arg;
	char buf[32];
	

	fmtinstall('I', eipfmt);
	fmtinstall('M', eipfmt);
	fmtinstall('E', eipfmt);

M port/devcons.c => port/devcons.c +1 -1
@@ 65,7 65,7 @@ Cmdtab rebootmsg[] =
void
printinit(void)
{
	lineq = qopen(2*1024, 0, 0, 0);
	lineq = qopen(2*1024, 0, nil, nil);
	if(lineq == nil)
		panic("printinit");
	qnoblock(lineq, 1);

M port/sysproc.c => port/sysproc.c +2 -0
@@ 432,6 432,7 @@ sysexec(ulong *arg)
	for(i=0; i<=f->maxfd; i++)
		fdclose(i, CCEXEC);

print("set up segments\n");
	/* Text.  Shared. Attaches to cache image if possible */
	/* attachimage returns a locked cache image */
	img = attachimage(SG_TEXT|SG_RONLY, tc, UTZERO, (t-UTZERO)>>PGSHIFT);


@@ 491,6 492,7 @@ sysexec(ulong *arg)
	qunlock(&up->debug);
	if(up->hang)
		up->procctl = Proc_stopme;
print("go\n");

	return execregs(entry, ssize, nargs);
}

M port/xalloc.c => port/xalloc.c +0 -1
@@ 87,7 87,6 @@ void*
xspanalloc(ulong size, int align, ulong span)
{
	ulong a, v, t;

	a = (ulong)xalloc(size+align+span);
	if(a == 0)
		panic("xspanalloc: %lud %d %lux\n", size, align, span);