<86>Apr 21 01:04:54 userdel[14123]: delete user 'rooter' <86>Apr 21 01:04:54 groupadd[14281]: group added to /etc/group: name=rooter, GID=687 <86>Apr 21 01:04:54 groupadd[14281]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:04:54 groupadd[14281]: new group: name=rooter, GID=687 <86>Apr 21 01:04:54 useradd[14399]: new user: name=rooter, UID=687, GID=687, home=/root, shell=/bin/bash <86>Apr 21 01:04:54 userdel[14593]: delete user 'builder' <86>Apr 21 01:04:54 userdel[14593]: removed group 'builder' owned by 'builder' <86>Apr 21 01:04:54 userdel[14593]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:04:54 groupadd[14915]: group added to /etc/group: name=builder, GID=688 <86>Apr 21 01:04:54 groupadd[14915]: group added to /etc/gshadow: name=builder <86>Apr 21 01:04:54 groupadd[14915]: new group: name=builder, GID=688 <86>Apr 21 01:04:54 useradd[15026]: new user: name=builder, UID=688, GID=688, home=/usr/src, shell=/bin/bash <13>Apr 21 01:04:57 rpmi: libdha-1.0-alt1.qa1 1365953062 installed <13>Apr 21 01:04:57 rpmi: libdha-devel-1.0-alt1.qa1 1365953062 installed 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.10355 + 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.10355 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd vidix-svn-r21861 + CFLAGS='-pipe -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 + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/vidix-svn-r21861' gcc -c -pipe -Wall -g -O2 -fPIC -DPIC -o vidixlib.o vidixlib.c make -C drivers make[1]: Entering directory `/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o cyberblade_vid.o cyberblade_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o radeon_vid.o radeon_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -DRAGE128 -o rage128_vid.o radeon_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o mach64_vid.o mach64_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o nvidia_vid.o nvidia_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o mga_vid.o mga_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -DCRTC2 -o mga_crtc2_vid.o mga_vid.c mach64_vid.c: In function 'mach64_vid_display_video': mach64_vid.c:633:14: warning: variable 'vf' set but not used [-Wunused-but-set-variable] uint32_t vf; ^ mach64_vid.c: In function 'mach64_vid_init_video': mach64_vid.c:709:63: warning: variable 'leftUV' set but not used [-Wunused-but-set-variable] uint32_t src_w,src_h,dest_w,dest_h,pitch,h_inc,v_inc,left,leftUV,top,ecp,y_pos; ^ mga_vid.c: In function 'crtc2_frame_sel': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:340:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:340:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:341:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:341:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:342:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:342:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^ mga_vid.c: In function 'vixPlaybackFrameSelect': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^ mga_vid.c: In function 'mga_vid_write_regs': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^ cyberblade_vid.c: In function 'DumpRegisters': mga_vid.c: In function 'vixPlaybackFrameSelect': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:357:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL ); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:360:2: note: in expansion of macro 'writel' writel( regs.besglobctl + (MGA_VSYNC_POS<<16), ^ mga_vid.c: In function 'mga_vid_write_regs': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ cyberblade_vid.c:99:17: warning: unused variable 'val' [-Wunused-variable] int reg,val; ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^ cyberblade_vid.c:99:13: warning: unused variable 'reg' [-Wunused-variable] int reg,val; ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:374:2: note: in expansion of macro 'writel' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:374:11: note: in expansion of macro 'readl' writel( (readl(mga_mmio_base + VCOUNT)-1)<<16, ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:387:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:388:3: note: in expansion of macro 'writeb' writeb( colkey_on, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:390:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:391:3: note: in expansion of macro 'writeb' writeb( colkey_color[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:392:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:393:3: note: in expansion of macro 'writeb' writeb( colkey_color[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:394:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:395:3: note: in expansion of macro 'writeb' writeb( colkey_color[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:396:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:397:3: note: in expansion of macro 'writeb' writeb( colkey_color[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:399:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:400:3: note: in expansion of macro 'writeb' writeb( colkey_mask[0], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:401:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:402:3: note: in expansion of macro 'writeb' writeb( colkey_mask[1], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:403:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:404:3: note: in expansion of macro 'writeb' writeb( colkey_mask[2], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:405:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:406:3: note: in expansion of macro 'writeb' writeb( colkey_mask[3], mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:412:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:413:28: note: in expansion of macro 'readb' colkey_on=(unsigned char)readb(mga_mmio_base + X_DATAREG) & 1; ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:415:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:416:34: note: in expansion of macro 'readb' colkey_color[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:417:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:418:34: note: in expansion of macro 'readb' colkey_color[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:419:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:420:34: note: in expansion of macro 'readb' colkey_color[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:421:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:422:34: note: in expansion of macro 'readb' colkey_color[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:424:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:425:33: note: in expansion of macro 'readb' colkey_mask[0]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:426:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:427:33: note: in expansion of macro 'readb' colkey_mask[1]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:428:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:429:33: note: in expansion of macro 'readb' colkey_mask[2]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:430:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:431:33: note: in expansion of macro 'readb' colkey_mask[3]=(unsigned char)readb(mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:439:2: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:440:2: note: in expansion of macro 'writeb' writeb( mga_grkey.ckey.op == CKEY_TRUE, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:445:3: note: in expansion of macro 'writeb' writeb( XMULCTRL, mga_mmio_base + PALWTADD); ^ mga_vid.c:75:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:75:22: note: in expansion of macro 'GETREG' #define readb(addr) GETREG(uint8_t,(uint32_t)(addr),0) ^ mga_vid.c:446:11: note: in expansion of macro 'readb' switch (readb (mga_mmio_base + X_DATAREG)) ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:475:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:476:3: note: in expansion of macro 'writeb' writeb( 1, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:479:3: note: in expansion of macro 'writeb' writeb( XCOLMSK, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:480:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:481:3: note: in expansion of macro 'writeb' writeb( X_COLKEY, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:482:3: note: in expansion of macro 'writeb' writeb( 0x00, mga_mmio_base + X_DATAREG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ radeon_vid.c: In function 'radeon_engine_restore': radeon_vid.c:450:19: warning: variable 'yres' set but not used [-Wunused-but-set-variable] uint32_t xres,yres,bpp; ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:566:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:566:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:566:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2CTL) & ~0x03e00000) + (cregs.c2ctl & 0x03e00000)), mga_mmio_base + C2CTL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:567:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:567:2: note: in expansion of macro 'writel' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:567:11: note: in expansion of macro 'readl' writel(((readl(mga_mmio_base + C2DATACTL) & ~0x000000ff) + (cregs.c2datactl & 0x000000ff)), mga_mmio_base + C2DATACTL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:580:2: note: in expansion of macro 'writel' writel(cregs.c2misc, mga_mmio_base + C2MISC); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:580:2: note: in expansion of macro 'writel' writel(cregs.c2misc, mga_mmio_base + C2MISC); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:584:2: note: in expansion of macro 'writel' writel(cregs.c2offset, mga_mmio_base + C2OFFSET); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:584:2: note: in expansion of macro 'writel' writel(cregs.c2offset, mga_mmio_base + C2OFFSET); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:585:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:585:2: note: in expansion of macro 'writel' writel(cregs.c2startadd0, mga_mmio_base + C2STARTADD0); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:587:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^ cyberblade_vid.c: In function 'vixConfigPlayback': cyberblade_vid.c:386:14: warning: unused variable 'zoom' [-Wunused-variable] int shrink, zoom; ^ cyberblade_vid.c:386:6: warning: unused variable 'shrink' [-Wunused-variable] int shrink, zoom; ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:486:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:487:3: note: in expansion of macro 'writeb' writeb( r, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:488:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:489:3: note: in expansion of macro 'writeb' writeb( g, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:490:3: note: in expansion of macro 'writeb' writeb( XCOLKEY0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:491:3: note: in expansion of macro 'writeb' writeb( b, mga_mmio_base + X_DATAREG); ^ cyberblade_vid.c: At top level: cyberblade_vid.c:69:12: warning: 'CRINW' defined but not used [-Wunused-function] static int CRINW(int reg) ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ cyberblade_vid.c:83:12: warning: 'SRINW' defined but not used [-Wunused-function] static int SRINW(int reg) ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:494:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0RED, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:495:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:496:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0GREEN, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:497:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:498:3: note: in expansion of macro 'writeb' writeb( XCOLMSK0BLUE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:499:3: note: in expansion of macro 'writeb' writeb( 0xff, mga_mmio_base + X_DATAREG); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:504:3: note: in expansion of macro 'writeb' writeb( XKEYOPMODE, mga_mmio_base + PALWTADD); ^ mga_vid.c:76:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:76:26: note: in expansion of macro 'SETREG' #define writeb(val,addr) SETREG(uint8_t,(uint32_t)(addr),0,val) ^ mga_vid.c:505:3: note: in expansion of macro 'writeb' writeb( 0, mga_mmio_base + X_DATAREG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:510:2: note: in expansion of macro 'writel' writel( regs.besctl, mga_mmio_base + BESCTL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:512:3: note: in expansion of macro 'writel' writel( regs.beslumactl, mga_mmio_base + BESLUMACTL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:513:2: note: in expansion of macro 'writel' writel( regs.bespitch, mga_mmio_base + BESPITCH); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:587:2: note: in expansion of macro 'writel' writel(cregs.c2pl2startadd0, mga_mmio_base + C2PL2STARTADD0); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:589:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:589:2: note: in expansion of macro 'writel' writel(cregs.c2pl3startadd0, mga_mmio_base + C2PL3STARTADD0); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:591:2: note: in expansion of macro 'writel' writel(cregs.c2spicstartadd0, mga_mmio_base + C2SPICSTARTADD0); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:591:2: note: in expansion of macro 'writel' writel(cregs.c2spicstartadd0, mga_mmio_base + C2SPICSTARTADD0); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:515:2: note: in expansion of macro 'writel' writel( regs.besa1org, mga_mmio_base + BESA1ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:516:2: note: in expansion of macro 'writel' writel( regs.besa1corg, mga_mmio_base + BESA1CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:517:2: note: in expansion of macro 'writel' writel( regs.besa2org, mga_mmio_base + BESA2ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:518:2: note: in expansion of macro 'writel' writel( regs.besa2corg, mga_mmio_base + BESA2CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:519:2: note: in expansion of macro 'writel' writel( regs.besb1org, mga_mmio_base + BESB1ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:520:2: note: in expansion of macro 'writel' writel( regs.besb1corg, mga_mmio_base + BESB1CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:521:2: note: in expansion of macro 'writel' writel( regs.besb2org, mga_mmio_base + BESB2ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:522:2: note: in expansion of macro 'writel' writel( regs.besb2corg, mga_mmio_base + BESB2CORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:525:3: note: in expansion of macro 'writel' writel( regs.besa1c3org, mga_mmio_base + BESA1C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:526:3: note: in expansion of macro 'writel' writel( regs.besa2c3org, mga_mmio_base + BESA2C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:527:3: note: in expansion of macro 'writel' writel( regs.besb1c3org, mga_mmio_base + BESB1C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:528:3: note: in expansion of macro 'writel' writel( regs.besb2c3org, mga_mmio_base + BESB2C3ORG); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:531:2: note: in expansion of macro 'writel' writel( regs.beshcoord, mga_mmio_base + BESHCOORD); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:532:2: note: in expansion of macro 'writel' writel( regs.beshiscal, mga_mmio_base + BESHISCAL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:533:2: note: in expansion of macro 'writel' writel( regs.beshsrcst, mga_mmio_base + BESHSRCST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:534:2: note: in expansion of macro 'writel' writel( regs.beshsrcend, mga_mmio_base + BESHSRCEND); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:535:2: note: in expansion of macro 'writel' writel( regs.beshsrclst, mga_mmio_base + BESHSRCLST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:537:2: note: in expansion of macro 'writel' writel( regs.besvcoord, mga_mmio_base + BESVCOORD); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:538:2: note: in expansion of macro 'writel' writel( regs.besviscal, mga_mmio_base + BESVISCAL); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:540:2: note: in expansion of macro 'writel' writel( regs.besv1srclst, mga_mmio_base + BESV1SRCLST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:541:2: note: in expansion of macro 'writel' writel( regs.besv1wght, mga_mmio_base + BESV1WGHT); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:542:2: note: in expansion of macro 'writel' writel( regs.besv2srclst, mga_mmio_base + BESV2SRCLST); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:543:2: note: in expansion of macro 'writel' writel( regs.besv2wght, mga_mmio_base + BESV2WGHT); ^ mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:73:71: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:546:2: note: in expansion of macro 'writel' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:546:30: note: in expansion of macro 'readl' writel( regs.besglobctl + ((readl(mga_mmio_base + VCOUNT)+2)<<16), ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:553:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESCTL)); ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:555:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESGLOBCTL)); ^ mga_vid.c:77:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:72:53: note: in definition of macro 'GETREG' #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^ mga_vid.c:72:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define GETREG(TYPE,PTR,OFFZ) (*((volatile TYPE*)((PTR)+(OFFZ)))) ^ mga_vid.c:77:22: note: in expansion of macro 'GETREG' #define readl(addr) GETREG(uint32_t,(uint32_t)(addr),0) ^ mga_vid.c:557:4: note: in expansion of macro 'readl' readl(mga_mmio_base + BESSTATUS)); ^ mga_vid.c: In function 'vixPlaybackSetEq': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^ mga_vid.c: In function 'vixPlaybackSetEq': mga_vid.c:78:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:73:56: note: in definition of macro 'SETREG' #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^ mga_vid.c:73:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define SETREG(TYPE,PTR,OFFZ,VAL) (*((volatile TYPE*)((PTR)+(OFFZ))))=VAL ^ mga_vid.c:78:26: note: in expansion of macro 'SETREG' #define writel(val,addr) SETREG(uint32_t,(uint32_t)(addr),0,val) ^ mga_vid.c:1485:5: note: in expansion of macro 'writel' writel(regs.beslumactl,mga_mmio_base + BESLUMACTL); ^ radeon_vid.c: In function 'radeon_compute_framesize': radeon_vid.c:1772:25: warning: variable 'dbpp' set but not used [-Wunused-but-set-variable] unsigned pitch,awidth,dbpp; ^ radeon_vid.c: In function 'radeon_compute_framesize': radeon_vid.c:1772:25: warning: variable 'dbpp' set but not used [-Wunused-but-set-variable] unsigned pitch,awidth,dbpp; ^ 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 gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o pm3_vid.o pm3_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o sis_vid.o sis_vid.c gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o sis_bridge.o sis_bridge.c pm3_vid.c: In function 'vixConfigPlayback': pm3_vid.c:286:42: warning: pointer targets in passing argument 3 of 'compute_scale_factor' differ in signedness [-Wpointer-sign] compute_scale_factor(&src_w, &drw_w, &shrink, &zoom); ^ pm3_vid.c:201:1: note: expected 'unsigned int *' but argument is of type 'int *' compute_scale_factor( ^ pm3_vid.c:286:51: warning: pointer targets in passing argument 4 of 'compute_scale_factor' differ in signedness [-Wpointer-sign] compute_scale_factor(&src_w, &drw_w, &shrink, &zoom); ^ pm3_vid.c:201:1: note: expected 'unsigned int *' but argument is of type 'int *' compute_scale_factor( ^ In file included from pm3_vid.c:35:0: pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:311:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartLow, (info->dest.x & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:312:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXStartHigh, (info->dest.x & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:313:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndLow, (info->dest.x+drw_w) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:314:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayXEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:316:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartLow, (info->dest.y & 0xff)); ^ cyberblade_vid.c: In function 'vixConfigPlayback': pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:317:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYStartHigh, (info->dest.y & 0xf00)>>8); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:318:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndLow, (info->dest.y+drw_h) & 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:319:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayYEndHigh, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^ cyberblade_vid.c:574:3: warning: 'uv_pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] SROUTW(0x9A,uv_pitch); /* UV Bytes per row */ ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:322:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0xff); ^ cyberblade_vid.c:558:20: warning: 'y_pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] int lb = (y_pitch+2) >> 2; ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:323:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x00); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:324:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xff); ^ pm3_vid.c: In function 'vixPlaybackOn': pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:348:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_vid.c: In function 'vixPlaybackOff': pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:359:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayControl, ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:364:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyR, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:365:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyG, 0x01); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1097:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexHigh,((index)>>8)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1098:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG (PM3RD_IndexLow,(index)&0xff); \ ^ pm3_regs.h:1103:5: note: in expansion of macro 'RAMDAC_SET_INDEX' RAMDAC_SET_INDEX(index); \ ^ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1090:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^ pm3_regs.h:1084:16: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] unsigned char tmp; \ ^ pm3_regs.h:1092:2: note: in expansion of macro 'RAMDAC_DELAY' RAMDAC_DELAY(5); \ ^ pm3_regs.h:1104:5: note: in expansion of macro 'SLOW_WRITE_REG' SLOW_WRITE_REG(PM3RD_IndexedData, data); \ ^ pm3_vid.c:366:5: note: in expansion of macro 'RAMDAC_SET_REG' RAMDAC_SET_REG(PM3RD_VideoOverlayKeyB, 0xfe); ^ gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o unichrome_vid.o unichrome_vid.c sis_bridge.c: In function 'sis_ddc2_delay': sis_bridge.c:37:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable] int temp; ^ sis_bridge.c: In function 'sis_sense_30x': sis_bridge.c:73:20: warning: unused variable 'temp' [-Wunused-variable] unsigned short temp; ^ sis_bridge.c:72:35: warning: variable 'haveresult' set but not used [-Wunused-but-set-variable] int myflag, result = 0, i, j, haveresult; ^ sis_bridge.c: In function 'sis_detect_lcd': sis_bridge.c:399:31: warning: unused variable 'CR37' [-Wunused-variable] unsigned char CR32, CR36, CR37; ^ sis_bridge.c:399:25: warning: unused variable 'CR36' [-Wunused-variable] unsigned char CR32, CR36, CR37; ^ sis_bridge.c: At top level: sis_bridge.c:397:13: warning: 'sis_detect_lcd' defined but not used [-Wunused-function] static void sis_detect_lcd(void) ^ unichrome_vid.c: In function 'vixConfigPlayback': unichrome_vid.c:804:49: warning: pointer targets in passing argument 5 of 'uc_ovl_map_hzoom' differ in signedness [-Wpointer-sign] uc_ovl_map_hzoom (src_w, drw_w, &zoom, &mini, &falign, &dcount); ^ unichrome_vid.c:228:1: note: expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}' uc_ovl_map_hzoom (int sw, int dw, uint32_t * zoom, uint32_t * mini, ^ unichrome_vid.c:804:58: warning: pointer targets in passing argument 6 of 'uc_ovl_map_hzoom' differ in signedness [-Wpointer-sign] uc_ovl_map_hzoom (src_w, drw_w, &zoom, &mini, &falign, &dcount); ^ unichrome_vid.c:228:1: note: expected 'int *' but argument is of type 'uint32_t * {aka unsigned int *}' uc_ovl_map_hzoom (int sw, int dw, uint32_t * zoom, uint32_t * mini, ^ unichrome_vid.c:777:30: warning: unused variable 'v_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^ unichrome_vid.c:777:21: warning: unused variable 'u_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^ unichrome_vid.c:777:12: warning: unused variable 'y_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^ sis_vid.c: In function 'vixInit': sis_vid.c:348:13: warning: 'sr_data' may be used uninitialized in this function [-Wmaybe-uninitialized] uint8_t sr_data, cr_data, cr_data2; ^ gcc -c -fPIC -I. -I.. -pipe -Wall -g -O2 -fPIC -DPIC -o savage_vid.o savage_vid.c gcc -shared cyberblade_vid.o -L../../libdha -ldha -lm -Wl,-soname,cyberblade_vid.so -o cyberblade_vid.so gcc -shared nvidia_vid.o -L../../libdha -ldha -lm -Wl,-soname,nvidia_vid.so -o nvidia_vid.so unichrome_vid.c:769:7: warning: 'uv_size' may be used uninitialized in this function [-Wmaybe-uninitialized] int uv_size, swap_uv; ^ unichrome_vid.c:768:15: warning: 'pitch' may be used uninitialized in this function [-Wmaybe-uninitialized] long base0, pitch; ^ gcc -shared mga_vid.o -L../../libdha -ldha -lm -Wl,-soname,mga_vid.so -o mga_vid.so savage_vid.c: In function 'SavageInitStreamsOld': savage_vid.c:550:2: warning: #warning enable this again [-Wcpp] #warning enable this again ^ savage_vid.c:578:2: warning: #warning is this needed? [-Wcpp] #warning is this needed? ^ savage_vid.c: In function 'savage_getscreenproperties': savage_vid.c:672:12: warning: unused variable 'width' [-Wunused-variable] uint32_t width=0; ^ savage_vid.c: In function 'vixInit': savage_vid.c:987:34: warning: "/*" within comment [-Wcomment] VGAOUT8 (0x3d5, cr66 & ~0x02); /* clear reset flag */ ^ savage_vid.c:1006:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] info->picture_base = (uint32_t) info->video_base + info->picture_offset; ^ savage_vid.c:863:17: warning: unused variable 'videoRambytes' [-Wunused-variable] int videoRam, videoRambytes; ^ savage_vid.c:856:51: warning: unused variable 'cr66' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:45: warning: unused variable 'cr3f' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:40: warning: unused variable 'sr8' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:36: warning: unused variable 'n2' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:32: warning: unused variable 'n1' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:29: warning: unused variable 'n' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c:856:26: warning: unused variable 'm' [-Wunused-variable] unsigned char config1, m, n, n1, n2, sr8, cr3f, cr66 = 0, tmp; ^ savage_vid.c: In function 'vixConfigPlayback': savage_vid.c:1218:20: warning: unused variable 'fifo_ctrl' [-Wunused-variable] uint32_t v_ctrl, fifo_ctrl; ^ savage_vid.c:1218:12: warning: unused variable 'v_ctrl' [-Wunused-variable] uint32_t v_ctrl, fifo_ctrl; ^ savage_vid.c:1217:30: warning: unused variable 'v_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^ savage_vid.c:1217:21: warning: unused variable 'u_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^ savage_vid.c:1217:12: warning: unused variable 'y_start' [-Wunused-variable] uint32_t y_start, u_start, v_start; ^ savage_vid.c:1216:28: warning: unused variable 'qwfetch' [-Wunused-variable] uint32_t dcount, falign, qwfetch; ^ savage_vid.c:1216:20: warning: unused variable 'falign' [-Wunused-variable] uint32_t dcount, falign, qwfetch; ^ savage_vid.c:1216:12: warning: unused variable 'dcount' [-Wunused-variable] uint32_t dcount, falign, qwfetch; ^ savage_vid.c:1215:18: warning: unused variable 'mini' [-Wunused-variable] uint32_t zoom, mini; ^ savage_vid.c:1215:12: warning: unused variable 'zoom' [-Wunused-variable] uint32_t zoom, mini; ^ savage_vid.c:1214:23: warning: unused variable 'win_end' [-Wunused-variable] uint32_t win_start, win_end; ^ savage_vid.c:1214:12: warning: unused variable 'win_start' [-Wunused-variable] uint32_t win_start, win_end; ^ savage_vid.c:1211:16: warning: unused variable 'srcPitch2' [-Wunused-variable] int srcPitch,srcPitch2; ^ savage_vid.c:1211:7: warning: unused variable 'srcPitch' [-Wunused-variable] int srcPitch,srcPitch2; ^ savage_vid.c:1210:7: warning: unused variable 'extfifo_on' [-Wunused-variable] int extfifo_on; ^ savage_vid.c:1208:16: warning: variable 'swap_uv' set but not used [-Wunused-but-set-variable] int uv_size, swap_uv; ^ savage_vid.c: At top level: savage_vid.c:135:22: warning: 'savage_grkey' defined but not used [-Wunused-variable] static vidix_grkey_t savage_grkey; ^ savage_vid.c:137:12: warning: 'frames' defined but not used [-Wunused-variable] static int frames[VID_PLAY_MAXFRAMES]; ^ savage_vid.c:1195:12: warning: 'YOffs' defined but not used [-Wunused-variable] static int YOffs, UOffs, VOffs; ^ savage_vid.c:1195:19: warning: 'UOffs' defined but not used [-Wunused-variable] static int YOffs, UOffs, VOffs; ^ savage_vid.c:1195:26: warning: 'VOffs' defined but not used [-Wunused-variable] static int YOffs, UOffs, VOffs; ^ gcc -shared mga_crtc2_vid.o -L../../libdha -ldha -lm -Wl,-soname,mga_crtc2_vid.so -o mga_crtc2_vid.so gcc -shared pm3_vid.o -L../../libdha -ldha -Wl,-soname,pm3_vid.so -o pm3_vid.so gcc -shared rage128_vid.o -L../../libdha -ldha -lm -Wl,-soname,rage128_vid.so -o rage128_vid.so gcc -shared unichrome_vid.o -L../../libdha -ldha -lm -Wl,-soname,unichrome_vid.so -o unichrome_vid.so gcc -shared sis_vid.o sis_bridge.o -L../../libdha -ldha -Wl,-soname,sis_vid.so -o sis_vid.so gcc -shared mach64_vid.o -L../../libdha -ldha -Wl,-soname,mach64_vid.so -o mach64_vid.so gcc -shared radeon_vid.o -L../../libdha -ldha -lm -Wl,-soname,radeon_vid.so -o radeon_vid.so gcc -shared savage_vid.o -L../../libdha -ldha -lm -Wl,-soname,savage_vid.so -o savage_vid.so rm pm3_vid.o mach64_vid.o make[1]: Leaving directory `/usr/src/RPM/BUILD/vidix-svn-r21861/drivers' make: Leaving directory `/usr/src/RPM/BUILD/vidix-svn-r21861' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.15890 + 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 + cd vidix-svn-r21861 + make 'INSTALL=/bin/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 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) Compressing files in /usr/src/tmp/vidix-buildroot (auto) Adjusting library links in /usr/src/tmp/vidix-buildroot ./usr/lib64: libvidix.so.1.0.0 -> libvidix.so.1.0.0 Verifying ELF objects in /usr/src/tmp/vidix-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: libvidix-1.0.0-alt0.2.1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.49422 + 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.fmY2qZ find-provides: running scripts (alternatives,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.iqR7CU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Provides: libvidix.so.1.0.0()(64bit) = set:idzHx9OqTl4vsLQWbvVcqztQUSax91iAkuThsHvW Requires: libc.so.6()(64bit) >= set:pnCE0ZdiC7, 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) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zbb3pV 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.kUJlaZ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.zwh9R5 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) 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.amIwIf 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.t6UjAs find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WjC9mI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.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.jsYhh6 Creating vidix-drivers-debuginfo package 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.MNzi4w find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BaAVJ0 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 Wrote: /usr/src/RPM/RPMS/x86_64/libvidix-devel-1.0.0-alt0.2.1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/vidix-drivers-1.0.0-alt0.2.1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/vidix-drivers-debuginfo-1.0.0-alt0.2.1.qa1.x86_64.rpm 6.86user 1.55system 0:21.12elapsed 39%CPU (0avgtext+0avgdata 35672maxresident)k 0inputs+0outputs (0major+830819minor)pagefaults 0swaps 10.31user 3.69system 0:28.78elapsed 48%CPU (0avgtext+0avgdata 122004maxresident)k 344inputs+0outputs (0major+1079233minor)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 2019-04-21 01:05:21.018905615 +0000 @@ -11,2 +11,3 @@ Requires: libdl.so.2(GLIBC_2.2.5)(64bit) +Requires: rtld(GNU_HASH) Requires: rpmlib(PayloadIsLzma)