Changeset d34657e in mainline for src/lib/memstr.c
- Timestamp:
- 2005-05-11T17:00:13Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 27dc170
- Parents:
- 724b58a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lib/memstr.c
r724b58a rd34657e 30 30 #include <arch/types.h> 31 31 32 33 /** Copy block of memory 34 * 35 * Copy cnt bytes from src address to dst address. 36 * The copying is done byte-by-byte. The source 37 * and destination memory areas cannot overlap. 38 * 39 * @param src Origin address to copy from. 40 * @param dst Origin address to copy to. 41 * @param cnt Number of bytes to copy. 42 * 43 */ 32 44 void _memcopy(__address src, __address dst, int cnt) 33 45 { … … 38 50 } 39 51 52 53 /** Fill block of memory 54 * 55 * Fill cnt bytes at dst address with the value x. 56 * The filling is done byte-by-byte. 57 * 58 * @param dst Origin address to fill. 59 * @param cnt Number of bytes to fill. 60 * @param x Value to fill. 61 * 62 */ 40 63 void _memsetb(__address dst, int cnt, __u8 x) 41 64 {
Note:
See TracChangeset
for help on using the changeset viewer.