changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > plan9front / changeset: sgi: remove obsolete TSTKTOP constant

changeset 7136: f9787df4cf43
parent 7135: 144778630b53
child 7137: 84d491804c1b
author: cinap_lenrek@felloff.net
date: Thu, 04 Apr 2019 15:28:04 +0200
files: sys/src/9/sgi/mem.h
description: sgi: remove obsolete TSTKTOP constant
     1.1--- a/sys/src/9/sgi/mem.h
     1.2+++ b/sys/src/9/sgi/mem.h
     1.3@@ -199,7 +199,7 @@
     1.4 #define	KUSEG	0x00000000	/* user process */
     1.5 #define KSEG0	0x80000000	/* kernel (direct mapped, cached) */
     1.6 #define KSEG1	0xA0000000	/* kernel (direct mapped, uncached: i/o) */
     1.7-#define	KSEG2	0xC0000000	/* kernel, used for TSTKTOP */
     1.8+#define	KSEG2	0xC0000000	/* kernel, was used for TSTKTOP */
     1.9 #define	KSEG3	0xE0000000	/* kernel, used by kmap */
    1.10 #define	KSEGM	0xE0000000	/* mask to check which seg */
    1.11 
    1.12@@ -271,7 +271,5 @@
    1.13 #define	UTZERO	(UZERO+MAXBY2PG)	/* 1st user text address; see mkfile */
    1.14 #define	USTKTOP	(KZERO-BY2PG)		/* byte just beyond user stack */
    1.15 #define	USTKSIZE (8*1024*1024)		/* size of user stack */
    1.16-#define TSTKTOP (KSEG2+USTKSIZE-BY2PG)	/* top of temporary stack */
    1.17-#define TSTKSIZ (1024*1024/BY2PG)	/* can be at most UTSKSIZE/BY2PG */
    1.18 #define	KZERO	KSEG0			/* base of kernel address space */
    1.19 #define	KTZERO	(KZERO+0x08020000)	/* first address in kernel text */