Changeset 8b74af07 in mainline
- Timestamp:
- 2008-12-28T13:03:04Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04b687b
- Parents:
- 018e1e3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/drivers/ega.c
r018e1e3 r8b74af07 117 117 return; 118 118 119 mem cpy((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2);119 memmove((void *) videoram, (void *) (videoram + ROW * 2), (SCREEN - ROW) * 2); 120 120 _memsetw(videoram + (SCREEN - ROW) * 2, ROW, 0x0720); 121 121 ega_cursor = ega_cursor - ROW; -
uspace/srv/fb/ega.c
r018e1e3 r8b74af07 128 128 int i; 129 129 if (rows > 0) { 130 mem cpy(scr_addr, ((char *) scr_addr) + rows * scr_width * 2,130 memmove(scr_addr, ((char *) scr_addr) + rows * scr_width * 2, 131 131 scr_width * scr_height * 2 - rows * scr_width * 2); 132 132 for (i = 0; i < rows * scr_width; i++) … … 134 134 scr_width)[i] = ((style << 8) + ' '); 135 135 } else if (rows < 0) { 136 mem cpy(((char *)scr_addr) - rows * scr_width * 2, scr_addr,136 memmove(((char *)scr_addr) - rows * scr_width * 2, scr_addr, 137 137 scr_width * scr_height * 2 + rows * scr_width * 2); 138 138 for (i = 0; i < -rows * scr_width; i++)
Note:
See TracChangeset
for help on using the changeset viewer.