~kris/9p

9hist

27bc1c917b1d0dcedd1ae30237a25dcbe7056ac1 — David du Colombier 26 years ago 116cd67
Plan 9 from Bell Labs 2000-04-21
2 files changed, 15 insertions(+), 7 deletions(-)

M pc/devarch.c
M port/devdraw.c
M pc/devarch.c => pc/devarch.c +3 -3
@@ 406,13 406,12 @@ static X86type x86intel[] =
	{ 5,	3,	23,	"P24T", },
	{ 5,	4,	23,	"P55C MMX", },
	{ 5,	7,	23,	"P54C VRT", },
	{ 5,	8,	11,	"AMD-K6 3D", },	/* Kenji Arisawa arisawa@aichi-u.ac.jp */
	{ 5,	9,	11,	"AMD-K6 3D+", },/* Kenji Arisawa arisawa@aichi-u.ac.jp */
	{ 6,	1,	16,	"PentiumPro", },/* determined by trial and error */
	{ 6,	1,	16,	"PentiumPro", },/* trial and error */
	{ 6,	3,	16,	"PentiumII", },
	{ 6,	5,	16,	"PentiumII/Xeon", },
	{ 6,	6,	16,	"Celeron", },
	{ 6,	7,	16,	"PentiumIII/Xeon", },
	{ 6,	8,	16,	"PentiumIII/Xeon", },

	{ 3,	-1,	32,	"386", },	/* family defaults */
	{ 4,	-1,	22,	"486", },


@@ 448,6 447,7 @@ static X86type x86amd[] =

	{ 4,	-1,	22,	"Am486", },	/* guesswork */
	{ 5,	-1,	23,	"AMD-K5/K6", },	/* guesswork */
	{ 6,	-1,	11,	"AMD-Athlon", },/* guesswork */

	{ -1,	-1,	23,	"unknown", },	/* total default */
};

M port/devdraw.c => port/devdraw.c +12 -4
@@ 293,6 293,16 @@ drawrefactive(void *a)

static
void
drawrefreshscreen(DImage *l, Client *client)
{
	while(l != nil && l->dscreen == nil)
		l = l->fromname;
	if(l != nil && l->dscreen->owner != client)
		l->dscreen->owner->refreshme = 1;
}

static
void
drawrefresh(Memimage *l, Rectangle r, void *v)
{
	Refx *x;


@@ 1651,8 1661,7 @@ drawmesg(Client *client, void *av, int n)
					addflush(r);
					addflush(dst->layer->screenr);
					ll = drawlookup(client, BGLONG(a+1), 1);
					if(ll->dscreen->owner != client)
						ll->dscreen->owner->refreshme = 1;
					drawrefreshscreen(ll, client);
				}
			}
			continue;


@@ 1870,8 1879,7 @@ drawmesg(Client *client, void *av, int n)
				for(j=0; j<nw; j++)
					addflush(lp[j]->layer->screenr);
			ll = drawlookup(client, BGLONG(a+1+1+2), 1);
			if(ll->dscreen->owner != client)
				ll->dscreen->owner->refreshme = 1;
			drawrefreshscreen(ll, client);
			poperror();
			free(lp);
			continue;