Remove building with NOCRYPTO option
[minix.git] / minix / kernel / system / do_memset.c
blobf919b2644aee93cde96a23c05ea8d9b54b5cc502
1 /* The kernel call implemented in this file:
2 * m_type: SYS_MEMSET
4 * The parameters for this kernel call are:
5 * m_lsys_krn_sys_memset.base (virtual address)
6 * m_lsys_krn_sys_memset.count (returns physical address)
7 * m_lsys_krn_sys_memset.pattern (pattern byte to be written)
8 */
10 #include "kernel/system.h"
12 #if USE_MEMSET
14 /*===========================================================================*
15 * do_memset *
16 *===========================================================================*/
17 int do_memset(struct proc * caller, message * m_ptr)
19 /* Handle sys_memset(). This writes a pattern into the specified memory. */
20 vm_memset(caller, m_ptr->m_lsys_krn_sys_memset.process,
21 m_ptr->m_lsys_krn_sys_memset.base,
22 m_ptr->m_lsys_krn_sys_memset.pattern,
23 m_ptr->m_lsys_krn_sys_memset.count);
24 return(OK);
27 #endif /* USE_MEMSET */