// IfsVMemSpy.decl -- VMemSpy declarations
// Copyright Xerox Corporation 1980
// Last modified December 7, 1980  10:45 PM by Boggs

manifest
[
typeVMemSpyRequest = 302b 
typeVMemSpyReply = 303b
socketVMemSpy = 54b	// plus a 1 in the high 16 bits

vmiTypeSnarf = maxVMIType +1
vmiTypeEmpty = maxVMIType +2
]

//----------------------------------------------------------------------------
structure VMS:		// VMemSpy parameters
//----------------------------------------------------------------------------
[
   [
   vPage word		// virtual page number
   dirty bit		// true if page is dirty
   locked bit		// true if page is locked
   type bit 4		// vmiType or snarfed
   ovNum bit 10 = jobType bit 10  // overlay number or jobType if snarfed
   ]↑0, 63
stats @VMStats
]
manifest lenVMS = size VMS/16