X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a3d08fcd5120d2aa8303b6349ca8b14e3f284af3..91447636331957f3d9b5ca5b508f07c526b0074d:/osfmk/console/i386/video_scroll.c diff --git a/osfmk/console/i386/video_scroll.c b/osfmk/console/i386/video_scroll.c index f54bba222..41538c872 100644 --- a/osfmk/console/i386/video_scroll.c +++ b/osfmk/console/i386/video_scroll.c @@ -20,16 +20,21 @@ * @APPLE_LICENSE_HEADER_END@ */ +#include +#include + +extern void bcopy(const void *, void *, size_t); + void video_scroll_up(unsigned long start, unsigned long end, unsigned long dest) { - bcopy(start, dest, (end - start) << 2); + bcopy((void *) start, (void *) dest, (end - start) << 2); } void video_scroll_down(unsigned long start, /* HIGH addr */ unsigned long end, /* LOW addr */ unsigned long dest) /* HIGH addr */ { - bcopy(end, dest, (start - end) << 2); + bcopy((void *) end, (void *) dest, (start - end) << 2); }