diff options
author | peter <peter@FreeBSD.org> | 2004-09-24 01:18:22 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-09-24 01:18:22 +0000 |
commit | 81d75f50e251052b0dfbf2a58926866df922a9cc (patch) | |
tree | c8dfc22ada27a17c3d7b4ca658323a81d98ac694 /sys/dev/syscons/scvgarndr.c | |
parent | 56d687195a132697394482f8e91a569bf1f6b5cd (diff) | |
download | FreeBSD-src-81d75f50e251052b0dfbf2a58926866df922a9cc.zip FreeBSD-src-81d75f50e251052b0dfbf2a58926866df922a9cc.tar.gz |
Implement the syscons mouse pointer characters for amd64. It was only
implemented for i386 and alpha.
Diffstat (limited to 'sys/dev/syscons/scvgarndr.c')
-rw-r--r-- | sys/dev/syscons/scvgarndr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/syscons/scvgarndr.c b/sys/dev/syscons/scvgarndr.c index b26aa3d..1c904a3 100644 --- a/sys/dev/syscons/scvgarndr.c +++ b/sys/dev/syscons/scvgarndr.c @@ -750,7 +750,7 @@ draw_pxlmouse(scr_stat *scp, int x, int y) if (x < scp->xpixel - 8) { for (i = y, j = 0; i < ymax; ++i, ++j) { m = ~(mouse_and_mask[j] >> xoff); -#ifdef __i386__ +#if defined(__i386__) || defined(__amd64__) *(u_char *)p &= m >> 8; *(u_char *)(p + 1) &= m; #elif defined(__alpha__) @@ -763,7 +763,7 @@ draw_pxlmouse(scr_stat *scp, int x, int y) xoff += 8; for (i = y, j = 0; i < ymax; ++i, ++j) { m = ~(mouse_and_mask[j] >> xoff); -#ifdef __i386__ +#if defined(__i386__) || defined(__amd64__) *(u_char *)p &= m; #elif defined(__alpha__) writeb(p, readb(p) & (m >> 8)); @@ -776,7 +776,7 @@ draw_pxlmouse(scr_stat *scp, int x, int y) if (x < scp->xpixel - 8) { for (i = y, j = 0; i < ymax; ++i, ++j) { m = mouse_or_mask[j] >> xoff; -#ifdef __i386__ +#if defined(__i386__) || defined(__amd64__) *(u_char *)p &= m >> 8; *(u_char *)(p + 1) &= m; #elif defined(__alpha__) @@ -788,7 +788,7 @@ draw_pxlmouse(scr_stat *scp, int x, int y) } else { for (i = y, j = 0; i < ymax; ++i, ++j) { m = mouse_or_mask[j] >> xoff; -#ifdef __i386__ +#if defined(__i386__) || defined(__amd64__) *(u_char *)p &= m; #elif defined(__alpha__) writeb(p, readb(p) & (m >> 8)); |