Re: Segmentation
Frode Vatvedt Fjeld <[email protected]> Fri, 13 Aug 2004 11:07:29 +0200
| Newsgroups | gmane.lisp.movitz.devel |
|---|---|
| Message-ID | <[email protected]> |
James Crippen <[email protected]> writes: > Is segmentation in use anywhere in Movitz, or is it just talked > about in the manual? And if so, where's the code that sets it up? It's used, but not to a very great extent so far. That is, thread-local storage is referenced through a designated segment selector, but so far there's only one thread, and it's segment selector (in FS) is the same as DS. DS however is not quite "flat model", it's starting at physical address 1M. GS (I think it was) is used to access (memory mapped hardware) below 1M, e.g. by giving a true physicalp argument to memref-int. The basic execution environment is set up in the very early boot-up code that gets generated in make-toplevel-funobj in image.lisp. -- Frode Vatvedt Fjeld