<86>Feb 3 04:20:03 userdel[865011]: delete user 'rooter' <86>Feb 3 04:20:03 userdel[865011]: removed shadow group 'rooter' owned by 'rooter' <86>Feb 3 04:20:03 groupadd[865024]: group added to /etc/group: name=rooter, GID=630 <86>Feb 3 04:20:03 groupadd[865024]: group added to /etc/gshadow: name=rooter <86>Feb 3 04:20:03 groupadd[865024]: new group: name=rooter, GID=630 <86>Feb 3 04:20:03 useradd[865032]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Feb 3 04:20:03 userdel[865051]: delete user 'builder' <86>Feb 3 04:20:03 userdel[865051]: removed group 'builder' owned by 'builder' <86>Feb 3 04:20:03 userdel[865051]: removed shadow group 'builder' owned by 'builder' <86>Feb 3 04:20:03 groupadd[865062]: group added to /etc/group: name=builder, GID=631 <86>Feb 3 04:20:03 groupadd[865062]: group added to /etc/gshadow: name=builder <86>Feb 3 04:20:03 groupadd[865062]: new group: name=builder, GID=631 <86>Feb 3 04:20:03 useradd[865071]: new user: name=builder, UID=631, GID=631, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/vidix-1.0.0-alt0.2.1.qa1.src.rpm: The use of such a license name is ambiguous: GPL <13>Feb 3 04:20:05 rpmi: libdha-1.0-alt1.qa1 1365953062 installed <13>Feb 3 04:20:05 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.51332 + 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.51332 + 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 -j8 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] 99 | int reg,val; | ^~~ cyberblade_vid.c:99:13: warning: unused variable 'reg' [-Wunused-variable] 99 | int reg,val; | ^~~ cyberblade_vid.c: In function 'vixPlaybackSetEq': cyberblade_vid.c:360:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 360 | 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' 360 | if (cr < 0) cr = 0; if(cr > 7) cr = 7; | ^~ cyberblade_vid.c:364:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 364 | 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' 364 | if (br < 0) br = 0; if(br > 63) br = 63; | ^~ cyberblade_vid.c:368:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 368 | 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' 368 | 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] 386 | int shrink, zoom; | ^~~~ cyberblade_vid.c:386:6: warning: unused variable 'shrink' [-Wunused-variable] 386 | int shrink, zoom; | ^~~~~~ At top level: cyberblade_vid.c:83:12: warning: 'SRINW' defined but not used [-Wunused-function] 83 | static int SRINW(int reg) | ^~~~~ cyberblade_vid.c:69:12: warning: 'CRINW' defined but not used [-Wunused-function] 69 | static int CRINW(int reg) | ^~~~~ 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 -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] 633 | 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] 709 | 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] 988 | 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' 988 | if(br < -64) br = -64; if(br > 63) br = 63; | ^~ mach64_vid.c:990:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 990 | 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' 990 | 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 -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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:340:2: note: in expansion of macro 'writel' 340 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:340:2: note: in expansion of macro 'writel' 340 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:341:2: note: in expansion of macro 'writel' 341 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:341:2: note: in expansion of macro 'writel' 341 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:342:2: note: in expansion of macro 'writel' 342 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:342:2: note: in expansion of macro 'writel' 342 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:357:2: note: in expansion of macro 'writel' 357 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:357:2: note: in expansion of macro 'writel' 357 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:360:2: note: in expansion of macro 'writel' 360 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:360:2: note: in expansion of macro 'writel' 360 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' 374 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' 374 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' 387 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' 387 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' 388 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' 388 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' 390 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' 390 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' 391 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' 391 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' 392 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' 392 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' 393 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' 393 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' 394 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' 394 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' 395 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' 395 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' 396 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' 396 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' 397 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' 397 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' 399 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' 399 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' 400 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' 400 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' 401 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' 401 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' 402 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' 402 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' 403 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' 403 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' 404 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' 404 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' 405 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' 405 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' 406 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' 406 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' 412 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' 412 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:413:28: note: in expansion of macro 'readb' 413 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:413:28: note: in expansion of macro 'readb' 413 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' 415 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' 415 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:416:34: note: in expansion of macro 'readb' 416 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:416:34: note: in expansion of macro 'readb' 416 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' 417 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' 417 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:418:34: note: in expansion of macro 'readb' 418 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:418:34: note: in expansion of macro 'readb' 418 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' 419 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' 419 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:420:34: note: in expansion of macro 'readb' 420 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:420:34: note: in expansion of macro 'readb' 420 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' 421 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' 421 | 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] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:422:34: note: in expansion of macro 'readb' 422 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:422:34: note: in expansion of macro 'readb' 422 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' 424 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' 424 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:425:33: note: in expansion of macro 'readb' 425 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:425:33: note: in expansion of macro 'readb' 425 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' 426 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' 426 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:427:33: note: in expansion of macro 'readb' 427 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:427:33: note: in expansion of macro 'readb' 427 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' 428 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' 428 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:429:33: note: in expansion of macro 'readb' 429 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:429:33: note: in expansion of macro 'readb' 429 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' 430 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' 430 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:431:33: note: in expansion of macro 'readb' 431 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:431:33: note: in expansion of macro 'readb' 431 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' 439 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' 439 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' 440 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' 440 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' 445 | writeb( XMULCTRL, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' 445 | writeb( XMULCTRL, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:446:11: note: in expansion of macro 'readb' 446 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:446:11: note: in expansion of macro 'readb' 446 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' 475 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' 475 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' 476 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' 476 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' 479 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' 479 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' 480 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' 480 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' 481 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' 481 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' 482 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' 482 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' 486 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' 486 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' 487 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' 487 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' 488 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' 488 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' 489 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' 489 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' 490 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' 490 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' 491 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' 491 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' 494 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' 494 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' 495 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' 495 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' 496 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' 496 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' 497 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' 497 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' 498 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' 498 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' 499 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' 499 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' 504 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' 504 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' 505 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' 505 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:510:2: note: in expansion of macro 'writel' 510 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:510:2: note: in expansion of macro 'writel' 510 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:512:3: note: in expansion of macro 'writel' 512 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:512:3: note: in expansion of macro 'writel' 512 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:513:2: note: in expansion of macro 'writel' 513 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:513:2: note: in expansion of macro 'writel' 513 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:515:2: note: in expansion of macro 'writel' 515 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:515:2: note: in expansion of macro 'writel' 515 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:516:2: note: in expansion of macro 'writel' 516 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:516:2: note: in expansion of macro 'writel' 516 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:517:2: note: in expansion of macro 'writel' 517 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:517:2: note: in expansion of macro 'writel' 517 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:518:2: note: in expansion of macro 'writel' 518 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:518:2: note: in expansion of macro 'writel' 518 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:519:2: note: in expansion of macro 'writel' 519 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:519:2: note: in expansion of macro 'writel' 519 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:520:2: note: in expansion of macro 'writel' 520 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:520:2: note: in expansion of macro 'writel' 520 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:521:2: note: in expansion of macro 'writel' 521 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:521:2: note: in expansion of macro 'writel' 521 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:522:2: note: in expansion of macro 'writel' 522 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:522:2: note: in expansion of macro 'writel' 522 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:525:3: note: in expansion of macro 'writel' 525 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:525:3: note: in expansion of macro 'writel' 525 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:526:3: note: in expansion of macro 'writel' 526 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:526:3: note: in expansion of macro 'writel' 526 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:527:3: note: in expansion of macro 'writel' 527 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:527:3: note: in expansion of macro 'writel' 527 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:528:3: note: in expansion of macro 'writel' 528 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:528:3: note: in expansion of macro 'writel' 528 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:531:2: note: in expansion of macro 'writel' 531 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:531:2: note: in expansion of macro 'writel' 531 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:532:2: note: in expansion of macro 'writel' 532 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:532:2: note: in expansion of macro 'writel' 532 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:533:2: note: in expansion of macro 'writel' 533 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:533:2: note: in expansion of macro 'writel' 533 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:534:2: note: in expansion of macro 'writel' 534 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:534:2: note: in expansion of macro 'writel' 534 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:535:2: note: in expansion of macro 'writel' 535 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:535:2: note: in expansion of macro 'writel' 535 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:537:2: note: in expansion of macro 'writel' 537 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:537:2: note: in expansion of macro 'writel' 537 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:538:2: note: in expansion of macro 'writel' 538 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:538:2: note: in expansion of macro 'writel' 538 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:540:2: note: in expansion of macro 'writel' 540 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:540:2: note: in expansion of macro 'writel' 540 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:541:2: note: in expansion of macro 'writel' 541 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:541:2: note: in expansion of macro 'writel' 541 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:542:2: note: in expansion of macro 'writel' 542 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:542:2: note: in expansion of macro 'writel' 542 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:543:2: note: in expansion of macro 'writel' 543 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:543:2: note: in expansion of macro 'writel' 543 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' 546 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' 546 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:553:4: note: in expansion of macro 'readl' 553 | readl(mga_mmio_base + BESCTL)); | ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:553:4: note: in expansion of macro 'readl' 553 | readl(mga_mmio_base + BESCTL)); | ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:555:4: note: in expansion of macro 'readl' 555 | readl(mga_mmio_base + BESGLOBCTL)); | ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:555:4: note: in expansion of macro 'readl' 555 | readl(mga_mmio_base + BESGLOBCTL)); | ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:557:4: note: in expansion of macro 'readl' 557 | readl(mga_mmio_base + BESSTATUS)); | ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:557:4: note: in expansion of macro 'readl' 557 | readl(mga_mmio_base + BESSTATUS)); | ^~~~~ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:566:2: note: in expansion of macro 'writel' 566 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:566:2: note: in expansion of macro 'writel' 566 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:566:2: note: in expansion of macro 'writel' 566 | 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' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:566:11: note: in expansion of macro 'readl' 566 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:566:2: note: in expansion of macro 'writel' 566 | 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' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:566:11: note: in expansion of macro 'readl' 566 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:567:2: note: in expansion of macro 'writel' 567 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:567:2: note: in expansion of macro 'writel' 567 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:567:2: note: in expansion of macro 'writel' 567 | 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' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:567:11: note: in expansion of macro 'readl' 567 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:567:2: note: in expansion of macro 'writel' 567 | 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' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:567:11: note: in expansion of macro 'readl' 567 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:580:2: note: in expansion of macro 'writel' 580 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:580:2: note: in expansion of macro 'writel' 580 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:584:2: note: in expansion of macro 'writel' 584 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:584:2: note: in expansion of macro 'writel' 584 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:585:2: note: in expansion of macro 'writel' 585 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:585:2: note: in expansion of macro 'writel' 585 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:587:2: note: in expansion of macro 'writel' 587 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:587:2: note: in expansion of macro 'writel' 587 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:589:2: note: in expansion of macro 'writel' 589 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:589:2: note: in expansion of macro 'writel' 589 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:591:2: note: in expansion of macro 'writel' 591 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:591:2: note: in expansion of macro 'writel' 591 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' 1485 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' 1485 | 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 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:357:2: note: in expansion of macro 'writel' 357 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:357:2: note: in expansion of macro 'writel' 357 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:360:2: note: in expansion of macro 'writel' 360 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:360:2: note: in expansion of macro 'writel' 360 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' 374 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:374:2: note: in expansion of macro 'writel' 374 | writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:374:11: note: in expansion of macro 'readl' 374 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' 387 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:387:3: note: in expansion of macro 'writeb' 387 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' 388 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:388:3: note: in expansion of macro 'writeb' 388 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' 390 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:390:3: note: in expansion of macro 'writeb' 390 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' 391 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:391:3: note: in expansion of macro 'writeb' 391 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' 392 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:392:3: note: in expansion of macro 'writeb' 392 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' 393 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:393:3: note: in expansion of macro 'writeb' 393 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' 394 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:394:3: note: in expansion of macro 'writeb' 394 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' 395 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:395:3: note: in expansion of macro 'writeb' 395 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' 396 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:396:3: note: in expansion of macro 'writeb' 396 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' 397 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:397:3: note: in expansion of macro 'writeb' 397 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' 399 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:399:3: note: in expansion of macro 'writeb' 399 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' 400 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:400:3: note: in expansion of macro 'writeb' 400 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' 401 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:401:3: note: in expansion of macro 'writeb' 401 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' 402 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:402:3: note: in expansion of macro 'writeb' 402 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' 403 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:403:3: note: in expansion of macro 'writeb' 403 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' 404 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:404:3: note: in expansion of macro 'writeb' 404 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' 405 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:405:3: note: in expansion of macro 'writeb' 405 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' 406 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:406:3: note: in expansion of macro 'writeb' 406 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' 412 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:412:3: note: in expansion of macro 'writeb' 412 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:413:28: note: in expansion of macro 'readb' 413 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:413:28: note: in expansion of macro 'readb' 413 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' 415 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:415:3: note: in expansion of macro 'writeb' 415 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:416:34: note: in expansion of macro 'readb' 416 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:416:34: note: in expansion of macro 'readb' 416 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' 417 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:417:3: note: in expansion of macro 'writeb' 417 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:418:34: note: in expansion of macro 'readb' 418 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:418:34: note: in expansion of macro 'readb' 418 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' 419 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:419:3: note: in expansion of macro 'writeb' 419 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:420:34: note: in expansion of macro 'readb' 420 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:420:34: note: in expansion of macro 'readb' 420 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' 421 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:421:3: note: in expansion of macro 'writeb' 421 | 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] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:422:34: note: in expansion of macro 'readb' 422 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:422:34: note: in expansion of macro 'readb' 422 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' 424 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:424:3: note: in expansion of macro 'writeb' 424 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:425:33: note: in expansion of macro 'readb' 425 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:425:33: note: in expansion of macro 'readb' 425 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' 426 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:426:3: note: in expansion of macro 'writeb' 426 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:427:33: note: in expansion of macro 'readb' 427 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:427:33: note: in expansion of macro 'readb' 427 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' 428 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:428:3: note: in expansion of macro 'writeb' 428 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:429:33: note: in expansion of macro 'readb' 429 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:429:33: note: in expansion of macro 'readb' 429 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' 430 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:430:3: note: in expansion of macro 'writeb' 430 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:431:33: note: in expansion of macro 'readb' 431 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:431:33: note: in expansion of macro 'readb' 431 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' 439 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:439:2: note: in expansion of macro 'writeb' 439 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' 440 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:440:2: note: in expansion of macro 'writeb' 440 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' 445 | writeb( XMULCTRL, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:445:3: note: in expansion of macro 'writeb' 445 | writeb( XMULCTRL, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:446:11: note: in expansion of macro 'readb' 446 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' 75 | #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:446:11: note: in expansion of macro 'readb' 446 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' 475 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:475:3: note: in expansion of macro 'writeb' 475 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' 476 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:476:3: note: in expansion of macro 'writeb' 476 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' 479 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:479:3: note: in expansion of macro 'writeb' 479 | writeb( XCOLMSK, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' 480 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:480:3: note: in expansion of macro 'writeb' 480 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' 481 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:481:3: note: in expansion of macro 'writeb' 481 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' 482 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:482:3: note: in expansion of macro 'writeb' 482 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' 486 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:486:3: note: in expansion of macro 'writeb' 486 | writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' 487 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:487:3: note: in expansion of macro 'writeb' 487 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' 488 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:488:3: note: in expansion of macro 'writeb' 488 | writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' 489 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:489:3: note: in expansion of macro 'writeb' 489 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' 490 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:490:3: note: in expansion of macro 'writeb' 490 | writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' 491 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:491:3: note: in expansion of macro 'writeb' 491 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' 494 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:494:3: note: in expansion of macro 'writeb' 494 | writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' 495 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:495:3: note: in expansion of macro 'writeb' 495 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' 496 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:496:3: note: in expansion of macro 'writeb' 496 | writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' 497 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:497:3: note: in expansion of macro 'writeb' 497 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' 498 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:498:3: note: in expansion of macro 'writeb' 498 | writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' 499 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:499:3: note: in expansion of macro 'writeb' 499 | 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] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' 504 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:504:3: note: in expansion of macro 'writeb' 504 | writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); | ^~~~~~ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' 505 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' 76 | #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:505:3: note: in expansion of macro 'writeb' 505 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:510:2: note: in expansion of macro 'writel' 510 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:510:2: note: in expansion of macro 'writel' 510 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:512:3: note: in expansion of macro 'writel' 512 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:512:3: note: in expansion of macro 'writel' 512 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:513:2: note: in expansion of macro 'writel' 513 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:513:2: note: in expansion of macro 'writel' 513 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:515:2: note: in expansion of macro 'writel' 515 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:515:2: note: in expansion of macro 'writel' 515 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:516:2: note: in expansion of macro 'writel' 516 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:516:2: note: in expansion of macro 'writel' 516 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:517:2: note: in expansion of macro 'writel' 517 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:517:2: note: in expansion of macro 'writel' 517 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:518:2: note: in expansion of macro 'writel' 518 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:518:2: note: in expansion of macro 'writel' 518 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:519:2: note: in expansion of macro 'writel' 519 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:519:2: note: in expansion of macro 'writel' 519 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:520:2: note: in expansion of macro 'writel' 520 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:520:2: note: in expansion of macro 'writel' 520 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:521:2: note: in expansion of macro 'writel' 521 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:521:2: note: in expansion of macro 'writel' 521 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:522:2: note: in expansion of macro 'writel' 522 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:522:2: note: in expansion of macro 'writel' 522 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:525:3: note: in expansion of macro 'writel' 525 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:525:3: note: in expansion of macro 'writel' 525 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:526:3: note: in expansion of macro 'writel' 526 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:526:3: note: in expansion of macro 'writel' 526 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:527:3: note: in expansion of macro 'writel' 527 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:527:3: note: in expansion of macro 'writel' 527 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:528:3: note: in expansion of macro 'writel' 528 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:528:3: note: in expansion of macro 'writel' 528 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:531:2: note: in expansion of macro 'writel' 531 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:531:2: note: in expansion of macro 'writel' 531 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:532:2: note: in expansion of macro 'writel' 532 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:532:2: note: in expansion of macro 'writel' 532 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:533:2: note: in expansion of macro 'writel' 533 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:533:2: note: in expansion of macro 'writel' 533 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:534:2: note: in expansion of macro 'writel' 534 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:534:2: note: in expansion of macro 'writel' 534 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:535:2: note: in expansion of macro 'writel' 535 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:535:2: note: in expansion of macro 'writel' 535 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:537:2: note: in expansion of macro 'writel' 537 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:537:2: note: in expansion of macro 'writel' 537 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:538:2: note: in expansion of macro 'writel' 538 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:538:2: note: in expansion of macro 'writel' 538 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:540:2: note: in expansion of macro 'writel' 540 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:540:2: note: in expansion of macro 'writel' 540 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:541:2: note: in expansion of macro 'writel' 541 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:541:2: note: in expansion of macro 'writel' 541 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:542:2: note: in expansion of macro 'writel' 542 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:542:2: note: in expansion of macro 'writel' 542 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:543:2: note: in expansion of macro 'writel' 543 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:543:2: note: in expansion of macro 'writel' 543 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' 546 | 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] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:546:2: note: in expansion of macro 'writel' 546 | writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), | ^~~~~~ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:546:30: note: in expansion of macro 'readl' 546 | 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] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:553:4: note: in expansion of macro 'readl' 553 | readl(mga_mmio_base + BESCTL)); | ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:553:4: note: in expansion of macro 'readl' 553 | readl(mga_mmio_base + BESCTL)); | ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:555:4: note: in expansion of macro 'readl' 555 | readl(mga_mmio_base + BESGLOBCTL)); | ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:555:4: note: in expansion of macro 'readl' 555 | readl(mga_mmio_base + BESGLOBCTL)); | ^~~~~ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^~~ mga_vid.c:557:4: note: in expansion of macro 'readl' 557 | readl(mga_mmio_base + BESSTATUS)); | ^~~~~ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 72 | #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) | ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' 77 | #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) | ^~~~~~ mga_vid.c:557:4: note: in expansion of macro 'readl' 557 | 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] 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' 1485 | 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] 73 | #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL | ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' 78 | #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) | ^~~~~~ mga_vid.c:1485:5: note: in expansion of macro 'writel' 1485 | 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 -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 -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 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] 286 | compute_scale_factor(&src_w, &drw_w, &shrink, &zoom); | ^~~~~~~ | | | int * pm3_vid.c:203:19: note: expected 'unsigned int *' but argument is of type 'int *' 203 | unsigned int* shrink_delta, unsigned int* zoom_delta) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pm3_vid.c:286:51: warning: pointer targets in passing argument 4 of 'compute_scale_factor' differ in signedness [-Wpointer-sign] 286 | compute_scale_factor(&src_w, &drw_w, &shrink, &zoom); | ^~~~~ | | | int * pm3_vid.c:203:47: note: expected 'unsigned int *' but argument is of type 'int *' 203 | unsigned int* shrink_delta, unsigned int* zoom_delta) | ~~~~~~~~~~~~~~^~~~~~~~~~ In file included from pm3_vid.c:35: pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' 311 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' 311 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' 311 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' 311 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' 311 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' 311 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' 312 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' 312 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' 312 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' 312 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' 312 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' 312 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' 313 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' 313 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' 313 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' 313 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' 313 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' 313 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' 314 | RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' 314 | RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' 314 | RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' 314 | RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' 314 | RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' 314 | RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' 316 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' 316 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' 316 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' 316 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' 316 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' 316 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' 317 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' 317 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' 317 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' 317 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' 317 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' 317 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' 318 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' 318 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' 318 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' 318 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' 318 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' 318 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' 319 | RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' 319 | RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' 319 | RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' 319 | RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' 319 | RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' 319 | RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' 322 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' 322 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' 322 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' 322 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' 322 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' 322 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' 323 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' 323 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' 323 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' 323 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' 323 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' 323 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' 324 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' 324 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' 324 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' 324 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' 324 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' 324 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' 348 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' 348 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' 348 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' 348 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' 348 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' 348 | 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] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' 359 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' 359 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' 359 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' 359 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' 359 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' 359 | RAMDAC_SET_REG(PM3RD_VideoOverlayControl, | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' 364 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' 364 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' 364 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' 364 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' 364 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' 364 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' 365 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' 365 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' 365 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' 365 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' 365 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' 365 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' 366 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' 1097 | SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' 366 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' 366 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' 1098 | SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ | ^~~~~~~~~~~~~~ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' 1103 | RAMDAC_SET_INDEX(index); \ | ^~~~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' 366 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' 1090 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' 366 | RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); | ^~~~~~~~~~~~~~ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] 1084 | unsigned char tmp; \ | ^~~ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' 1092 | RAMDAC_DELAY(5); \ | ^~~~~~~~~~~~ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' 1104 | SLOW_WRITE_REG(PM3RD_IndexedData, data); \ | ^~~~~~~~~~~~~~ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' 366 | 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 -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 -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 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 -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] 804 | uc_ovl_map_hzoom (src_w, drw_w, &zoom, &mini, &falign, &dcount); | ^~~~~~~ | | | uint32_t * {aka unsigned int *} unichrome_vid.c:229:10: note: expected 'int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 229 | int *falign, int *dcount) | ~~~~~^~~~~~ unichrome_vid.c:804:58: warning: pointer targets in passing argument 6 of 'uc_ovl_map_hzoom' differ in signedness [-Wpointer-sign] 804 | uc_ovl_map_hzoom (src_w, drw_w, &zoom, &mini, &falign, &dcount); | ^~~~~~~ | | | uint32_t * {aka unsigned int *} unichrome_vid.c:229:23: note: expected 'int *' but argument is of type 'uint32_t *' {aka 'unsigned int *'} 229 | int *falign, int *dcount) | ~~~~~^~~~~~ unichrome_vid.c:777:30: warning: unused variable 'v_start' [-Wunused-variable] 777 | uint32_t y_start, u_start, v_start; | ^~~~~~~ unichrome_vid.c:777:21: warning: unused variable 'u_start' [-Wunused-variable] 777 | uint32_t y_start, u_start, v_start; | ^~~~~~~ unichrome_vid.c:777:12: warning: unused variable 'y_start' [-Wunused-variable] 777 | uint32_t y_start, u_start, v_start; | ^~~~~~~ unichrome_vid.c:841:35: warning: 'uv_size' may be used uninitialized in this function [-Wmaybe-uninitialized] 841 | info->offset.u = info->offset.v + uv_size; | ~~~~~~~~~~~~~~~^~~~~~~~~ unichrome_vid.c:893:46: warning: 'pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] 893 | VIDEO_OUT (vio, V1_STRIDE, pitch | ((pitch >> 1) << 16)); | ^~ 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] 450 | 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] 1772 | 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 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 -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 -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' 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] 37 | int temp; | ^~~~ sis_bridge.c: In function 'sis_sense_30x': sis_bridge.c:73:20: warning: unused variable 'temp' [-Wunused-variable] 73 | unsigned short temp; | ^~~~ sis_bridge.c:72:35: warning: variable 'haveresult' set but not used [-Wunused-but-set-variable] 72 | 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] 399 | unsigned char CR32, CR36, CR37; | ^~~~ sis_bridge.c:399:25: warning: unused variable 'CR36' [-Wunused-variable] 399 | unsigned char CR32, CR36, CR37; | ^~~~ At top level: sis_bridge.c:397:13: warning: 'sis_detect_lcd' defined but not used [-Wunused-function] 397 | 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 -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] 1772 | unsigned pitch,awidth,dbpp; | ^~~~ radeon_vid.c: In function 'vixPlaybackSetEq': radeon_vid.c:1936:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1936 | 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' 1936 | if(br < -64) br = -64; if(br > 63) br = 63; | ^~ radeon_vid.c:1938:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1938 | 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' 1938 | 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 -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] 550 | #warning enable this again | ^~~~~~~ savage_vid.c:578:2: warning: #warning is this needed? [-Wcpp] 578 | #warning is this needed? | ^~~~~~~ savage_vid.c: In function 'savage_getscreenproperties': savage_vid.c:672:12: warning: unused variable 'width' [-Wunused-variable] 672 | uint32_t width=0; | ^~~~~ savage_vid.c: In function 'vixInit': savage_vid.c:987:34: warning: "/*" within comment [-Wcomment] 987 | 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] 1006 | info->picture_base = (uint32_t) info->video_base + info->picture_offset; | ^ savage_vid.c:863:17: warning: unused variable 'videoRambytes' [-Wunused-variable] 863 | int videoRam, videoRambytes; | ^~~~~~~~~~~~~ savage_vid.c:856:51: warning: unused variable 'cr66' [-Wunused-variable] 856 | unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; | ^~~~ savage_vid.c:856:45: warning: unused variable 'cr3f' [-Wunused-variable] 856 | unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; | ^~~~ savage_vid.c:856:40: warning: unused variable 'sr8' [-Wunused-variable] 856 | unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; | ^~~ savage_vid.c:856:36: warning: unused variable 'n2' [-Wunused-variable] 856 | unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; | ^~ savage_vid.c:856:32: warning: unused variable 'n1' [-Wunused-variable] 856 | unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; | ^~ savage_vid.c:856:29: warning: unused variable 'n' [-Wunused-variable] 856 | unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; | ^ savage_vid.c:856:26: warning: unused variable 'm' [-Wunused-variable] 856 | 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] 1218 | uint32_t v_ctrl, fifo_ctrl; | ^~~~~~~~~ savage_vid.c:1218:12: warning: unused variable 'v_ctrl' [-Wunused-variable] 1218 | uint32_t v_ctrl, fifo_ctrl; | ^~~~~~ savage_vid.c:1217:30: warning: unused variable 'v_start' [-Wunused-variable] 1217 | uint32_t y_start, u_start, v_start; | ^~~~~~~ savage_vid.c:1217:21: warning: unused variable 'u_start' [-Wunused-variable] 1217 | uint32_t y_start, u_start, v_start; | ^~~~~~~ savage_vid.c:1217:12: warning: unused variable 'y_start' [-Wunused-variable] 1217 | uint32_t y_start, u_start, v_start; | ^~~~~~~ savage_vid.c:1216:28: warning: unused variable 'qwfetch' [-Wunused-variable] 1216 | uint32_t dcount, falign, qwfetch; | ^~~~~~~ savage_vid.c:1216:20: warning: unused variable 'falign' [-Wunused-variable] 1216 | uint32_t dcount, falign, qwfetch; | ^~~~~~ savage_vid.c:1216:12: warning: unused variable 'dcount' [-Wunused-variable] 1216 | uint32_t dcount, falign, qwfetch; | ^~~~~~ savage_vid.c:1215:18: warning: unused variable 'mini' [-Wunused-variable] 1215 | uint32_t zoom, mini; | ^~~~ savage_vid.c:1215:12: warning: unused variable 'zoom' [-Wunused-variable] 1215 | uint32_t zoom, mini; | ^~~~ savage_vid.c:1214:23: warning: unused variable 'win_end' [-Wunused-variable] 1214 | uint32_t win_start, win_end; | ^~~~~~~ savage_vid.c:1214:12: warning: unused variable 'win_start' [-Wunused-variable] 1214 | uint32_t win_start, win_end; | ^~~~~~~~~ savage_vid.c:1211:16: warning: unused variable 'srcPitch2' [-Wunused-variable] 1211 | int srcPitch,srcPitch2; | ^~~~~~~~~ savage_vid.c:1211:7: warning: unused variable 'srcPitch' [-Wunused-variable] 1211 | int srcPitch,srcPitch2; | ^~~~~~~~ savage_vid.c:1210:7: warning: unused variable 'extfifo_on' [-Wunused-variable] 1210 | int extfifo_on; | ^~~~~~~~~~ savage_vid.c:1208:16: warning: variable 'swap_uv' set but not used [-Wunused-but-set-variable] 1208 | int uv_size, swap_uv; | ^~~~~~~ At top level: savage_vid.c:1195:26: warning: 'VOffs' defined but not used [-Wunused-variable] 1195 | static int YOffs, UOffs, VOffs; | ^~~~~ savage_vid.c:1195:19: warning: 'UOffs' defined but not used [-Wunused-variable] 1195 | static int YOffs, UOffs, VOffs; | ^~~~~ savage_vid.c:1195:12: warning: 'YOffs' defined but not used [-Wunused-variable] 1195 | static int YOffs, UOffs, VOffs; | ^~~~~ savage_vid.c:137:12: warning: 'frames' defined but not used [-Wunused-variable] 137 | static int frames[VID_PLAY_MAXFRAMES]; | ^~~~~~ savage_vid.c:135:22: warning: 'savage_grkey' defined but not used [-Wunused-variable] 135 | 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 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 -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 -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] 368 | ((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 -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' rm mach64_vid.o pm3_vid.o + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.58742 + 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: (from :0) 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.39470 + 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.XA0I4a 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.rBSxXa 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.dSubGd 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.QLy3ee 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.U5Fwqa 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.a5doQa 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.NjMbPd 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.MWHZae 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.UPzLNd 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.RPTmNd find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.2davze 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.Lxx4sb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cFiFfe 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) 8.84user 2.78system 0:20.91elapsed 55%CPU (0avgtext+0avgdata 40704maxresident)k 0inputs+0outputs (0major+1141304minor)pagefaults 0swaps /.out/libvidix-1.0.0-alt0.2.1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/libvidix-devel-1.0.0-alt0.2.1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/vidix-drivers-1.0.0-alt0.2.1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/libvidix-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL /.out/vidix-drivers-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm: The use of such a license name is ambiguous: GPL 12.41user 5.22system 0:27.58elapsed 63%CPU (0avgtext+0avgdata 109608maxresident)k 344inputs+0outputs (0major+1504259minor)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 2021-02-03 04:20:29.502763308 +0000 @@ -5,4 +5,3 @@ /usr/share/doc/libvidix-1.0.0/README 100644 -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) error: open of /archive/repo/sisyphus/task/_259/265707/files/x86_64/RPMS/libvidix-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm failed: No such file or directory --- 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 2021-02-03 04:20:29.553763437 +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 --- 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 2021-02-03 04:20:29.578763500 +0000 @@ -18,2 +18,3 @@ /usr/src/debug/vidix-svn-r21861/drivers/nvidia_vid.c 100644 +/usr/src/debug/vidix-svn-r21861/drivers/pm3_regs.h 100644 /usr/src/debug/vidix-svn-r21861/drivers/pm3_vid.c 100644