diff options
| author | bjh21 <bjh21@NetBSD.org> | 2001-01-12 23:03:52 +0000 |
|---|---|---|
| committer | bjh21 <bjh21@NetBSD.org> | 2001-01-12 23:03:52 +0000 |
| commit | dd7e31f012cdedb58f4cda64596aca67e46e61c2 (patch) | |
| tree | c149134448092110b8b7643b9854194f0a894b75 /sys/dev/rasops | |
| parent | 926244ff0d1697eb665cb4ca27ec6f421fad8997 (diff) | |
The mask tables have no excuse for being in the data segment.
Diffstat (limited to 'sys/dev/rasops')
| -rw-r--r-- | sys/dev/rasops/rasops_masks.c | 8 | ||||
| -rw-r--r-- | sys/dev/rasops/rasops_masks.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/rasops/rasops_masks.c b/sys/dev/rasops/rasops_masks.c index 5c89ee433dd..2d0096c65ba 100644 --- a/sys/dev/rasops/rasops_masks.c +++ b/sys/dev/rasops/rasops_masks.c @@ -1,4 +1,4 @@ -/* $NetBSD: rasops_masks.c,v 1.5 2000/06/13 13:37:00 ad Exp $ */ +/* $NetBSD: rasops_masks.c,v 1.6 2001/01/12 23:03:52 bjh21 Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #include "rasops_masks.h" /* `ragged edge' bitmasks */ -int32_t rasops_lmask[32+1] = { +const int32_t rasops_lmask[32+1] = { MBE(0x00000000), MBE(0x7fffffff), MBE(0x3fffffff), MBE(0x1fffffff), MBE(0x0fffffff), MBE(0x07ffffff), MBE(0x03ffffff), MBE(0x01ffffff), MBE(0x00ffffff), MBE(0x007fffff), MBE(0x003fffff), MBE(0x001fffff), @@ -51,7 +51,7 @@ int32_t rasops_lmask[32+1] = { MBE(0x00000000) }; -int32_t rasops_rmask[32+1] = { +const int32_t rasops_rmask[32+1] = { MBE(0x00000000), MBE(0x80000000), MBE(0xc0000000), MBE(0xe0000000), MBE(0xf0000000), MBE(0xf8000000), MBE(0xfc000000), MBE(0xfe000000), MBE(0xff000000), MBE(0xff800000), MBE(0xffc00000), MBE(0xffe00000), @@ -64,7 +64,7 @@ int32_t rasops_rmask[32+1] = { }; /* Part bitmasks */ -int32_t rasops_pmask[32][32] = { +const int32_t rasops_pmask[32][32] = { { MBE(0xffffffff), MBE(0x80000000), MBE(0xc0000000), MBE(0xe0000000), MBE(0xf0000000), MBE(0xf8000000), MBE(0xfc000000), MBE(0xfe000000), MBE(0xff000000), MBE(0xff800000), MBE(0xffc00000), MBE(0xffe00000), diff --git a/sys/dev/rasops/rasops_masks.h b/sys/dev/rasops/rasops_masks.h index 898ac31cd74..21b47596dc3 100644 --- a/sys/dev/rasops/rasops_masks.h +++ b/sys/dev/rasops/rasops_masks.h @@ -1,4 +1,4 @@ -/* $NetBSD: rasops_masks.h,v 1.5 2000/06/13 13:37:01 ad Exp $ */ +/* $NetBSD: rasops_masks.h,v 1.6 2001/01/12 23:03:52 bjh21 Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -95,8 +95,8 @@ } while(0); /* rasops_masks.c */ -extern int32_t rasops_lmask[32+1]; -extern int32_t rasops_rmask[32+1]; -extern int32_t rasops_pmask[32][32]; +extern const int32_t rasops_lmask[32+1]; +extern const int32_t rasops_rmask[32+1]; +extern const int32_t rasops_pmask[32][32]; #endif /* _RASOPS_MASKS_H_ */ |
