Changeset ba18512 in mainline
- Timestamp:
- 2005-08-30T21:33:09Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b524f816
- Parents:
- fa0dfaf
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/asm.S
rfa0dfaf rba18512 259 259 # 260 260 # Copy a given number of bytes (3rd argument) 261 # from the memory location defined by 1stargument262 # to the memory location defined by 2ndargument.261 # from the memory location defined by 2nd argument 262 # to the memory location defined by 1st argument. 263 263 # The memory areas cannot overlap. 264 264 # -
arch/ia32/src/drivers/ega.c
rfa0dfaf rba18512 74 74 return; 75 75 76 memcopy((void *)PA2KA(VIDEORAM),(void *) PA2KA(VIDEORAM) + ROW*2, (SCREEN - ROW)*2); //swaped76 memcopy((void *)PA2KA(VIDEORAM),(void *)(PA2KA(VIDEORAM) + ROW*2), (SCREEN - ROW)*2); //swaped 77 77 memsetw(PA2KA(VIDEORAM) + (SCREEN - ROW)*2, ROW, 0x0720); 78 78 ega_cursor = ega_cursor - ROW; -
arch/ia32/src/smp/mps.c
rfa0dfaf rba18512 313 313 #ifdef MPSCT_VERBOSE 314 314 char buf[7]; 315 memcopy(( __address) bus->bus_type, (__address) buf, 6);315 memcopy((void *) buf, (void *) bus->bus_type, 6); 316 316 buf[6] = 0; 317 317 printf("bus%d: %s\n", bus->bus_id, buf); -
include/memstr.h
rfa0dfaf rba18512 33 33 #include <arch/types.h> 34 34 35 extern char * 35 extern char *memcopy(void * dst, const void *src, size_t cnt); 36 36 37 37 extern void memsetw(__address dst, size_t cnt, __u16 x); … … 43 43 * Architecture independent variants. 44 44 */ 45 extern char * 45 extern char *_memcopy(void *dst, const void *src, size_t cnt); 46 46 extern void _memsetb(__address dst, size_t cnt, __u8 x); 47 47 -
src/Makefile.config
rfa0dfaf rba18512 1 ARCH=ia321 #ARCH=ia32 2 2 #ARCH=mips 3 3 #ARCH=ia64 … … 35 35 #TEST_DIR=fpu/fpu1 36 36 #TEST_DIR=print/print1 37 TEST_DIR=thread/thread137 #TEST_DIR=thread/thread1 -
src/lib/memstr.c
rfa0dfaf rba18512 42 42 * 43 43 */ 44 45 char * _memcopy(void * dst,const void *src, size_t cnt); 46 char * _memcopy(void * dst,const void *src, size_t cnt) 44 char *_memcopy(void * dst, const void *src, size_t cnt) 47 45 { 48 46 int i; -
src/main/kinit.c
rfa0dfaf rba18512 132 132 if (!a) panic("vm_area_create: vm_text"); 133 133 vm_area_map(a, m); 134 memcopy( (__address) utext, PA2KA(a->mapping[0]), utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE);134 memcopy(PA2KA(a->mapping[0]), (__address) utext, utext_size < PAGE_SIZE ? utext_size : PAGE_SIZE); 135 135 136 136 /* -
src/mm/vm.c
rfa0dfaf rba18512 67 67 src_ptl0 = (pte_t *) PA2KA((__address) GET_PTL0_ADDRESS()); 68 68 dst_ptl0 = (pte_t *) frame_alloc(FRAME_KA | FRAME_PANIC); 69 // memsetb((__address) dst_ptl0, PAGE_SIZE, 0);70 // memcopy((__address) &src_ptl0[KAS_START_INDEX], (__address) &dst_ptl0[KAS_START_INDEX], KAS_INDICES*sizeof(pte_t));71 69 memcopy((void *)PA2KA((__address) dst_ptl0), (void *)GET_PTL0_ADDRESS() , PAGE_SIZE); 72 70 m->ptl0 = (pte_t *) KA2PA((__address) dst_ptl0); -
src/proc/scheduler.c
rfa0dfaf rba18512 362 362 THREAD = NULL; 363 363 } 364 printf("*0*"); 364 365 365 THREAD = find_best_thread(); 366 printf("*1*");367 366 368 367 spinlock_lock(&THREAD->lock);
Note:
See TracChangeset
for help on using the changeset viewer.