/SPARTAN/trunk/arch/ia32/src/asm.S |
---|
258,8 → 258,8 |
## Copy memory |
# |
# Copy a given number of bytes (3rd argument) |
# from the memory location defined by 1st argument |
# to the memory location defined by 2nd argument. |
# from the memory location defined by 2nd argument |
# to the memory location defined by 1st argument. |
# The memory areas cannot overlap. |
# |
SRC=12 |
/SPARTAN/trunk/arch/ia32/src/smp/mps.c |
---|
312,7 → 312,7 |
{ |
#ifdef MPSCT_VERBOSE |
char buf[7]; |
memcopy((__address) bus->bus_type, (__address) buf, 6); |
memcopy((void *) buf, (void *) bus->bus_type, 6); |
buf[6] = 0; |
printf("bus%d: %s\n", bus->bus_id, buf); |
#endif |
/SPARTAN/trunk/arch/ia32/src/drivers/ega.c |
---|
73,7 → 73,7 |
if (ega_cursor < SCREEN) |
return; |
memcopy((void *)PA2KA(VIDEORAM),(void *)PA2KA(VIDEORAM) + ROW*2, (SCREEN - ROW)*2); //swaped |
memcopy((void *)PA2KA(VIDEORAM),(void *)(PA2KA(VIDEORAM) + ROW*2), (SCREEN - ROW)*2); //swaped |
memsetw(PA2KA(VIDEORAM) + (SCREEN - ROW)*2, ROW, 0x0720); |
ega_cursor = ega_cursor - ROW; |
} |