Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!mmdf From: Christoph van Wuellen Newsgroups: comp.os.minix Subject: Re: Idea for sep. data & stack segs. Message-ID: <55458@nigel.ee.udel.edu> Date: 4 Jun 91 20:15:26 GMT Sender: mmdf@ee.udel.edu Lines: 12 How do you decide, if a pointer is given to a function, if it should point to the stack or to the data segment? This only works if stack and data are far (ca. 4 GByte) away so you can tell a (legal) stack-low condition from an illegal access beyond the data segment border (e.g. by assuming that accesses to the upper 2 GByte reference the stack segment). If ANY access beyond the current brk value just allocates space for the stack, this is of no use. C.v.W.