1 /* The system call implemented in this file:
2 * m_type: SYS_VM_SETBUF
4 * The parameters for this system call are:
5 * m4_l1: Start of the buffer
6 * m4_l2: Length of the buffer
7 * m4_l3: End of main memory
11 #define VM_DEBUG 0 /* enable/ disable debug output */
13 /*===========================================================================*
15 *===========================================================================*/
16 PUBLIC
int do_vm_setbuf(m_ptr
)
17 message
*m_ptr
; /* pointer to request message */
19 vm_base
= m_ptr
->m4_l1
;
20 vm_size
= m_ptr
->m4_l2
;
21 vm_mem_high
= m_ptr
->m4_l3
;
24 kprintf("do_vm_setbuf: got 0x%x @ 0x%x for 0x%x\n",
25 vm_size
, vm_base
, vm_mem_high
);