| /src/compat/ | 
| m32.mk | 1 #	$NetBSD: m32.mk,v 1.2 2011/06/18 01:22:34 mrg Exp $ 4 # Makefile fragment to help implement a set of 'cc -m32' libraries.
 10 COPTS+=			-m32
 11 CPUFLAGS+=		-m32
 12 LDADD+=			-m32
 13 LDFLAGS+=		-m32
 14 MKDEPFLAGS+=		-m32
 
 | 
| /src/sys/arch/i386/stand/efiboot/bootia32/ | 
| Makefile | 14 CFLAGS+=	-m32 -DACPI_32BIT_PHYSICAL_ADDRESS 15 AFLAGS+=	-m32
 
 | 
| /src/tests/lib/libi386/ | 
| Makefile | 9 COPTS+=		-m32 10 LDFLAGS+=	-m32
 
 | 
| /src/tests/kernel/ | 
| t_origin.sh | 71 	local m32 73 		m32=
 75 		m32=-m32
 78 	    cc -fPIC $m32 -o origin$1 origin$1.c -Wl,-R'$ORIGIN'
 80 	    cc -shared -fPIC $m32 -o libfoo$1.so libfoo$1.c
 90 	if ! cc -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 91 		atf_skip "c++ -m32 not supported on this architecture"
 95 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 
 | 
| /src/compat/amd64/i386/ | 
| bsd.i386.mk | 17 .include "${.PARSEDIR}/../../m32.mk" 
 | 
| /src/compat/sparc64/sparc/ | 
| bsd.sparc.mk | 16 .include "${.PARSEDIR}/../../m32.mk" 
 | 
| /src/tests/net/fdpass/ | 
| Makefile | 18 COPTS.fdpass32.c	+= -m32 19 LDFLAGS.fdpass32	+= -m32
 
 | 
| /src/sys/compat/netbsd32/ | 
| netbsd32_drm.c | 189 map32to64(struct drm_map *m64, const drm_map32_t *m32) 191 	m64->offset = m32->offset;
 192 	m64->size = m32->size;
 193 	m64->type = m32->type;
 194 	m64->flags = m32->flags;
 195 	m64->handle = NETBSD32PTR64(m32->handle);
 196 	m64->mtrr = m32->mtrr;
 200 map64to32(drm_map32_t *m32, const struct drm_map *m64)
 202 	m32->offset = m64->offset;
 203 	m32->size = m64->size
 213  drm_map32_t m32;  local in function:compat_drm_getmap
 234  drm_map32_t m32;  local in function:compat_drm_addmap
 256  drm_map32_t m32;  local in function:compat_drm_rmmap
 590  drm_agp_mode32_t m32;  local in function:compat_drm_agp_enable
 [all...]
 | 
| /src/tests/usr.bin/c++/ | 
| t_call_once.sh | 129 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 130 		atf_skip "c++ -m32 not supported on this architecture"
 133 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 153 	atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o call_once test.cpp -pthread
 188 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 189 		atf_skip "c++ -m32 not supported on this architecture"
 192 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 213 	    c++ -m32 -fPIC -shared -o libtest.so pic.cpp
 215 	    c++ -m32 -o call_once test.cpp -L. -ltest -pthread
 258 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; the
 [all...]
 | 
| t_cxxruntime.sh | 122 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 123 		atf_skip "c++ -m32 not supported on this architecture"
 126 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 141 	atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o hello test.cpp
 180 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 181 		atf_skip "c++ -m32 not supported on this architecture"
 184 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 199 	    c++ -m32 -fPIC -shared -o libtest.so pic.cpp
 201 	    c++ -m32 -o hello test.cpp -L. -ltest
 238 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; the
 [all...]
 | 
| t_hello.sh | 118 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 119 		atf_skip "c++ -m32 not supported on this architecture"
 122 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 137 	atf_check -s exit:0 -o ignore -e ignore c++ -static  -m32 -pg -o hello test.cpp
 176 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 177 		atf_skip "c++ -m32 not supported on this architecture"
 180 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 194 	    c++ -m32 -fPIC -shared -o libtest.so pic.cpp
 196 	    c++ -m32 -o hello test.cpp -L. -ltest
 232 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; the
 [all...]
 | 
| t_pthread_once.sh | 127 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 128 		atf_skip "c++ -m32 not supported on this architecture"
 131 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 150 	atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o pthread_once test.cpp -pthread
 184 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 185 		atf_skip "c++ -m32 not supported on this architecture"
 188 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 208 	    c++ -m32 -fPIC -shared -o libtest.so pic.cpp
 210 	    c++ -m32 -o pthread_once test.cpp -L. -ltest -pthread
 252 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; the
 [all...]
 | 
