- Timestamp:
- 2005-08-30T22:11:45Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c5ae095
- Parents:
- b524f816
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/build.amd64
rb524f816 r379d73f3 2 2 3 3 set -e 4 # Generate context_offset.h 5 (cd ../arch/amd64/src;make gencontext;./gencontext) 6 # Create links to ia32 architecture 7 ln -sf ../../../arch/ia32/src/drivers ../arch/amd64/src/ 8 ln -sf ../../../arch/ia32/include/ega.h ../arch/amd64/include/ 4 9 5 (cd ../arch/amd64/src;make gencontext;./gencontext)6 10 make all ARCH=amd64 -
src/lib/memstr.c
rb524f816 r379d73f3 71 71 p[i] = x; 72 72 } 73 74 /** Fill block of memory 75 * 76 * Fill cnt words at dst address with the value x. 77 * The filling is done word-by-word. 78 * 79 * @param dst Origin address to fill. 80 * @param cnt Number of words to fill. 81 * @param x Value to fill. 82 * 83 */ 84 void _memsetw(__address dst, size_t cnt, __u16 x) 85 { 86 int i; 87 __u8 *p = (__u8 *) dst; 88 89 for(i=0; i<cnt; i++) 90 p[i] = x; 91 }
Note:
See TracChangeset
for help on using the changeset viewer.