Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 198 → Rev 200

/SPARTAN/trunk/src/lib/memstr.c
70,3 → 70,22
for(i=0; i<cnt; i++)
p[i] = x;
}
 
/** Fill block of memory
*
* Fill cnt words at dst address with the value x.
* The filling is done word-by-word.
*
* @param dst Origin address to fill.
* @param cnt Number of words to fill.
* @param x Value to fill.
*
*/
void _memsetw(__address dst, size_t cnt, __u16 x)
{
int i;
__u8 *p = (__u8 *) dst;
for(i=0; i<cnt; i++)
p[i] = x;
}
/SPARTAN/trunk/src/build.amd64
1,6 → 1,10
#! /bin/sh
 
set -e
# Generate context_offset.h
(cd ../arch/amd64/src;make gencontext;./gencontext)
# Create links to ia32 architecture
ln -sf ../../../arch/ia32/src/drivers ../arch/amd64/src/
ln -sf ../../../arch/ia32/include/ega.h ../arch/amd64/include/
 
(cd ../arch/amd64/src;make gencontext;./gencontext)
make all ARCH=amd64