| t_call_once2.sh | 167 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 168 		atf_skip "c++ -m32 not supported on this architecture"
 171 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 201 	atf_check -s exit:0 -o ignore -e ignore c++ -m32 -pg -o call_once2 test.cpp -pthread
 253 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 254 		atf_skip "c++ -m32 not supported on this architecture"
 257 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 294 	    c++ -m32 -fPIC -shared -o libtest.so pic.cpp
 296 	    c++ -m32 -o call_once2 test.cpp -L. -ltest -pthread
 351 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; the
 [all...]
 | 
| t_static_destructor.sh | 140 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 141 		atf_skip "c++ -m32 not supported on this architecture"
 144 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 168 	atf_check -s exit:0 -o ignore -e ignore c++ -static -m32 -pg -o hello test.cpp
 227 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then
 228 		atf_skip "c++ -m32 not supported on this architecture"
 231 			atf_fail "c++ -m32 does not generate netbsd32 binaries"
 256 	    c++ -m32 -fPIC -shared -o libtest.so pic.cpp
 258 	    c++ -m32 -o hello test.cpp -L. -ltest
 305 	if ! c++ -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; the
 [all...]
 | 
| /src/compat/powerpc64/powerpc/ | 
| bsd.powerpc.mk | 20 .include "${.PARSEDIR}/../../m32.mk" 
 | 
| /src/distrib/macppc/floppies/ramdisk/ | 
| Makefile | 18 DBG=		-Os -m32 20 LDFLAGS+=	-m32 -Wl,-melf32ppc_nbsd
 
 | 
| /src/sys/external/bsd/drm2/dist/drm/ | 
| drm_ioc32.c | 181 	drm_map32_t m32;  local in function:compat_drm_getmap 185 	if (copy_from_user(&m32, argp, sizeof(m32)))
 188 	map.offset = m32.offset;
 193 	m32.offset = map.offset;
 194 	m32.size = map.size;
 195 	m32.type = map.type;
 196 	m32.flags = map.flags;
 197 	m32.handle = ptr_to_compat((void __user *)map.handle);
 198 	m32.mtrr = map.mtrr
 209  drm_map32_t m32;  local in function:compat_drm_addmap
 [all...]
 | 
| /src/tests/usr.bin/cc/ | 
| t_hello.sh | 125 	if ! cc -m32 -dM -E - < /dev/null 2>/dev/null > ./def32; then 126 		atf_skip "cc -m32 not supported on this architecture"
 129 			atf_fail "cc -m32 does not generate netbsd32 binaries"
 138 	atf_check -s exit:0 -o ignore -e ignore cc -o hello32 -m32 test.c
 157 	atf_check -s exit:0 -o ignore -e ignore cc -o hello -m32 \
 167 	atf_check -s exit:0 -o ignore -e ignore cc -o hello -m32 \
 
 | 
| /src/sys/external/bsd/acpica/dist/include/platform/ | 
| acmsvc.h | 212 #define ACPI_MUL_64_BY_32(n_hi, n_lo, m32, p32, c32) \ 216     __asm mul    m32        \
 
 | 
| acefi.h | 362 #define ACPI_MUL_64_BY_32(n_hi, n_lo, m32, p32, c32) \ 365         UINT64 __p = MultU64x32 (__n, (m32));        \
 
 | 
| /src/sys/arch/i386/stand/cdboot/ | 
| Makefile | 36 AFLAGS+=	-m32 
 | 
| /src/sys/arch/sparc/stand/boot/ | 
| Makefile | 25 CFLAGS+=	-m32 
 | 
| /src/sys/arch/i386/stand/pxeboot/ | 
| Makefile | 23 AFLAGS+=	-m32 
 | 
| /src/sys/arch/amd64/amd64/ | 
| netbsd32_machdep.c | 676 	struct mtrr32 *m32p, m32;  local in function:x86_64_get_mtrr32 714 		m32.base = mp->base;
 715 		m32.len = mp->len;
 716 		m32.type = mp->type;
 717 		m32.flags = mp->flags;
 718 		m32.owner = mp->owner;
 719 		error = copyout(&m32, m32p, sizeof(m32));
 738 	struct mtrr32 *m32p, m32;  local in function:x86_64_set_mtrr32
 772 		error = copyin(m32p, &m32, sizeof(m32))
 [all...]
 | 
| /src/sys/external/bsd/acpica/dist/generate/unix/ | 
| Makefile.config | 172 ifeq ($(M32),TRUE) 173 CFLAGS +=-m32
 174 LDFLAGS +=-m32
 
 |