From owner-p4-projects Sun Dec 15 12:37:54 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 2B84737B404; Sun, 15 Dec 2002 12:37:51 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6C2E37B401 for ; Sun, 15 Dec 2002 12:37:50 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5116A43E4A for ; Sun, 15 Dec 2002 12:37:50 -0800 (PST) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id gBFKbomV058712 for ; Sun, 15 Dec 2002 12:37:50 -0800 (PST) (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gBFKbnEu058709 for perforce@freebsd.org; Sun, 15 Dec 2002 12:37:49 -0800 (PST) Date: Sun, 15 Dec 2002 12:37:49 -0800 (PST) Message-Id: <200212152037.gBFKbnEu058709@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar Subject: PERFORCE change 22350 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=22350 Change 22350 by marcel@marcel_nfs on 2002/12/15 12:37:18 Change the type of the address parameter for the bus space memory access functions from u_int to u_int64_t. Affected files ... .. //depot/projects/ia64/sys/ia64/include/cpufunc.h#8 edit Differences ... ==== //depot/projects/ia64/sys/ia64/include/cpufunc.h#8 (text+ko) ==== @@ -163,7 +163,7 @@ } static __inline u_int8_t -readb(u_int addr) +readb(u_int64_t addr) { volatile u_int8_t *p = ia64_memory_address(addr); u_int8_t v = *p; @@ -172,7 +172,7 @@ } static __inline u_int16_t -readw(u_int addr) +readw(u_int64_t addr) { volatile u_int16_t *p = ia64_memory_address(addr); u_int16_t v = *p; @@ -181,7 +181,7 @@ } static __inline u_int32_t -readl(u_int addr) +readl(u_int64_t addr) { volatile u_int32_t *p = ia64_memory_address(addr); u_int32_t v = *p; @@ -190,7 +190,7 @@ } static __inline void -writeb(u_int addr, u_int8_t data) +writeb(u_int64_t addr, u_int8_t data) { volatile u_int8_t *p = ia64_memory_address(addr); *p = data; @@ -198,7 +198,7 @@ } static __inline void -writew(u_int addr, u_int16_t data) +writew(u_int64_t addr, u_int16_t data) { volatile u_int16_t *p = ia64_memory_address(addr); *p = data; @@ -206,7 +206,7 @@ } static __inline void -writel(u_int addr, u_int32_t data) +writel(u_int64_t addr, u_int32_t data) { volatile u_int32_t *p = ia64_memory_address(addr); *p = data; @@ -214,7 +214,7 @@ } static __inline void -memcpy_fromio(u_int8_t *addr, size_t ofs, size_t count) +memcpy_fromio(u_int8_t *addr, u_int64_t ofs, size_t count) { volatile u_int8_t *p = ia64_memory_address(ofs); while (count--) @@ -222,7 +222,7 @@ } static __inline void -memcpy_io(size_t dst, size_t src, size_t count) +memcpy_io(u_int64_t dst, u_int64_t src, size_t count) { volatile u_int8_t *dp = ia64_memory_address(dst); volatile u_int8_t *sp = ia64_memory_address(src); @@ -231,7 +231,7 @@ } static __inline void -memcpy_toio(size_t ofs, u_int8_t *addr, size_t count) +memcpy_toio(u_int64_t ofs, u_int8_t *addr, size_t count) { volatile u_int8_t *p = ia64_memory_address(ofs); while (count--) @@ -239,7 +239,7 @@ } static __inline void -memset_io(size_t ofs, u_int8_t value, size_t count) +memset_io(u_int64_t ofs, u_int8_t value, size_t count) { volatile u_int8_t *p = ia64_memory_address(ofs); while (count--) @@ -254,7 +254,7 @@ } static __inline void -memsetw_io(size_t ofs, u_int16_t value, size_t count) +memsetw_io(u_int64_t ofs, u_int16_t value, size_t count) { volatile u_int16_t *p = ia64_memory_address(ofs); while (count--) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message