X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/e5568f75972dfc723778653c11cb6b4dc825716a..0c530ab8987f0ae6a1a3d9284f40182b88852816:/osfmk/console/i386/video_scroll.c?ds=sidebyside 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); }