;
; wspace.sh
;
; Workspace layout for DLLManager
;
;  1995-1998 Straylight
;

;----- Licensing note -------------------------------------------------------
;
; This file is part of Straylight's Dynamic Linking System (SDLS)
;
; SDLS is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2, or (at your option)
; any later version.
;
; SDLS is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with SDLS.  If not, write to the Free Software Foundation,
; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

		^	0,R12
dm__wStart	#	0

		; --- Application manager workspace ---

app__list	#	4			;Head of application list
app__cacheHnd	#	4			;Handle of cached application
app__cachePtr	#	4			;Pointer to cached app block
app__pidAddr	#	4			;Address of process ID

		; --- DLL manager workspace ---

dll__list	#	4			;Head of DLL list

		; --- Memory manager workspace ---

sub__blocks	#	4			;Pointer to block list
sub__free	#	4			;Pointer to free list

		; --- Miscellaneous buffers ---

misc__sharedBuf	#	256			;Shared scratch buffer
misc__errorBuf	#	260			;Shared error buffer

misc__stubs	#	4*48 + 4*183		;C library branch table

		; --- End of workspace ---

dm__wSize	EQU	{VAR}-dm__wStart

;----- That's all, folks ----------------------------------------------------

		END
