Subversion Repositories HelenOS-historic

Rev

Rev 200 | Rev 205 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 200 Rev 202
Line 82... Line 82...
82
 *
82
 *
83
 */
83
 */
84
void _memsetw(__address dst, size_t cnt, __u16 x)
84
void _memsetw(__address dst, size_t cnt, __u16 x)
85
{
85
{
86
    int i;
86
    int i;
87
    __u8 *p = (__u8 *) dst;
87
    __u16 *p = (__u16 *) dst;
88
   
88
   
89
    for(i=0; i<cnt; i++)
89
    for(i=0; i<cnt; i++)
90
        p[i] = x;  
90
        p[i] = x;  
91
}
91
}