<86>Nov 6 07:36:59 userdel[891319]: delete user 'rooter' <86>Nov 6 07:36:59 userdel[891319]: removed group 'rooter' owned by 'rooter' <86>Nov 6 07:36:59 userdel[891319]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 6 07:36:59 groupadd[891334]: group added to /etc/group: name=rooter, GID=915 <86>Nov 6 07:36:59 groupadd[891334]: group added to /etc/gshadow: name=rooter <86>Nov 6 07:36:59 groupadd[891334]: new group: name=rooter, GID=915 <86>Nov 6 07:36:59 useradd[891341]: new user: name=rooter, UID=915, GID=915, home=/root, shell=/bin/bash <86>Nov 6 07:36:59 userdel[891355]: delete user 'builder' <86>Nov 6 07:36:59 userdel[891355]: removed group 'builder' owned by 'builder' <86>Nov 6 07:36:59 groupadd[891364]: group added to /etc/group: name=builder, GID=916 <86>Nov 6 07:36:59 groupadd[891364]: group added to /etc/gshadow: name=builder <86>Nov 6 07:36:59 groupadd[891364]: new group: name=builder, GID=916 <86>Nov 6 07:36:59 useradd[891375]: new user: name=builder, UID=916, GID=916, home=/usr/src, shell=/bin/bash <13>Nov 6 07:37:00 rpmi: libdha-1.0-alt1.qa1 1365953062 installed <13>Nov 6 07:37:00 rpmi: libdha-devel-1.0-alt1.qa1 1365953062 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/vidix-1.0.0-alt0.2.1.qa1.nosrc.rpm (w1.gzdio) Installing vidix-1.0.0-alt0.2.1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.48008 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf vidix-svn-r21861 + echo 'Source #0 (vidix-svn-r21861.tar.bz2):' Source #0 (vidix-svn-r21861.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/vidix-svn-r21861.tar.bz2 + /bin/tar -xf - + cd vidix-svn-r21861 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (vidix-svn-r21861-configure.patch.gz):' Patch #0 (vidix-svn-r21861-configure.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/vidix-svn-r21861-configure.patch.gz + /usr/bin/patch -p1 patching file configure patching file drivers/Makefile patching file Makefile + echo 'Patch #1 (vidix-svn-r21861-include.patch.gz):' Patch #1 (vidix-svn-r21861-include.patch.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/vidix-svn-r21861-include.patch.gz + /usr/bin/patch -p1 patching file drivers/bswap.h patching file drivers/cyberblade_vid.c patching file drivers/mach64_vid.c patching file drivers/mga_vid.c patching file drivers/nvidia_vid.c patching file drivers/pm3_vid.c patching file drivers/radeon_vid.c patching file drivers/savage_vid.c patching file drivers/sis_bridge.c patching file drivers/sis_vid.c patching file drivers/unichrome_vid.c patching file vidixlib.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.48008 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vidix-svn-r21861 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC' + sh ./configure --prefix=/usr --libdir=/usr/lib64 --cc=gcc Detected operating system: Linux Detected host architecture: i386 Checking for mman.h ... yes Checking for malloc.h ... yes Checking for memalign ... yes Creating config.mak Creating config.h + make -j16 make -C drivers make: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861' gcc -c -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o vidixlib.o vidixlib.c make: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861' make: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861' ld -shared -soname libvidix.so.1.0.0 -o libvidix.so.1.0.0 vidixlib.o -lc -ldl ln -sf libvidix.so.1.0.0 libvidix.so.1.0 ln -sf libvidix.so.1.0.0 libvidix.so.1 ln -sf libvidix.so.1.0.0 libvidix.so make: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o cyberblade_vid.o cyberblade_vid.c cyberblade_vid.c: In function 'DumpRegisters': cyberblade_vid.c:99:17: warning: unused variable 'val' [-Wunused-variable] int reg,val; ^~~ cyberblade_vid.c:99:13: warning: unused variable 'reg' [-Wunused-variable] int reg,val; ^~~ cyberblade_vid.c: In function 'vixPlaybackSetEq': cyberblade_vid.c:360:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (cr < 0) cr = 0; if(cr > 7) cr = 7; ^~ cyberblade_vid.c:360:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (cr < 0) cr = 0; if(cr > 7) cr = 7; ^~ cyberblade_vid.c:364:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (br < 0) br = 0; if(br > 63) br = 63; ^~ cyberblade_vid.c:364:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (br < 0) br = 0; if(br > 63) br = 63; ^~ cyberblade_vid.c:368:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (sat < 0) sat = 0; if(sat > 31) sat = 31; ^~ cyberblade_vid.c:368:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (sat < 0) sat = 0; if(sat > 31) sat = 31; ^~ cyberblade_vid.c: In function 'vixConfigPlayback': cyberblade_vid.c:386:14: warning: unused variable 'zoom' [-Wunused-variable] int shrink, zoom; ^~~~ cyberblade_vid.c:386:6: warning: unused variable 'shrink' [-Wunused-variable] int shrink, zoom; ^~~~~~ At top level: cyberblade_vid.c:83:12: warning: 'SRINW' defined but not used [-Wunused-function] static int SRINW(int reg) ^~~~~ cyberblade_vid.c:69:12: warning: 'CRINW' defined but not used [-Wunused-function] static int CRINW(int reg) ^~~~~ cyberblade_vid.c: In function 'vixConfigPlayback': cyberblade_vid.c:574:3: warning: 'uv_pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] SROUTW(0x9A,uv_pitch); /* UV Bytes per row */ ^~~~~~~~~~~~~~~~~~~~~ cyberblade_vid.c:558:20: warning: 'y_pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] int lb = (y_pitch+2) >> 2; ~~~~~~~~^~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o unichrome_vid.o unichrome_vid.c unichrome_vid.c: In function 'vixConfigPlayback': unichrome_vid.c:804:49: warning: pointer targets in passing argument 5 of 'uc_ovl_map_hzoom' differ in signedness [-Wpointer-sign] uc_ovl_map_hzoom (src_w, drw_w, &zoom, &mini, &falign, &dcount); ^~~~~~~ unichrome_vid.c:228:1: note: expected 'int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} uc_ovl_map_hzoom (int sw, int dw, uint32_t * zoom, uint32_t * mini, ^~~~~~~~~~~~~~~~ unichrome_vid.c:804:58: warning: pointer targets in passing argument 6 of 'uc_ovl_map_hzoom' differ in signedness [-Wpointer-sign] uc_ovl_map_hzoom (src_w, drw_w, &zoom, &mini, &falign, &dcount); ^~~~~~~ unichrome_vid.c:228:1: note: expected 'int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} uc_ovl_map_hzoom (int sw, int dw, uint32_t * zoom, uint32_t * mini, ^~~~~~~~~~~~~~~~ unichrome_vid.c:777:30: warning: unused variable 'v_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^~~~~~~ unichrome_vid.c:777:21: warning: unused variable 'u_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^~~~~~~ unichrome_vid.c:777:12: warning: unused variable 'y_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^~~~~~~ unichrome_vid.c:769:7: warning: 'uv_size' may be used uninitialized in this function [-Wmaybe-uninitialized] int uv_size, swap_uv; ^~~~~~~ unichrome_vid.c:768:15: warning: 'pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] long base0, pitch; ^~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared unichrome_vid.o -L../../libdha -ldha -lm -Wl,-soname,unichrome_vid.so -o unichrome_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o pm3_vid.o pm3_vid.c pm3_vid.c: In function 'vixConfigPlayback': pm3_vid.c:286:42: warning: pointer targets in passing argument 3 of 'compute_scale_factor' differ in signedness [-Wpointer-sign] compute_scale_factor(&src_w, &drw_w, &shrink, &zoom); ^~~~~~~ pm3_vid.c:201:1: note: expected 'unsigned int *' but argument is of type 'int *' compute_scale_factor( ^~~~~~~~~~~~~~~~~~~~ pm3_vid.c:286:51: warning: pointer targets in passing argument 4 of 'compute_scale_factor' differ in signedness [-Wpointer-sign] compute_scale_factor(&src_w, &drw_w, &shrink, &zoom); ^~~~~ pm3_vid.c:201:1: note: expected 'unsigned int *' but argument is of type 'int *' compute_scale_factor( ^~~~~~~~~~~~~~~~~~~~ In file included from pm3_vid.c:35: pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^~~~~~~~~~~~~~ pm3_vid.c: In function 'vixPlaybackOn': pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_vid.c: In function 'vixPlaybackOff': pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o mga_vid.o mga_vid.c mga_vid.c: In function 'vixPlaybackFrameSelect': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^~~~~~ mga_vid.c: In function 'mga_vid_write_regs': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^~~~~ mga_vid.c: In function 'vixPlaybackSetEq': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o savage_vid.o savage_vid.c savage_vid.c: In function 'SavageInitStreamsOld': savage_vid.c:550:2: warning: #warning enable this again [-Wcpp] #warning enable this again ^~~~~~~ savage_vid.c:578:2: warning: #warning is this needed? [-Wcpp] #warning is this needed? ^~~~~~~ savage_vid.c: In function 'savage_getscreenproperties': savage_vid.c:672:12: warning: unused variable 'width' [-Wunused-variable] uint32_t width=0; ^~~~~ savage_vid.c: In function 'vixInit': savage_vid.c:987:34: warning: "/*" within comment [-Wcomment] VGAOUT8 (0x3d5, cr66 & ~0x02); /* clear reset flag */ savage_vid.c:1006:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] info->picture_base = (uint32_t) info->video_base + info->picture_offset; ^ savage_vid.c:863:17: warning: unused variable 'videoRambytes' [-Wunused-variable] int videoRam, videoRambytes; ^~~~~~~~~~~~~ savage_vid.c:856:51: warning: unused variable 'cr66' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^~~~ savage_vid.c:856:45: warning: unused variable 'cr3f' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^~~~ savage_vid.c:856:40: warning: unused variable 'sr8' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^~~ savage_vid.c:856:36: warning: unused variable 'n2' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^~ savage_vid.c:856:32: warning: unused variable 'n1' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^~ savage_vid.c:856:29: warning: unused variable 'n' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:26: warning: unused variable 'm' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c: In function 'vixConfigPlayback': savage_vid.c:1218:20: warning: unused variable 'fifo_ctrl' [-Wunused-variable] uint32_t v_ctrl, fifo_ctrl; ^~~~~~~~~ savage_vid.c:1218:12: warning: unused variable 'v_ctrl' [-Wunused-variable] uint32_t v_ctrl, fifo_ctrl; ^~~~~~ savage_vid.c:1217:30: warning: unused variable 'v_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^~~~~~~ savage_vid.c:1217:21: warning: unused variable 'u_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^~~~~~~ savage_vid.c:1217:12: warning: unused variable 'y_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^~~~~~~ savage_vid.c:1216:28: warning: unused variable 'qwfetch' [-Wunused-variable] uint32_t dcount, falign, qwfetch; ^~~~~~~ savage_vid.c:1216:20: warning: unused variable 'falign' [-Wunused-variable] uint32_t dcount, falign, qwfetch; ^~~~~~ savage_vid.c:1216:12: warning: unused variable 'dcount' [-Wunused-variable] uint32_t dcount, falign, qwfetch; ^~~~~~ savage_vid.c:1215:18: warning: unused variable 'mini' [-Wunused-variable] uint32_t zoom, mini; ^~~~ savage_vid.c:1215:12: warning: unused variable 'zoom' [-Wunused-variable] uint32_t zoom, mini; ^~~~ savage_vid.c:1214:23: warning: unused variable 'win_end' [-Wunused-variable] uint32_t win_start, win_end; ^~~~~~~ savage_vid.c:1214:12: warning: unused variable 'win_start' [-Wunused-variable] uint32_t win_start, win_end; ^~~~~~~~~ savage_vid.c:1211:16: warning: unused variable 'srcPitch2' [-Wunused-variable] int srcPitch,srcPitch2; ^~~~~~~~~ savage_vid.c:1211:7: warning: unused variable 'srcPitch' [-Wunused-variable] int srcPitch,srcPitch2; ^~~~~~~~ savage_vid.c:1210:7: warning: unused variable 'extfifo_on' [-Wunused-variable] int extfifo_on; ^~~~~~~~~~ savage_vid.c:1208:16: warning: variable 'swap_uv' set but not used [-Wunused-but-set-variable] int uv_size, swap_uv; ^~~~~~~ At top level: savage_vid.c:1195:26: warning: 'VOffs' defined but not used [-Wunused-variable] static int YOffs, UOffs, VOffs; ^~~~~ savage_vid.c:1195:19: warning: 'UOffs' defined but not used [-Wunused-variable] static int YOffs, UOffs, VOffs; ^~~~~ savage_vid.c:1195:12: warning: 'YOffs' defined but not used [-Wunused-variable] static int YOffs, UOffs, VOffs; ^~~~~ savage_vid.c:137:12: warning: 'frames' defined but not used [-Wunused-variable] static int frames[VID_PLAY_MAXFRAMES]; ^~~~~~ savage_vid.c:135:22: warning: 'savage_grkey' defined but not used [-Wunused-variable] static vidix_grkey_t savage_grkey; ^~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared pm3_vid.o -L../../libdha -ldha -Wl,-soname,pm3_vid.so -o pm3_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o sis_bridge.o sis_bridge.c sis_bridge.c: In function 'sis_ddc2_delay': sis_bridge.c:37:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^~~~ sis_bridge.c: In function 'sis_sense_30x': sis_bridge.c:73:20: warning: unused variable 'temp' [-Wunused-variable] unsigned short temp; ^~~~ sis_bridge.c:72:35: warning: variable 'haveresult' set but not used [-Wunused-but-set-variable] int myflag, result = 0, i, j, haveresult; ^~~~~~~~~~ sis_bridge.c: In function 'sis_detect_lcd': sis_bridge.c:399:31: warning: unused variable 'CR37' [-Wunused-variable] unsigned char CR32, CR36, CR37; ^~~~ sis_bridge.c:399:25: warning: unused variable 'CR36' [-Wunused-variable] unsigned char CR32, CR36, CR37; ^~~~ At top level: sis_bridge.c:397:13: warning: 'sis_detect_lcd' defined but not used [-Wunused-function] static void sis_detect_lcd(void) ^~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared mga_vid.o -L../../libdha -ldha -lm -Wl,-soname,mga_vid.so -o mga_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared savage_vid.o -L../../libdha -ldha -lm -Wl,-soname,savage_vid.so -o savage_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DCRTC2 -o mga_crtc2_vid.o mga_vid.c mga_vid.c: In function 'crtc2_frame_sel': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:340:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:340:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:341:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:341:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:342:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:342:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^~~~~~ mga_vid.c: In function 'vixPlaybackFrameSelect': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^~~~~~ mga_vid.c: In function 'mga_vid_write_regs': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^~~ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^~~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:566:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:566:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^~~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:567:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^~~~~~ mga_vid.c:567:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:580:2: note: in expansion of macro 'writel' writel(cregs.c2misc, mga_mmio_base + C2MISC); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:580:2: note: in expansion of macro 'writel' writel(cregs.c2misc, mga_mmio_base + C2MISC); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:584:2: note: in expansion of macro 'writel' writel(cregs.c2offset, mga_mmio_base + C2OFFSET); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:584:2: note: in expansion of macro 'writel' writel(cregs.c2offset, mga_mmio_base + C2OFFSET); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:585:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:585:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:587:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:587:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:589:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:589:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^~~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:591:2: note: in expansion of macro 'writel' writel(cregs.c2spicstartadd0, mga_mmio_base + C2SPICSTARTADD0); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:591:2: note: in expansion of macro 'writel' writel(cregs.c2spicstartadd0, mga_mmio_base + C2SPICSTARTADD0); ^~~~~~ mga_vid.c: In function 'vixPlaybackSetEq': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^~~~~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o nvidia_vid.o nvidia_vid.c make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared mga_crtc2_vid.o -L../../libdha -ldha -lm -Wl,-soname,mga_crtc2_vid.so -o mga_crtc2_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared nvidia_vid.o -L../../libdha -ldha -lm -Wl,-soname,nvidia_vid.so -o nvidia_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o mach64_vid.o mach64_vid.c mach64_vid.c: In function 'mach64_vid_display_video': mach64_vid.c:633:14: warning: variable 'vf' set but not used [-Wunused-but-set-variable] uint32_t vf; ^~ mach64_vid.c: In function 'mach64_vid_init_video': mach64_vid.c:709:63: warning: variable 'leftUV' set but not used [-Wunused-but-set-variable] uint32_t src_w,src_h,dest_w,dest_h,pitch,h_inc,v_inc,left,leftUV,top,ecp,y_pos; ^~~~~~ mach64_vid.c: In function 'vixPlaybackSetEq': mach64_vid.c:988:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(br < -64) br = -64; if(br > 63) br = 63; ^~ mach64_vid.c:988:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(br < -64) br = -64; if(br > 63) br = 63; ^~ mach64_vid.c:990:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(sat < 0) sat = 0; if(sat > 31) sat = 31; ^~ mach64_vid.c:990:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(sat < 0) sat = 0; if(sat > 31) sat = 31; ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared mach64_vid.o -L../../libdha -ldha -Wl,-soname,mach64_vid.so -o mach64_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o sis_vid.o sis_vid.c sis_vid.c: In function 'vixInit': sis_vid.c:368:42: warning: 'sr_data' may be used uninitialized in this function [-Wmaybe-uninitialized] ((uint16_t) (cr_data2 & 0x40) << 3) | ((uint16_t) (sr_data & 0x02) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -DRAGE128 -o rage128_vid.o radeon_vid.c radeon_vid.c: In function 'radeon_compute_framesize': radeon_vid.c:1772:25: warning: variable 'dbpp' set but not used [-Wunused-but-set-variable] unsigned pitch,awidth,dbpp; ^~~~ radeon_vid.c: In function 'vixPlaybackSetEq': radeon_vid.c:1936:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(br < -64) br = -64; if(br > 63) br = 63; ^~ radeon_vid.c:1936:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(br < -64) br = -64; if(br > 63) br = 63; ^~ radeon_vid.c:1938:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(sat < 0) sat = 0; if(sat > 31) sat = 31; ^~ radeon_vid.c:1938:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if(sat < 0) sat = 0; if(sat > 31) sat = 31; ^~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared sis_vid.o sis_bridge.o -L../../libdha -ldha -Wl,-soname,sis_vid.so -o sis_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared rage128_vid.o -L../../libdha -ldha -lm -Wl,-soname,rage128_vid.so -o rage128_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -o radeon_vid.o radeon_vid.c radeon_vid.c: In function 'radeon_engine_restore': radeon_vid.c:450:19: warning: variable 'yres' set but not used [-Wunused-but-set-variable] uint32_t xres,yres,bpp; ^~~~ radeon_vid.c: In function 'radeon_compute_framesize': radeon_vid.c:1772:25: warning: variable 'dbpp' set but not used [-Wunused-but-set-variable] unsigned pitch,awidth,dbpp; ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -shared radeon_vid.o -L../../libdha -ldha -lm -Wl,-soname,radeon_vid.so -o radeon_vid.so make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' rm pm3_vid.o mach64_vid.o + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.51797 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/vidix-buildroot + : + /bin/rm -rf -- /usr/src/tmp/vidix-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd vidix-svn-r21861 + make 'INSTALL=/usr/libexec/rpm-build/install -p' LIBDIR=/usr/src/tmp/vidix-buildroot/usr/lib64 INCDIR=/usr/src/tmp/vidix-buildroot/usr/include/vidix install make: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861' make -C drivers install make[1]: Entering directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' mkdir -p /usr/src/tmp/vidix-buildroot/usr/lib64/vidix install -m 755 -p *.so /usr/src/tmp/vidix-buildroot/usr/lib64/vidix make[1]: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' install -d -m 755 /usr/src/tmp/vidix-buildroot/usr/lib64 install -m 644 -s -p libvidix.so.1.0.0 /usr/src/tmp/vidix-buildroot/usr/lib64 WARNING: strip is called in %install by 'install -s' (ignored) ln -sf libvidix.so.1.0.0 /usr/src/tmp/vidix-buildroot/usr/lib64/libvidix.so.1.0 ln -sf libvidix.so.1.0.0 /usr/src/tmp/vidix-buildroot/usr/lib64/libvidix.so.1 ln -sf libvidix.so.1.0.0 /usr/src/tmp/vidix-buildroot/usr/lib64/libvidix.so install -d -m 755 /usr/src/tmp/vidix-buildroot/usr/include/vidix install -m 644 fourcc.h /usr/src/tmp/vidix-buildroot/usr/include/vidix/fourcc.h install -m 644 vidix.h /usr/src/tmp/vidix-buildroot/usr/include/vidix/vidix.h install -m 644 vidixlib.h /usr/src/tmp/vidix-buildroot/usr/include/vidix/vidixlib.h make: Leaving directory '/usr/src/RPM/BUILD/vidix-svn-r21861' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/vidix-buildroot (auto) mode of './usr/lib64/vidix/unichrome_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/sis_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/savage_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/rage128_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/radeon_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/pm3_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/nvidia_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/mga_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/mga_crtc2_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/mach64_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib64/vidix/cyberblade_vid.so' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/vidix-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/vidix-buildroot/ (default) Compressing files in /usr/src/tmp/vidix-buildroot (auto) Adjusting library links in /usr/src/tmp/vidix-buildroot ./usr/lib64: libvidix.so.1.0.0 -> libvidix.so.1.0.0 Verifying ELF objects in /usr/src/tmp/vidix-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: libvidix-1.0.0-alt0.2.1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.12211 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vidix-svn-r21861 + DOCDIR=/usr/src/tmp/vidix-buildroot/usr/share/doc/libvidix-1.0.0 + export DOCDIR + rm -rf /usr/src/tmp/vidix-buildroot/usr/share/doc/libvidix-1.0.0 + /bin/mkdir -p /usr/src/tmp/vidix-buildroot/usr/share/doc/libvidix-1.0.0 + cp -prL README /usr/src/tmp/vidix-buildroot/usr/share/doc/libvidix-1.0.0 + chmod -R go-w /usr/src/tmp/vidix-buildroot/usr/share/doc/libvidix-1.0.0 + chmod -R a+rX /usr/src/tmp/vidix-buildroot/usr/share/doc/libvidix-1.0.0 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TL3RdZ find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) lib.prov: /usr/src/tmp/vidix-buildroot/usr/lib64/libvidix.so.1.0.0: 19 symbols, 15 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9Tguym find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: libvidix.so.1.0.0()(64bit) = set:idzHx9OqTl4vsLQWbvVcqztQUSax91iAkuThsHvW Requires: libc.so.6(ALT_2.24)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libdl.so.2(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.X33GlN Creating libvidix-debuginfo package Processing files: libvidix-devel-1.0.0-alt0.2.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VEjSyh find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RQ3CdP find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libvidix = 1.0.0-alt0.2.1.qa1, /usr/lib64/libvidix.so.1.0.0 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5NX9hq Processing files: vidix-drivers-1.0.0-alt0.2.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DfRyO4 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7UvgMM find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libdha.so.1.0()(64bit) >= set:ieqUNMcfkauHOmMVZacYDSYo, libm.so.6(GLIBC_2.2.5)(64bit), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Conflicts: MPlayer-vidix-driver Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Ltvney Creating vidix-drivers-debuginfo package Processing files: libvidix-debuginfo-1.0.0-alt0.2.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1zgvdn find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.RGOOCf find-requires: running scripts (debuginfo) Provides: debug64(libvidix.so.1.0.0) Requires: libvidix = 1.0.0-alt0.2.1.qa1, debug64(libc.so.6), debug64(libdl.so.2) Processing files: vidix-drivers-debuginfo-1.0.0-alt0.2.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Faxtsb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J49oMa find-requires: running scripts (debuginfo) Requires: vidix-drivers = 1.0.0-alt0.2.1.qa1, debug64(libc.so.6), debug64(libdha.so.1.0), debug64(libm.so.6) Removing 1 extra deps from libvidix-devel due to dependency on libvidix Wrote: /usr/src/RPM/RPMS/x86_64/libvidix-1.0.0-alt0.2.1.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libvidix-devel-1.0.0-alt0.2.1.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/vidix-drivers-1.0.0-alt0.2.1.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/libvidix-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/vidix-drivers-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm (w2.lzdio) 5.95user 2.57system 0:16.42elapsed 51%CPU (0avgtext+0avgdata 39936maxresident)k 0inputs+0outputs (0major+1174947minor)pagefaults 0swaps 1.67user 0.91system 0:20.70elapsed 12%CPU (0avgtext+0avgdata 120312maxresident)k 0inputs+0outputs (34446major+152079minor)pagefaults 0swaps --- libvidix-1.0.0-alt0.2.1.qa1.x86_64.rpm.repo 2013-04-15 15:16:18.000000000 +0000 +++ libvidix-1.0.0-alt0.2.1.qa1.x86_64.rpm.hasher 2022-11-06 07:37:19.157486558 +0000 @@ -5,4 +5,3 @@ /usr/share/doc/libvidix-1.0.0/README 100644 root:root -Requires: libc.so.6()(64bit) >= set:pnCE0ZdiC7 -Requires: rpmlib(SetVersions) +Requires: libc.so.6(ALT_2.24)(64bit) Requires: libc.so.6(GLIBC_2.2.5)(64bit) @@ -11,2 +10,3 @@ Requires: libdl.so.2(GLIBC_2.2.5)(64bit) +Requires: rtld(GNU_HASH) Requires: rpmlib(PayloadIsLzma) @@ -16,5 +16,5 @@ File: /usr/lib64/libvidix.so.1.0 120777 root:root libvidix.so.1.0.0 -File: /usr/lib64/libvidix.so.1.0.0 100644 root:root 27b6f1452989bb9c0266d60a71cd25d8 +File: /usr/lib64/libvidix.so.1.0.0 100644 root:root fb429e68b52a23b8c167547a02bdcc0a File: /usr/share/doc/libvidix-1.0.0 40755 root:root File: /usr/share/doc/libvidix-1.0.0/README 100644 root:root c8f72f67dec3f83f62a3a9821bfb516e -RPMIdentity: a1bf1cfee9c426e86ccfc972f7e097bbc2927a558f55734fcc2954568586ec429dc3ee38a953d200b1f1341d959262d9ae333948ec41cadc5fada5e9ccbc5bc9 +RPMIdentity: 1456e0266e5c82f6201c955e171cccf62118f275215d66d2e70627bd70b0f5831475f4fdbf04cf3825edfe5cf2a64ee64133ee17aecfca7d0d4272dfd20f1eeb error: open of /archive/repo/p9/task/_301/309237/files/x86_64/RPMS/libvidix-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm failed: No such file or directory --- libvidix-devel-1.0.0-alt0.2.1.qa1.x86_64.rpm.repo 2013-04-15 15:16:18.000000000 +0000 +++ libvidix-devel-1.0.0-alt0.2.1.qa1.x86_64.rpm.hasher 2022-11-06 07:37:19.203487310 +0000 @@ -13,2 +13,2 @@ File: /usr/lib64/libvidix.so 120777 root:root libvidix.so.1.0.0 -RPMIdentity: c26f6205a792c259aa76160f87578ededf29f41e56af8529cd21918a42169b334af6679b11e7ccca3a1f25489cf2e02266c2d0ea3a1cafb911b6f80bba59b68c +RPMIdentity: 4726521212188ef76513abba5e2427ebc38dc8dc4b23fbebd594fd60a4b161921aea6d6fd71a76c2c333352ea3b50f12596114b5c0aeda6a954a93125a864c8c --- vidix-drivers-1.0.0-alt0.2.1.qa1.x86_64.rpm.repo 2013-04-15 15:16:18.000000000 +0000 +++ vidix-drivers-1.0.0-alt0.2.1.qa1.x86_64.rpm.hasher 2022-11-06 07:37:19.268488372 +0000 @@ -14,2 +14,3 @@ Requires: libc.so.6(GLIBC_2.3.4)(64bit) +Requires: libc.so.6(GLIBC_2.4)(64bit) Requires: libdha.so.1.0()(64bit) >= set:ieqUNMcfkauHOmMVZacYDSYo @@ -22,13 +23,13 @@ File: /usr/lib64/vidix 40755 root:root -File: /usr/lib64/vidix/cyberblade_vid.so 100644 root:root de9eb8bd7c90a92d0a9fa5027e9934e5 -File: /usr/lib64/vidix/mach64_vid.so 100644 root:root 4ae8e59fe06658c2aa014c8ec7024474 -File: /usr/lib64/vidix/mga_crtc2_vid.so 100644 root:root 7c7a7eaa97140398de46c989d4bcb23b -File: /usr/lib64/vidix/mga_vid.so 100644 root:root 5e1be9e622d0da11bdd34417a8c3d498 -File: /usr/lib64/vidix/nvidia_vid.so 100644 root:root 4a17273d0cc0e09013c35b270460c8b3 -File: /usr/lib64/vidix/pm3_vid.so 100644 root:root 17d490b6b1e8a98a72431dd318ab2bb7 -File: /usr/lib64/vidix/radeon_vid.so 100644 root:root d5490dd42fd9fb977d31b4da74cfb28f -File: /usr/lib64/vidix/rage128_vid.so 100644 root:root 9ad819229f816077d043dda9614c8f45 -File: /usr/lib64/vidix/savage_vid.so 100644 root:root 2db6ac441ae7148115e3ab7f1ce2dbbe -File: /usr/lib64/vidix/sis_vid.so 100644 root:root 40a3f59aeeedb3eeec4900aae27b4768 -File: /usr/lib64/vidix/unichrome_vid.so 100644 root:root 3a5ebe2eb38c21c80e7652c304b5d01f -RPMIdentity: 203c19284945018b956512cefe4b9f0bcd251838353cbfd49a81da7d89c208047a43f34137ba55b790c53d4ffe6a3aef3864e2cd338af27d8fff841ab637c75f +File: /usr/lib64/vidix/cyberblade_vid.so 100644 root:root daf4487bf755d989b9fef5dfe8bf1b19 +File: /usr/lib64/vidix/mach64_vid.so 100644 root:root b2d2a91a8adc5c6328505905811b9d84 +File: /usr/lib64/vidix/mga_crtc2_vid.so 100644 root:root 54db590396c7650660177930eb35da87 +File: /usr/lib64/vidix/mga_vid.so 100644 root:root f3403430889e9650ad6a32071a56b24e +File: /usr/lib64/vidix/nvidia_vid.so 100644 root:root e6bb9851bef94e8fa610456c89a8f60c +File: /usr/lib64/vidix/pm3_vid.so 100644 root:root 1cf3454b8ffb5cb88cb52f64133243fa +File: /usr/lib64/vidix/radeon_vid.so 100644 root:root ba45d18be313cdbfbdbe9df420050616 +File: /usr/lib64/vidix/rage128_vid.so 100644 root:root 4f1b76732d3899938983eae41087eaa2 +File: /usr/lib64/vidix/savage_vid.so 100644 root:root 250ada598c83deee27394f0c667df75f +File: /usr/lib64/vidix/sis_vid.so 100644 root:root a56dd87e36eacb7afc7e136c6e296728 +File: /usr/lib64/vidix/unichrome_vid.so 100644 root:root fc1d6f3f40f25c2a578a6695e3ac0072 +RPMIdentity: c2d4a0b5507c31e0a2dd22561a8b267f2bc1ac5feb09a309875d8de92cb0e118f013621567a545ad1adffa57cc92040faaeb2ef8719806e5a1410177813adadf --- vidix-drivers-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm.repo 2013-04-15 15:16:18.000000000 +0000 +++ vidix-drivers-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm.hasher 2022-11-06 07:37:19.334489450 +0000 @@ -1,34 +1,33 @@ -/usr/lib/debug/.build-id/10 40755 root:root -/usr/lib/debug/.build-id/10/13766e283061b7b9a772e70e94e87ccffaf967 120777 root:root ../../../../lib64/vidix/rage128_vid.so -/usr/lib/debug/.build-id/10/13766e283061b7b9a772e70e94e87ccffaf967.debug 120777 root:root ../../usr/lib64/vidix/rage128_vid.so.debug -/usr/lib/debug/.build-id/20 40755 root:root -/usr/lib/debug/.build-id/20/e0b0b35a262b49d1ef04fe51d789d5fe634064 120777 root:root ../../../../lib64/vidix/mga_crtc2_vid.so -/usr/lib/debug/.build-id/20/e0b0b35a262b49d1ef04fe51d789d5fe634064.debug 120777 root:root ../../usr/lib64/vidix/mga_crtc2_vid.so.debug -/usr/lib/debug/.build-id/4d 40755 root:root -/usr/lib/debug/.build-id/4d/3173c37f79fa52d6115345347ea015162fbfd6 120777 root:root ../../../../lib64/vidix/unichrome_vid.so -/usr/lib/debug/.build-id/4d/3173c37f79fa52d6115345347ea015162fbfd6.debug 120777 root:root ../../usr/lib64/vidix/unichrome_vid.so.debug -/usr/lib/debug/.build-id/57 40755 root:root -/usr/lib/debug/.build-id/57/caf774842bc2152b23db3e1ea770ad7e6aba21 120777 root:root ../../../../lib64/vidix/nvidia_vid.so -/usr/lib/debug/.build-id/57/caf774842bc2152b23db3e1ea770ad7e6aba21.debug 120777 root:root ../../usr/lib64/vidix/nvidia_vid.so.debug +/usr/lib/debug/.build-id/0b 40755 root:root +/usr/lib/debug/.build-id/0b/8868daa445f12abec432716236a24570d4afbc 120777 root:root ../../../../lib64/vidix/mach64_vid.so +/usr/lib/debug/.build-id/0b/8868daa445f12abec432716236a24570d4afbc.debug 120777 root:root ../../usr/lib64/vidix/mach64_vid.so.debug +/usr/lib/debug/.build-id/19 40755 root:root +/usr/lib/debug/.build-id/19/fae010866d290d185b61dcfcdf14e9b80a080f 120777 root:root ../../../../lib64/vidix/mga_crtc2_vid.so +/usr/lib/debug/.build-id/19/fae010866d290d185b61dcfcdf14e9b80a080f.debug 120777 root:root ../../usr/lib64/vidix/mga_crtc2_vid.so.debug +/usr/lib/debug/.build-id/39 40755 root:root +/usr/lib/debug/.build-id/39/4d2dfd26c10f5629d290c0f50545e8055eb2f0 120777 root:root ../../../../lib64/vidix/sis_vid.so +/usr/lib/debug/.build-id/39/4d2dfd26c10f5629d290c0f50545e8055eb2f0.debug 120777 root:root ../../usr/lib64/vidix/sis_vid.so.debug /usr/lib/debug/.build-id/7a 40755 root:root -/usr/lib/debug/.build-id/7a/e2fa55b8ad8034ac1324c642057b42cdafacf0 120777 root:root ../../../../lib64/vidix/sis_vid.so -/usr/lib/debug/.build-id/7a/e2fa55b8ad8034ac1324c642057b42cdafacf0.debug 120777 root:root ../../usr/lib64/vidix/sis_vid.so.debug -/usr/lib/debug/.build-id/7f 40755 root:root -/usr/lib/debug/.build-id/7f/05e2fe94e4547afb0342ed2e4d9bdc50bf0626 120777 root:root ../../../../lib64/vidix/mga_vid.so -/usr/lib/debug/.build-id/7f/05e2fe94e4547afb0342ed2e4d9bdc50bf0626.debug 120777 root:root ../../usr/lib64/vidix/mga_vid.so.debug -/usr/lib/debug/.build-id/8a 40755 root:root -/usr/lib/debug/.build-id/8a/1bfa0da5438a1a8518a9c47b758ca774ff52d1 120777 root:root ../../../../lib64/vidix/pm3_vid.so -/usr/lib/debug/.build-id/8a/1bfa0da5438a1a8518a9c47b758ca774ff52d1.debug 120777 root:root ../../usr/lib64/vidix/pm3_vid.so.debug -/usr/lib/debug/.build-id/93 40755 root:root -/usr/lib/debug/.build-id/93/4958e03682a7bc72f1587d27e9c024b3a24b44 120777 root:root ../../../../lib64/vidix/savage_vid.so -/usr/lib/debug/.build-id/93/4958e03682a7bc72f1587d27e9c024b3a24b44.debug 120777 root:root ../../usr/lib64/vidix/savage_vid.so.debug -/usr/lib/debug/.build-id/b9 40755 root:root -/usr/lib/debug/.build-id/b9/13f1974d3b6249125ae5922caccdd4e69eb2c6 120777 root:root ../../../../lib64/vidix/cyberblade_vid.so -/usr/lib/debug/.build-id/b9/13f1974d3b6249125ae5922caccdd4e69eb2c6.debug 120777 root:root ../../usr/lib64/vidix/cyberblade_vid.so.debug -/usr/lib/debug/.build-id/ea 40755 root:root -/usr/lib/debug/.build-id/ea/b168178cfb4a239b48036e5b8345a1e416e09b 120777 root:root ../../../../lib64/vidix/mach64_vid.so -/usr/lib/debug/.build-id/ea/b168178cfb4a239b48036e5b8345a1e416e09b.debug 120777 root:root ../../usr/lib64/vidix/mach64_vid.so.debug -/usr/lib/debug/.build-id/f9 40755 root:root -/usr/lib/debug/.build-id/f9/65ef54ae5b4e879bb0ee4b93900d8f812a8e8d 120777 root:root ../../../../lib64/vidix/radeon_vid.so -/usr/lib/debug/.build-id/f9/65ef54ae5b4e879bb0ee4b93900d8f812a8e8d.debug 120777 root:root ../../usr/lib64/vidix/radeon_vid.so.debug +/usr/lib/debug/.build-id/7a/f77a95d00b077e2582bb746e4649217daeaa00 120777 root:root ../../../../lib64/vidix/pm3_vid.so +/usr/lib/debug/.build-id/7a/f77a95d00b077e2582bb746e4649217daeaa00.debug 120777 root:root ../../usr/lib64/vidix/pm3_vid.so.debug +/usr/lib/debug/.build-id/81 40755 root:root +/usr/lib/debug/.build-id/81/58de2353b7d33c18ab2f9306948d050a1a3192 120777 root:root ../../../../lib64/vidix/rage128_vid.so +/usr/lib/debug/.build-id/81/58de2353b7d33c18ab2f9306948d050a1a3192.debug 120777 root:root ../../usr/lib64/vidix/rage128_vid.so.debug +/usr/lib/debug/.build-id/94 40755 root:root +/usr/lib/debug/.build-id/94/b2fb8067e09412df48caf7bb54bba0adc78a31 120777 root:root ../../../../lib64/vidix/nvidia_vid.so +/usr/lib/debug/.build-id/94/b2fb8067e09412df48caf7bb54bba0adc78a31.debug 120777 root:root ../../usr/lib64/vidix/nvidia_vid.so.debug +/usr/lib/debug/.build-id/b1 40755 root:root +/usr/lib/debug/.build-id/b1/78852cdec4e9d683942a0a18b087d91fa7ac30 120777 root:root ../../../../lib64/vidix/radeon_vid.so +/usr/lib/debug/.build-id/b1/78852cdec4e9d683942a0a18b087d91fa7ac30.debug 120777 root:root ../../usr/lib64/vidix/radeon_vid.so.debug +/usr/lib/debug/.build-id/b1/9174d707f407fc445c17ff931de7484ab80257 120777 root:root ../../../../lib64/vidix/mga_vid.so +/usr/lib/debug/.build-id/b1/9174d707f407fc445c17ff931de7484ab80257.debug 120777 root:root ../../usr/lib64/vidix/mga_vid.so.debug +/usr/lib/debug/.build-id/c8 40755 root:root +/usr/lib/debug/.build-id/c8/c48263371fe47e799bfbe9ea55537f1ceee3da 120777 root:root ../../../../lib64/vidix/cyberblade_vid.so +/usr/lib/debug/.build-id/c8/c48263371fe47e799bfbe9ea55537f1ceee3da.debug 120777 root:root ../../usr/lib64/vidix/cyberblade_vid.so.debug +/usr/lib/debug/.build-id/e7 40755 root:root +/usr/lib/debug/.build-id/e7/f32bc02a4aa3c51f5dda0aec445aee969ab2e6 120777 root:root ../../../../lib64/vidix/unichrome_vid.so +/usr/lib/debug/.build-id/e7/f32bc02a4aa3c51f5dda0aec445aee969ab2e6.debug 120777 root:root ../../usr/lib64/vidix/unichrome_vid.so.debug +/usr/lib/debug/.build-id/f1 40755 root:root +/usr/lib/debug/.build-id/f1/258edb7d61d39eb445424d04a71e64d546edf3 120777 root:root ../../../../lib64/vidix/savage_vid.so +/usr/lib/debug/.build-id/f1/258edb7d61d39eb445424d04a71e64d546edf3.debug 120777 root:root ../../usr/lib64/vidix/savage_vid.so.debug /usr/lib/debug/usr/lib64/vidix 40755 root:root @@ -51,2 +50,3 @@ /usr/src/debug/vidix-svn-r21861/drivers/nvidia_vid.c 100644 root:root +/usr/src/debug/vidix-svn-r21861/drivers/pm3_regs.h 100644 root:root /usr/src/debug/vidix-svn-r21861/drivers/pm3_vid.c 100644 root:root @@ -66,47 +66,46 @@ Provides: vidix-drivers-debuginfo = 1.0.0-alt0.2.1.qa1 -File: /usr/lib/debug/.build-id/10 40755 root:root -File: /usr/lib/debug/.build-id/10/13766e283061b7b9a772e70e94e87ccffaf967 120777 root:root ../../../../lib64/vidix/rage128_vid.so -File: /usr/lib/debug/.build-id/10/13766e283061b7b9a772e70e94e87ccffaf967.debug 120777 root:root ../../usr/lib64/vidix/rage128_vid.so.debug -File: /usr/lib/debug/.build-id/20 40755 root:root -File: /usr/lib/debug/.build-id/20/e0b0b35a262b49d1ef04fe51d789d5fe634064 120777 root:root ../../../../lib64/vidix/mga_crtc2_vid.so -File: /usr/lib/debug/.build-id/20/e0b0b35a262b49d1ef04fe51d789d5fe634064.debug 120777 root:root ../../usr/lib64/vidix/mga_crtc2_vid.so.debug -File: /usr/lib/debug/.build-id/4d 40755 root:root -File: /usr/lib/debug/.build-id/4d/3173c37f79fa52d6115345347ea015162fbfd6 120777 root:root ../../../../lib64/vidix/unichrome_vid.so -File: /usr/lib/debug/.build-id/4d/3173c37f79fa52d6115345347ea015162fbfd6.debug 120777 root:root ../../usr/lib64/vidix/unichrome_vid.so.debug -File: /usr/lib/debug/.build-id/57 40755 root:root -File: /usr/lib/debug/.build-id/57/caf774842bc2152b23db3e1ea770ad7e6aba21 120777 root:root ../../../../lib64/vidix/nvidia_vid.so -File: /usr/lib/debug/.build-id/57/caf774842bc2152b23db3e1ea770ad7e6aba21.debug 120777 root:root ../../usr/lib64/vidix/nvidia_vid.so.debug +File: /usr/lib/debug/.build-id/0b 40755 root:root +File: /usr/lib/debug/.build-id/0b/8868daa445f12abec432716236a24570d4afbc 120777 root:root ../../../../lib64/vidix/mach64_vid.so +File: /usr/lib/debug/.build-id/0b/8868daa445f12abec432716236a24570d4afbc.debug 120777 root:root ../../usr/lib64/vidix/mach64_vid.so.debug +File: /usr/lib/debug/.build-id/19 40755 root:root +File: /usr/lib/debug/.build-id/19/fae010866d290d185b61dcfcdf14e9b80a080f 120777 root:root ../../../../lib64/vidix/mga_crtc2_vid.so +File: /usr/lib/debug/.build-id/19/fae010866d290d185b61dcfcdf14e9b80a080f.debug 120777 root:root ../../usr/lib64/vidix/mga_crtc2_vid.so.debug +File: /usr/lib/debug/.build-id/39 40755 root:root +File: /usr/lib/debug/.build-id/39/4d2dfd26c10f5629d290c0f50545e8055eb2f0 120777 root:root ../../../../lib64/vidix/sis_vid.so +File: /usr/lib/debug/.build-id/39/4d2dfd26c10f5629d290c0f50545e8055eb2f0.debug 120777 root:root ../../usr/lib64/vidix/sis_vid.so.debug File: /usr/lib/debug/.build-id/7a 40755 root:root -File: /usr/lib/debug/.build-id/7a/e2fa55b8ad8034ac1324c642057b42cdafacf0 120777 root:root ../../../../lib64/vidix/sis_vid.so -File: /usr/lib/debug/.build-id/7a/e2fa55b8ad8034ac1324c642057b42cdafacf0.debug 120777 root:root ../../usr/lib64/vidix/sis_vid.so.debug -File: /usr/lib/debug/.build-id/7f 40755 root:root -File: /usr/lib/debug/.build-id/7f/05e2fe94e4547afb0342ed2e4d9bdc50bf0626 120777 root:root ../../../../lib64/vidix/mga_vid.so -File: /usr/lib/debug/.build-id/7f/05e2fe94e4547afb0342ed2e4d9bdc50bf0626.debug 120777 root:root ../../usr/lib64/vidix/mga_vid.so.debug -File: /usr/lib/debug/.build-id/8a 40755 root:root -File: /usr/lib/debug/.build-id/8a/1bfa0da5438a1a8518a9c47b758ca774ff52d1 120777 root:root ../../../../lib64/vidix/pm3_vid.so -File: /usr/lib/debug/.build-id/8a/1bfa0da5438a1a8518a9c47b758ca774ff52d1.debug 120777 root:root ../../usr/lib64/vidix/pm3_vid.so.debug -File: /usr/lib/debug/.build-id/93 40755 root:root -File: /usr/lib/debug/.build-id/93/4958e03682a7bc72f1587d27e9c024b3a24b44 120777 root:root ../../../../lib64/vidix/savage_vid.so -File: /usr/lib/debug/.build-id/93/4958e03682a7bc72f1587d27e9c024b3a24b44.debug 120777 root:root ../../usr/lib64/vidix/savage_vid.so.debug -File: /usr/lib/debug/.build-id/b9 40755 root:root -File: /usr/lib/debug/.build-id/b9/13f1974d3b6249125ae5922caccdd4e69eb2c6 120777 root:root ../../../../lib64/vidix/cyberblade_vid.so -File: /usr/lib/debug/.build-id/b9/13f1974d3b6249125ae5922caccdd4e69eb2c6.debug 120777 root:root ../../usr/lib64/vidix/cyberblade_vid.so.debug -File: /usr/lib/debug/.build-id/ea 40755 root:root -File: /usr/lib/debug/.build-id/ea/b168178cfb4a239b48036e5b8345a1e416e09b 120777 root:root ../../../../lib64/vidix/mach64_vid.so -File: /usr/lib/debug/.build-id/ea/b168178cfb4a239b48036e5b8345a1e416e09b.debug 120777 root:root ../../usr/lib64/vidix/mach64_vid.so.debug -File: /usr/lib/debug/.build-id/f9 40755 root:root -File: /usr/lib/debug/.build-id/f9/65ef54ae5b4e879bb0ee4b93900d8f812a8e8d 120777 root:root ../../../../lib64/vidix/radeon_vid.so -File: /usr/lib/debug/.build-id/f9/65ef54ae5b4e879bb0ee4b93900d8f812a8e8d.debug 120777 root:root ../../usr/lib64/vidix/radeon_vid.so.debug +File: /usr/lib/debug/.build-id/7a/f77a95d00b077e2582bb746e4649217daeaa00 120777 root:root ../../../../lib64/vidix/pm3_vid.so +File: /usr/lib/debug/.build-id/7a/f77a95d00b077e2582bb746e4649217daeaa00.debug 120777 root:root ../../usr/lib64/vidix/pm3_vid.so.debug +File: /usr/lib/debug/.build-id/81 40755 root:root +File: /usr/lib/debug/.build-id/81/58de2353b7d33c18ab2f9306948d050a1a3192 120777 root:root ../../../../lib64/vidix/rage128_vid.so +File: /usr/lib/debug/.build-id/81/58de2353b7d33c18ab2f9306948d050a1a3192.debug 120777 root:root ../../usr/lib64/vidix/rage128_vid.so.debug +File: /usr/lib/debug/.build-id/94 40755 root:root +File: /usr/lib/debug/.build-id/94/b2fb8067e09412df48caf7bb54bba0adc78a31 120777 root:root ../../../../lib64/vidix/nvidia_vid.so +File: /usr/lib/debug/.build-id/94/b2fb8067e09412df48caf7bb54bba0adc78a31.debug 120777 root:root ../../usr/lib64/vidix/nvidia_vid.so.debug +File: /usr/lib/debug/.build-id/b1 40755 root:root +File: /usr/lib/debug/.build-id/b1/78852cdec4e9d683942a0a18b087d91fa7ac30 120777 root:root ../../../../lib64/vidix/radeon_vid.so +File: /usr/lib/debug/.build-id/b1/78852cdec4e9d683942a0a18b087d91fa7ac30.debug 120777 root:root ../../usr/lib64/vidix/radeon_vid.so.debug +File: /usr/lib/debug/.build-id/b1/9174d707f407fc445c17ff931de7484ab80257 120777 root:root ../../../../lib64/vidix/mga_vid.so +File: /usr/lib/debug/.build-id/b1/9174d707f407fc445c17ff931de7484ab80257.debug 120777 root:root ../../usr/lib64/vidix/mga_vid.so.debug +File: /usr/lib/debug/.build-id/c8 40755 root:root +File: /usr/lib/debug/.build-id/c8/c48263371fe47e799bfbe9ea55537f1ceee3da 120777 root:root ../../../../lib64/vidix/cyberblade_vid.so +File: /usr/lib/debug/.build-id/c8/c48263371fe47e799bfbe9ea55537f1ceee3da.debug 120777 root:root ../../usr/lib64/vidix/cyberblade_vid.so.debug +File: /usr/lib/debug/.build-id/e7 40755 root:root +File: /usr/lib/debug/.build-id/e7/f32bc02a4aa3c51f5dda0aec445aee969ab2e6 120777 root:root ../../../../lib64/vidix/unichrome_vid.so +File: /usr/lib/debug/.build-id/e7/f32bc02a4aa3c51f5dda0aec445aee969ab2e6.debug 120777 root:root ../../usr/lib64/vidix/unichrome_vid.so.debug +File: /usr/lib/debug/.build-id/f1 40755 root:root +File: /usr/lib/debug/.build-id/f1/258edb7d61d39eb445424d04a71e64d546edf3 120777 root:root ../../../../lib64/vidix/savage_vid.so +File: /usr/lib/debug/.build-id/f1/258edb7d61d39eb445424d04a71e64d546edf3.debug 120777 root:root ../../usr/lib64/vidix/savage_vid.so.debug File: /usr/lib/debug/usr/lib64/vidix 40755 root:root -File: /usr/lib/debug/usr/lib64/vidix/cyberblade_vid.so.debug 100644 root:root 04b9feea1600e967ee0685511c525ec5 -File: /usr/lib/debug/usr/lib64/vidix/mach64_vid.so.debug 100644 root:root d396cfca6fdf03bba2c5774928f1860f -File: /usr/lib/debug/usr/lib64/vidix/mga_crtc2_vid.so.debug 100644 root:root e9f150ba730341e7b094df8bd16cd5b1 -File: /usr/lib/debug/usr/lib64/vidix/mga_vid.so.debug 100644 root:root 066b8d94dcd01a218940525108a9f068 -File: /usr/lib/debug/usr/lib64/vidix/nvidia_vid.so.debug 100644 root:root 711d0e46cdc6985929253709ec191bfe -File: /usr/lib/debug/usr/lib64/vidix/pm3_vid.so.debug 100644 root:root 2207a273d82d97ca2ef958921955620c -File: /usr/lib/debug/usr/lib64/vidix/radeon_vid.so.debug 100644 root:root c2ab21529b717670a211f580320cb150 -File: /usr/lib/debug/usr/lib64/vidix/rage128_vid.so.debug 100644 root:root b2e501b4b510469d2ae893267ff82805 -File: /usr/lib/debug/usr/lib64/vidix/savage_vid.so.debug 100644 root:root f454ea932484eb7998a8fafaf84f426c -File: /usr/lib/debug/usr/lib64/vidix/sis_vid.so.debug 100644 root:root b456a29c81321e346cd23b58bd7af9f2 -File: /usr/lib/debug/usr/lib64/vidix/unichrome_vid.so.debug 100644 root:root bca358b0572e604a3e83f58cece9d769 +File: /usr/lib/debug/usr/lib64/vidix/cyberblade_vid.so.debug 100644 root:root 3375f4d823e2173ed3e148ddda8cc72c +File: /usr/lib/debug/usr/lib64/vidix/mach64_vid.so.debug 100644 root:root 217d1fc7333aaa833bd6040e713af7d4 +File: /usr/lib/debug/usr/lib64/vidix/mga_crtc2_vid.so.debug 100644 root:root 321d4dd24a4418b684952236753ad90d +File: /usr/lib/debug/usr/lib64/vidix/mga_vid.so.debug 100644 root:root ac17f47efd7e32c164326e718edbd707 +File: /usr/lib/debug/usr/lib64/vidix/nvidia_vid.so.debug 100644 root:root 5279e5f2cc3661e151cf0c186fc76ff1 +File: /usr/lib/debug/usr/lib64/vidix/pm3_vid.so.debug 100644 root:root facf8edcf5fcc95885e6febd5299f85d +File: /usr/lib/debug/usr/lib64/vidix/radeon_vid.so.debug 100644 root:root 1153584daa361749bdc6086ad8c82b74 +File: /usr/lib/debug/usr/lib64/vidix/rage128_vid.so.debug 100644 root:root a526697d8bcef7efc8af57216421d5aa +File: /usr/lib/debug/usr/lib64/vidix/savage_vid.so.debug 100644 root:root 501f5aa4ff87e95dfa95b5b93d304e40 +File: /usr/lib/debug/usr/lib64/vidix/sis_vid.so.debug 100644 root:root 9a1a31375ce447e5696ca9648f1ec55d +File: /usr/lib/debug/usr/lib64/vidix/unichrome_vid.so.debug 100644 root:root 7e4e369c82176f39bd123dd724679c18 File: /usr/src/debug/vidix-svn-r21861 40755 root:root @@ -117,2 +116,3 @@ File: /usr/src/debug/vidix-svn-r21861/drivers/nvidia_vid.c 100644 root:root 887631bfe8085797e8f6c01251275559 +File: /usr/src/debug/vidix-svn-r21861/drivers/pm3_regs.h 100644 root:root 1ce1bd349363ba731814e10d96baf9cd File: /usr/src/debug/vidix-svn-r21861/drivers/pm3_vid.c 100644 root:root 1076180cc29089ebf6b6bb42eac22fa2 @@ -126,2 +126,2 @@ File: /usr/src/debug/vidix-svn-r21861/vidix.h 100644 root:root dd65d10ed1cd0eff553965abcd29d93c -RPMIdentity: c02b8683a1a34f8f4f97c684af4198c46fd32cb3bccf1b23201d242517346580308a1db14d532343dab7abeedc81516db297da66542229fde7e20baff129f891 +RPMIdentity: 7cd419ad8de7a53bb7553dab3e732eb159c7814dae132294d9fd8d07ab3beebc0cdc777e67b5800574916e68adf9108e1160c1686ff8506c9d4c503974df35ac