1 /* The kernel call implemented in this file:
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)
10 #include "kernel/system.h"
14 /*===========================================================================*
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
);
27 #endif /* USE_MEMSET */