|
@@ -1043,16 +1043,23 @@ const unsigned char color_table[] = { 0, 4, 2, 6, 1, 5, 3, 7,
|
|
|
8,12,10,14, 9,13,11,15 };
|
|
|
|
|
|
/* the default colour table, for VGA+ colour systems */
|
|
|
-int default_red[] = {0x00,0xaa,0x00,0xaa,0x00,0xaa,0x00,0xaa,
|
|
|
- 0x55,0xff,0x55,0xff,0x55,0xff,0x55,0xff};
|
|
|
-int default_grn[] = {0x00,0x00,0xaa,0x55,0x00,0x00,0xaa,0xaa,
|
|
|
- 0x55,0x55,0xff,0xff,0x55,0x55,0xff,0xff};
|
|
|
-int default_blu[] = {0x00,0x00,0x00,0x00,0xaa,0xaa,0xaa,0xaa,
|
|
|
- 0x55,0x55,0x55,0x55,0xff,0xff,0xff,0xff};
|
|
|
-
|
|
|
-module_param_array(default_red, int, NULL, S_IRUGO | S_IWUSR);
|
|
|
-module_param_array(default_grn, int, NULL, S_IRUGO | S_IWUSR);
|
|
|
-module_param_array(default_blu, int, NULL, S_IRUGO | S_IWUSR);
|
|
|
+unsigned char default_red[] = {
|
|
|
+ 0x00, 0xaa, 0x00, 0xaa, 0x00, 0xaa, 0x00, 0xaa,
|
|
|
+ 0x55, 0xff, 0x55, 0xff, 0x55, 0xff, 0x55, 0xff
|
|
|
+};
|
|
|
+module_param_array(default_red, byte, NULL, S_IRUGO | S_IWUSR);
|
|
|
+
|
|
|
+unsigned char default_grn[] = {
|
|
|
+ 0x00, 0x00, 0xaa, 0x55, 0x00, 0x00, 0xaa, 0xaa,
|
|
|
+ 0x55, 0x55, 0xff, 0xff, 0x55, 0x55, 0xff, 0xff
|
|
|
+};
|
|
|
+module_param_array(default_grn, byte, NULL, S_IRUGO | S_IWUSR);
|
|
|
+
|
|
|
+unsigned char default_blu[] = {
|
|
|
+ 0x00, 0x00, 0x00, 0x00, 0xaa, 0xaa, 0xaa, 0xaa,
|
|
|
+ 0x55, 0x55, 0x55, 0x55, 0xff, 0xff, 0xff, 0xff
|
|
|
+};
|
|
|
+module_param_array(default_blu, byte, NULL, S_IRUGO | S_IWUSR);
|
|
|
|
|
|
/*
|
|
|
* gotoxy() must verify all boundaries, because the arguments
|