Up to [cvs.NetBSD.org] / src / sys / compat / netbsd32
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.96 / (download) - annotate - [select for diffs], Fri Oct 12 19:45:47 2012 UTC (7 months, 1 week ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.95: +11 -11
lines
Diff to previous 1.95 (colored)
fix pre-5 stat system call structure which should have used the pre-64-time_t timestamps!
Revision 1.95 / (download) - annotate - [select for diffs], Sun Apr 8 11:27:44 2012 UTC (13 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
yamt-pagecache-base4,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.94: +27 -1
lines
Diff to previous 1.94 (colored)
Rework posix_spawn locking and memory management: - always provide a vmspace for the new proc, initially borrowing from proc0 (this part fixes PR 46286) - increase parallelism between parent and child if arguments allow this, avoiding a potential deadlock on exec_lock - add a new flag for userland to request old (lockstepped) behaviour for better error reporting - adapt test cases to the previous two and add a new variant to test the diagnostics flag - fix a few memory (and lock) leaks - provide netbsd32 compat
Revision 1.94 / (download) - annotate - [select for diffs], Tue Mar 6 07:37:05 2012 UTC (14 months, 2 weeks ago) by macallan
Branch: MAIN
CVS Tags: jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6
Changes since 1.93: +14 -1
lines
Diff to previous 1.93 (colored)
allow mounting ext2fs and msdosfs while there also enable lfs but that's untested
Revision 1.93 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:39 2012 UTC (15 months ago) by rmind
Branch: MAIN
CVS Tags: jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3
Changes since 1.92: +1 -8
lines
Diff to previous 1.92 (colored)
Remove COMPAT_SA / KERN_SA. Welcome to 6.99.3! Approved by core@.
Revision 1.92 / (download) - annotate - [select for diffs], Wed Feb 1 05:46:46 2012 UTC (15 months, 2 weeks ago) by dholland
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.91: +2 -2
lines
Diff to previous 1.91 (colored)
Be consistent about whether idtype and objtype codes are signed or unsigned. They are signed. (While unsigned might have been a better choice, it doesn't really matter and the majority of preexisting uses were signed. And consistency is good.)
Revision 1.91 / (download) - annotate - [select for diffs], Wed Feb 1 05:43:54 2012 UTC (15 months, 2 weeks ago) by dholland
Branch: MAIN
Changes since 1.90: +3 -3
lines
Diff to previous 1.90 (colored)
Improve the names of some members of struct quotactl_args. These are effectively function parameter names, but since they need to be described with the same names in the man page the choices do matter. Some.
Revision 1.90 / (download) - annotate - [select for diffs], Wed Feb 1 05:40:00 2012 UTC (15 months, 2 weeks ago) by dholland
Branch: MAIN
Changes since 1.89: +63 -2
lines
Diff to previous 1.89 (colored)
Update compat_netbsd32 for new quotactl.
Revision 1.89 / (download) - annotate - [select for diffs], Tue Jan 31 22:51:41 2012 UTC (15 months, 2 weeks ago) by matt
Branch: MAIN
Changes since 1.88: +2 -1
lines
Diff to previous 1.88 (colored)
Add netbsd32_socklenp_t
Revision 1.88 / (download) - annotate - [select for diffs], Wed Oct 12 23:04:22 2011 UTC (19 months, 1 week ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.87: +2 -1
lines
Diff to previous 1.87 (colored)
As a precaution, add sys/param.h explicitly to some headers that will no longer get it via sys/ucred.h and don't already include it explicitly. These should in turn be removed when it can be confirmed that it's safe to do so. (Because sys/param.h is full of things that are often tested with #if, it's not in general safe to remove it without checking, as such tests fail silently if the symbol goes missing.)
Revision 1.87 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:39 2011 UTC (22 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.86: +3 -3
lines
Diff to previous 1.86 (colored)
dependant -> dependent
Revision 1.86 / (download) - annotate - [select for diffs], Sun Mar 6 17:08:34 2011 UTC (2 years, 2 months ago) by bouyer
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base,
cherry-xenmp
Changes since 1.85: +7 -1
lines
Diff to previous 1.85 (colored)
merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on. See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details.
Revision 1.85 / (download) - annotate - [select for diffs], Sat Jan 22 22:26:10 2011 UTC (2 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.84: +23 -1
lines
Diff to previous 1.84 (colored)
Add the ability to mount NFS filesystems in COMPAT_NETBSD32 If in the kernel and NFS_ARGS_ONLY, just export struct nfs_args and its flags.
Revision 1.84 / (download) - annotate - [select for diffs], Mon Dec 14 00:47:11 2009 UTC (3 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: rmind-uvmplock,
jruoho-x86intr,
bouyer-quota2
Changes since 1.83: +32 -1
lines
Diff to previous 1.83 (colored)
Merge from matt-nb5-mips64
Revision 1.83 / (download) - annotate - [select for diffs], Sat Dec 12 10:32:26 2009 UTC (3 years, 5 months ago) by njoly
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.82: +5 -5
lines
Diff to previous 1.82 (colored)
Remove semicolon from NETBSD32TOx_UAP macro definitions.
Revision 1.82 / (download) - annotate - [select for diffs], Mon Mar 16 20:48:13 2009 UTC (4 years, 2 months ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base
Changes since 1.81: +6 -5
lines
Diff to previous 1.81 (colored)
Fix dev_t alignment, by not using the new 64bit value directly but rather a 32bit aligned version (netbsd32_dev_t = netbsd32_uint64). ok by cube@.
Revision 1.81 / (download) - annotate - [select for diffs], Wed Jan 28 00:43:04 2009 UTC (4 years, 3 months ago) by njoly
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.80: +4 -4
lines
Diff to previous 1.80 (colored)
Revert the previous packed attribute fix. Instead make netbsd32_time_t of type netbsd32_int64 which provides a 64-bit value with a 32-bit alignment. Suggested by dsl.
Revision 1.80 / (download) - annotate - [select for diffs], Wed Jan 28 00:02:39 2009 UTC (4 years, 3 months ago) by njoly
Branch: MAIN
Changes since 1.79: +3 -3
lines
Diff to previous 1.79 (colored)
Make netbsd32_timespec/netbsd32_timeval structures packed. This fix an alignment problem between 64-bit kernel and 32-bit userland versions, which ended in different structure sizes.
Revision 1.79 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:49 2009 UTC (4 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.78: +153 -19
lines
Diff to previous 1.78 (colored)
merge christos-time_t
Revision 1.78 / (download) - annotate - [select for diffs], Sat Nov 22 23:13:38 2008 UTC (4 years, 5 months ago) by mrg
Branch: MAIN
CVS Tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
christos-time_t-nbase,
christos-time_t-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: christos-time_t
Changes since 1.77: +6 -2
lines
Diff to previous 1.77 (colored)
implement netbsd32__sched_setparam(), netbsd32__sched_getparam(), netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity().
Revision 1.77 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:19 2008 UTC (4 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5
Changes since 1.76: +8 -1
lines
Diff to previous 1.76 (colored)
Merge wrstuden-revivesa into HEAD.
Revision 1.76 / (download) - annotate - [select for diffs], Thu May 29 14:51:26 2008 UTC (4 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl
Branch point for: haad-dm
Changes since 1.75: +1 -3
lines
Diff to previous 1.75 (colored)
remove clause #3 from my license where there are no other copyright holders involved.
Revision 1.75 / (download) - annotate - [select for diffs], Sat May 24 16:02:44 2008 UTC (4 years, 11 months ago) by njoly
Branch: MAIN
Changes since 1.74: +7 -7
lines
Diff to previous 1.74 (colored)
Fix netbsd32_ipc_perm and netbsd32_shmid_ds structures to use correct types.
Revision 1.74 / (download) - annotate - [select for diffs], Sat Feb 2 15:17:06 2008 UTC (5 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base2,
yamt-pf42-base,
yamt-nfs-mp-base2,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp,
wrstuden-revivesa,
mjf-devfs2
Changes since 1.73: +3 -3
lines
Diff to previous 1.73 (colored)
Fix build
Revision 1.73 / (download) - annotate - [select for diffs], Sat Feb 2 14:34:56 2008 UTC (5 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.72: +34 -42
lines
Diff to previous 1.72 (colored)
Use the netbsd32_[u]int64 type for all 64bit items to ensure we have the correct alignment/padding rules. Removed the now-unnecessary #pragma packed for amd64. Should fix the alignment of 'struct netbsd32_kevent' on non-amd64.
Revision 1.72 / (download) - annotate - [select for diffs], Sat Feb 2 13:58:18 2008 UTC (5 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.71: +98 -98
lines
Diff to previous 1.71 (colored)
Change u_intxx_t to uintxx_t and uint to unsigined int etc. Fix indentation.
Revision 1.71 / (download) - annotate - [select for diffs], Tue Dec 25 18:33:36 2007 UTC (5 years, 4 months ago) by perry
Branch: MAIN
CVS Tags: vmlocking2-base3,
matt-armv6-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Changes since 1.70: +4 -4
lines
Diff to previous 1.70 (colored)
Convert many of the uses of __attribute__ to equivalent __packed, __unused and __dead macros from cdefs.h
Revision 1.70 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:00 2007 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.69: +5 -2
lines
Diff to previous 1.69 (colored)
Convert all the system call entry points from:
int foo(struct lwp *l, void *v, register_t *retval)
to:
int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
Revision 1.69 / (download) - annotate - [select for diffs], Fri Dec 7 22:41:05 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.68: +2 -1
lines
Diff to previous 1.68 (colored)
Add: _lwp_setname, _lwp_getname, _lwp_ctl.
Revision 1.68 / (download) - annotate - [select for diffs], Sat Sep 29 10:47:45 2007 UTC (5 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: vmlocking2,
mjf-devfs
Changes since 1.67: +9 -9
lines
Diff to previous 1.67 (colored)
Use netbsd32_uint64 instead of fsblkcnt_t and fsfilcnt_t in order to get the correct alignment (4 bytes for i386) for the whole structure.
Revision 1.67 / (download) - annotate - [select for diffs], Sun Sep 16 22:35:02 2007 UTC (5 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-x86pmap-base
Branch point for: yamt-x86pmap
Changes since 1.66: +17 -6
lines
Diff to previous 1.66 (colored)
Define netbsd32_uint64 for 64bit integers with the alignment requirement of the corresponding 32bit architecture. Use it for the 64bit items in netbsd32_statvfs so that the structure doesn't collect 8byte alignment (and 4 bytes of trailing padding). This replaces the 'packed' attribute which wasn't architecture specific and would cause massive overheads accessing every member of sparc64. Should allow the MIPS64 port do DTRT.
Revision 1.66 / (download) - annotate - [select for diffs], Tue Jul 17 20:36:11 2007 UTC (5 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6,
jmcneill-pm
Changes since 1.65: +2 -1
lines
Diff to previous 1.65 (colored)
include <compat/sys/mount.h> MFSNAMELEN
Revision 1.65 / (download) - annotate - [select for diffs], Sat Jun 30 15:31:49 2007 UTC (5 years, 10 months ago) by dsl
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.64: +4 -1
lines
Diff to previous 1.64 (colored)
Changes to sompat socket function to avoid the dreaded stackgap.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 3 10:55:10 2007 UTC (5 years, 11 months ago) by dsl
Branch: MAIN
Changes since 1.63: +2 -1
lines
Diff to previous 1.63 (colored)
Split netbsd32___semctl14() so that it is callable from compat_10_netbsd32_sys_semsys() (where the one parameter is already in kernel space). Note that the code in compat_10_netbsd32_sys_semsys() has always been wrong, since it called compat_14_sys___semctl() - which would read 64bit values!
Revision 1.63 / (download) - annotate - [select for diffs], Mon Apr 30 14:05:47 2007 UTC (6 years ago) by dsl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.62: +1 -3
lines
Diff to previous 1.62 (colored)
Rework compat stat() and statvfs() code so that it no longer uses the stackgap.
Revision 1.62 / (download) - annotate - [select for diffs], Sun Mar 18 21:38:33 2007 UTC (6 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic
Changes since 1.61: +2 -2
lines
Diff to previous 1.61 (colored)
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
Revision 1.61 / (download) - annotate - [select for diffs], Fri Mar 16 22:21:41 2007 UTC (6 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.60: +37 -6
lines
Diff to previous 1.60 (colored)
remove all the double (and triple) casts used to convert 32bit userspace pointers to and from 64bit kernel pointers. Instead use the defines NETBSD32PTR64(p32) to read a 32bit pointer and (the new) NETBSD32PTR32(p32,p64) to write a 32bit pointer throughout. The 32bit pointer is now a struct to enforce the above. amd64 (with linux emul) and sparc64 will both compile (when the arch stuff goes in soon), and amd64 still runs some i386 binaries.
Revision 1.60 / (download) - annotate - [select for diffs], Sun Mar 4 07:54:07 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Branch point for: vmlocking,
reinoud-bufcleanup,
mjf-ufs-trans
Changes since 1.59: +6 -6
lines
Diff to previous 1.59 (colored)
fix fallout from caddr_t changes.
Revision 1.59 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:25 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.58: +6 -6
lines
Diff to previous 1.58 (colored)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Revision 1.58 / (download) - annotate - [select for diffs], Mon Feb 19 15:10:03 2007 UTC (6 years, 3 months ago) by cube
Branch: MAIN
CVS Tags: ad-audiomp-base,
ad-audiomp
Changes since 1.57: +3 -1
lines
Diff to previous 1.57 (colored)
Introduce a new member to struct emul, e_startlwp, to be used by sys__lwp_create. It allows using the said syscall under COMPAT_NETBSD32. The libpthread regression tests now pass on amd64 and sparc64.
Revision 1.57 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:22 2007 UTC (6 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.56: +1 -9
lines
Diff to previous 1.56 (colored)
Merge newlock2 to head.
Revision 1.56 / (download) - annotate - [select for diffs], Tue Nov 21 15:02:18 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
newlock2-nbase,
newlock2-base,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-nb4-arm-base,
matt-nb4-arm
Changes since 1.55: +2 -2
lines
Diff to previous 1.55 (colored)
adjust limits takes struct proc again.
Revision 1.55 / (download) - annotate - [select for diffs], Tue Nov 21 14:32:27 2006 UTC (6 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.54: +2 -2
lines
Diff to previous 1.54 (colored)
From Nicolas Joly: > It seems that 32bits programs, running under compat_netbsd32, using > setrlimit force all other programs to have their maximum data size > fixed at 3GB, where native 64bits apps used 8GB previously. I tracked this one to the `netbsd32_adjust_limits()' function (called when creating a new process under compat_netbsd32), where data and stack limits are set without checking for shared `p_limit' structure (p_limit->p_refcnt > 1). This explain the side effect where processes have their limits changed when a compat_netbsd32 (or compat_linux32) program is run. The fix is to use `dosetrlimit()' to ensure the needed copy-on-write behaviour for shared structure.
Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 13 12:00:25 2006 UTC (6 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
rpaulo-netinet-merge-pcb-base,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.53: +2 -1
lines
Diff to previous 1.53 (colored)
Fix alignement problems for fhandle_t, exposed by gcc4.1. While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ, version the getfh(2) syscall and explicitly pass the size available in the filehandle from userland. Discussed on tech-kern, with lots of help from yamt (thanks!).
Revision 1.53 / (download) - annotate - [select for diffs], Wed May 31 09:52:27 2006 UTC (6 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Changes since 1.52: +9 -2
lines
Diff to previous 1.52 (colored)
support ntp_gettime again compile tested by Havard Eidnes
Revision 1.52 / (download) - annotate - [select for diffs], Thu May 11 00:58:25 2006 UTC (7 years ago) by mrg
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5,
elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.51: +2 -2
lines
Diff to previous 1.51 (colored)
add an extra (uintptr_t) cast to NETBSD32TOP.
Revision 1.51 / (download) - annotate - [select for diffs], Wed Mar 29 23:04:12 2006 UTC (7 years, 1 month ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4,
yamt-pdpolicy-base3
Changes since 1.50: +12 -1
lines
Diff to previous 1.50 (colored)
Implement the _lwp* and sa_* families of syscalls, using the newly introduced hooks in the native code.
Revision 1.50 / (download) - annotate - [select for diffs], Mon Mar 6 14:40:55 2006 UTC (7 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base2,
peter-altq-base
Branch point for: peter-altq,
elad-kernelauth
Changes since 1.49: +2 -1
lines
Diff to previous 1.49 (colored)
Implement the SysV IPC family of syscalls.
Revision 1.49 / (download) - annotate - [select for diffs], Sun Mar 5 01:28:20 2006 UTC (7 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: yamt-pdpolicy-base
Branch point for: yamt-pdpolicy
Changes since 1.48: +3 -1
lines
Diff to previous 1.48 (colored)
Implement the ksem_* family of syscalls.
Revision 1.48 / (download) - annotate - [select for diffs], Sun Dec 11 12:20:22 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace
Branch point for: simonb-timecounters,
rpaulo-netinet-merge-pcb
Changes since 1.47: +1 -1
lines
Diff to previous 1.47 (colored)
merge ktrace-lwp.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Oct 24 15:28:09 2005 UTC (7 years, 6 months ago) by cube
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Changes since 1.46: +3 -5
lines
Diff to previous 1.46 (colored)
Move prototypes for siginfo32 to/from siginfo converters at the right place.
Revision 1.46 / (download) - annotate - [select for diffs], Sun Oct 23 01:33:32 2005 UTC (7 years, 7 months ago) by cube
Branch: MAIN
CVS Tags: thorpej-vnode-attr-base,
thorpej-vnode-attr
Changes since 1.45: +18 -1
lines
Diff to previous 1.45 (colored)
- Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32 code. - To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to kevent1 that points to functions that do the actual copyin/copyout operations. This is similar to what was done in FreeBSD by Paul Saab. - Add the COMPAT_NETBSD32 definitions and hooks.
Revision 1.45 / (download) - annotate - [select for diffs], Fri Oct 7 14:46:04 2005 UTC (7 years, 7 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.44: +6 -2
lines
Diff to previous 1.44 (colored)
make the previous apply only to x86_64.
Revision 1.44 / (download) - annotate - [select for diffs], Fri Oct 7 14:40:06 2005 UTC (7 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.43: +2 -2
lines
Diff to previous 1.43 (colored)
add __attribute__((packed)) to struct netbsd32_stat13. the alignment of 64-bit values is annoying in the x86 world: they require 64-bit alignment in 64-bit mode but only 32-bit alignment in 32-bit mode.
Revision 1.43 / (download) - annotate - [select for diffs], Tue Sep 27 15:09:04 2005 UTC (7 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.42: +2 -1
lines
Diff to previous 1.42 (colored)
this needs stuff from compat/sys/siginfo.h now, just include it here.
Revision 1.42 / (download) - annotate - [select for diffs], Tue Sep 27 14:37:06 2005 UTC (7 years, 7 months ago) by chs
Branch: MAIN
Changes since 1.41: +3 -1
lines
Diff to previous 1.41 (colored)
make this compile again.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Sep 24 21:34:18 2005 UTC (7 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.40: +1 -4
lines
Diff to previous 1.40 (colored)
make the siginfo converters static and comment out the one that is not used.
Revision 1.40 / (download) - annotate - [select for diffs], Sat Aug 20 15:02:36 2005 UTC (7 years, 9 months ago) by kent
Branch: MAIN
Changes since 1.39: +3 -3
lines
Diff to previous 1.39 (colored)
fix a compilation problem on NetBSD/amd64
Revision 1.39 / (download) - annotate - [select for diffs], Fri Aug 19 04:24:38 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.38: +4 -4
lines
Diff to previous 1.38 (colored)
Fix lossage I created with the 64 bit ino_t change.
Revision 1.38 / (download) - annotate - [select for diffs], Fri Aug 19 02:03:57 2005 UTC (7 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.37: +29 -6
lines
Diff to previous 1.37 (colored)
64 bit inode changes.
Revision 1.37 / (download) - annotate - [select for diffs], Sat Jul 23 22:04:12 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.36: +3 -1
lines
Diff to previous 1.36 (colored)
Regen (__sigtimedwait(2)).
Revision 1.36 / (download) - annotate - [select for diffs], Sat Jul 23 18:56:15 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.35: +22 -1
lines
Diff to previous 1.35 (colored)
Implement the timer_create(2) family of syscalls.
Revision 1.35 / (download) - annotate - [select for diffs], Wed Jul 13 11:53:57 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Changes since 1.34: +1 -2
lines
Diff to previous 1.34 (colored)
netbsd32_execve2() doesn't exist anymore.
Revision 1.34 / (download) - annotate - [select for diffs], Mon Jul 4 00:26:06 2005 UTC (7 years, 10 months ago) by cube
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.33: +4 -1
lines
Diff to previous 1.33 (colored)
Implement uuidgen(2).
Revision 1.33 / (download) - annotate - [select for diffs], Fri Jun 10 05:10:13 2005 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
Rework the coredump code to have no explicit knownledge of how coredump
i/o is done. Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o. This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.
Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 2 10:27:43 2005 UTC (7 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.31: +3 -3
lines
Diff to previous 1.31 (colored)
in siginfo conversion functions, declare the source operand as "const"
Revision 1.31 / (download) - annotate - [select for diffs], Sat Mar 26 05:12:35 2005 UTC (8 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: yamt-km-base4,
kent-audio2-base
Changes since 1.30: +4 -1
lines
Diff to previous 1.30 (colored)
Fix some things regarding COMPAT_NETBSD32 and limits/VM addresses. * For sparc64 and amd64, define *SIZ32 VM constants. * Add a new function pointer to struct emul, pointing at a function that will return the default VM map address. The default function is uvm_map_defaultaddr, which just uses the VM_DEFAULT_ADDRESS macro. This gives emulations control over the default map address, and allows things to be mapped at the right address (in 32bit range) for COMPAT_NETBSD32. * Add code to adjust the data and stack limits when a COMPAT_NETBSD32 or COMPAT_SVR4_32 binary is executed. * Don't use USRSTACK in kern_resource.c, use p_vmspace->vm_minsaddr instead (emulations might have set it differently) * Since this changes struct emul, bump kernel version to 3.99.2 Tested on amd64, compile-tested on sparc64.
Revision 1.30 / (download) - annotate - [select for diffs], Sat Feb 26 23:10:21 2005 UTC (8 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base3,
netbsd-3-base
Branch point for: netbsd-3
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
nuke trailing whitespace
Revision 1.29 / (download) - annotate - [select for diffs], Thu Jun 17 18:29:40 2004 UTC (8 years, 11 months ago) by cube
Branch: MAIN
CVS Tags: yamt-km-base2,
yamt-km-base,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.28: +31 -1
lines
Diff to previous 1.28 (colored)
o Add support for the statvfs family of syscalls (statvfs1, fstatvfs1, fhstatvfs1 and getvfsstat) o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to netbsd_compat_20.c, compiled with COMPAT_20 Reviewed by christos@.
Revision 1.28 / (download) - annotate - [select for diffs], Thu May 20 06:34:25 2004 UTC (9 years ago) by atatat
Branch: MAIN
Changes since 1.27: +4 -1
lines
Diff to previous 1.27 (colored)
Tweak sysctl setup functions (the macros, actually) for use in lkms, and tweak lkminit_*.c (where applicable) to call them, and to call sysctl_teardown() when being unloaded. This consists of (1) making setup functions not be static when being compiled as lkms (change to sys/sysctl.h), (2) making prototypes visible for the various setup functions in header files (changes to various header files), and (3) making simple "load" and "unload" functions in the actual lkminit stuff. linux_sysctl.c also needs its root exposed (ie, made not static) for this (when built as an lkm).
Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 21 11:28:30 2004 UTC (9 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.26: +1 -5
lines
Diff to previous 1.26 (colored)
delete ktrsyscall32() prototype
Revision 1.26 / (download) - annotate - [select for diffs], Thu Jan 15 14:34:38 2004 UTC (9 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.25: +5 -1
lines
Diff to previous 1.25 (colored)
add a copy of the ktrsyscall() entry point for 32 bit emulated calls. the main purpose of this function is to adjust the "argsize" value of the ktrace syscall record, otherwise userland will see N/2 (rounded down) arguments instead of N.
Revision 1.25 / (download) - annotate - [select for diffs], Mon Oct 13 18:55:30 2003 UTC (9 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +7 -1
lines
Diff to previous 1.24 (colored)
Implement 32bit get/setcontext entry points.
Revision 1.24 / (download) - annotate - [select for diffs], Sat Jan 18 08:28:25 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.23: +4 -3
lines
Diff to previous 1.23 (colored)
Merge the nathanw_sa branch.
Revision 1.23 / (download) - annotate - [select for diffs], Wed Nov 27 16:44:02 2002 UTC (10 years, 5 months ago) by atatat
Branch: MAIN
CVS Tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Changes since 1.22: +4 -4
lines
Diff to previous 1.22 (colored)
Complete the rename: s/sa_/<compat>_sa_/g Also tweak the darwin siginfo stuff to avoid the same type of collision.
Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 23 13:16:40 2002 UTC (10 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.21: +80 -71
lines
Diff to previous 1.21 (colored)
In preparation for COMPAT_NETBSD32 on SH-5: - The MD netbsd32_machdep.h header now defines the 32-bit pointer type instead of using u_int32_t everywhere, - The MD netbsd32_machdep.h header now defines a macro (at least on current implementations) which converts a 32-bit pointer to its 64-bit equivalent, - Change the MI code to utilise the above two items in all the right places, - Implement netbsd32___sigaction_sigtramp(). Tested on Sparc64 by Matt Green.
Revision 1.21 / (download) - annotate - [select for diffs], Sat Dec 8 00:35:27 2001 UTC (11 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base,
newlock,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge,
ifpoll-base,
ifpoll,
gehenna-devsw-base,
gehenna-devsw,
eeh-devprop-base,
eeh-devprop
Changes since 1.20: +2 -3
lines
Diff to previous 1.20 (colored)
Make the coredump routine exec-format/emulation specific. Split out traditional NetBSD coredump routines into core_netbsd.c and netbsd32_core.c (for COMPAT_NETBSD32).
Revision 1.20 / (download) - annotate - [select for diffs], Sat Aug 25 15:06:02 2001 UTC (11 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
update copyright notices.
Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 19 00:36:21 2001 UTC (11 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: kqueue
Changes since 1.18: +6 -2
lines
Diff to previous 1.18 (colored)
Some of this was sparc-specific, so ifdef __sparc__ it (XXX). Also, change the alignment of one structure with an MD ifdef. Should be moved into the netbsd32_machdep parts.
Revision 1.18 / (download) - annotate - [select for diffs], Wed Jun 6 21:45:56 2001 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.17: +4 -1
lines
Diff to previous 1.17 (colored)
proto for coredump32
Revision 1.17 / (download) - annotate - [select for diffs], Sun Feb 4 06:35:07 2001 UTC (12 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.16: +6 -1
lines
Diff to previous 1.16 (colored)
make sysctl vm.loadavg work.
Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 2 07:08:17 2001 UTC (12 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.15: +6 -1
lines
Diff to previous 1.15 (colored)
de-static netbsd32_exec_aout_prep_[zno]magic(). de-static netbsd32_from_stat43(). move the guts of netbsd32_execve() into netbsd32_execve2(). all of are for the forthcoming sunos32 compat mode (for sparc64).
Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 3 13:15:38 2000 UTC (12 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.14: +2 -1
lines
Diff to previous 1.14 (colored)
Add systm.h to pull in copyout* prototypes.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 1 12:28:33 2000 UTC (12 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.13: +1 -7
lines
Diff to previous 1.13 (colored)
add e_path (emulation path) to struct emul, which replaces emulation-specific
*_emul_path variables
change macros CHECK_ALT_{CREAT|EXIST} to use that, 'root' doesn't need
to be passed explicitly any more and *_CHECK_ALT_{CREAT|EXIST} are removed
change explicit emul_find() calls in probe functions to get the emulation
path from the checked exec switch entry's emulation
remove no longer needed header files
add e_flags and e_syscall to struct emul; these are unsed and empty for now
Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 18 02:00:50 2000 UTC (12 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
kill gcc warnings.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Aug 22 03:35:14 2000 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.11: +9 -1
lines
Diff to previous 1.11 (colored)
declare struct firm_event32
Revision 1.11 / (download) - annotate - [select for diffs], Sun Jul 9 13:39:31 2000 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.10: +15 -1
lines
Diff to previous 1.10 (colored)
- massive warning fix fest. - fix pread/pwrite return values (plus some other syscalls that looked similarly broken). - prototypes and clean up for netbsd32_ioctl.c now getpw*() works under compat32!
Revision 1.10 / (download) - annotate - [select for diffs], Thu Dec 30 15:40:45 1999 UTC (13 years, 4 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl,
chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.9: +22 -19
lines
Diff to previous 1.9 (colored)
Update to 32-bit compatibility routines.
Revision 1.9 / (download) - annotate - [select for diffs], Mon Oct 11 01:36:22 1999 UTC (13 years, 7 months ago) by eeh
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: thorpej_scsipi
Changes since 1.8: +47 -4
lines
Diff to previous 1.8 (colored)
Add netbsd32_compat_14.c Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly names like compat_14_compat_netbsd32_sys_shmctl().
Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 12 21:55:20 1999 UTC (13 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc2-base
Branch point for: wrstuden-devbsize
Changes since 1.7: +3 -1
lines
Diff to previous 1.7 (colored)
XSH5: change function signature to `void *sbrk(intptr_t)'.
Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 25 17:57:21 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Changes since 1.6: +8 -5
lines
Diff to previous 1.6 (colored)
clean and up make compile
Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 25 16:58:39 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.5: +24 -16
lines
Diff to previous 1.5 (colored)
SPARC32->NETBSD32
Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 25 16:27:56 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
include the MD header.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 25 16:22:49 1999 UTC (14 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.3: +184 -191
lines
Diff to previous 1.3 (colored)
move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-)
Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 1 14:27:56 1998 UTC (14 years, 7 months ago) by eeh
Branch: MAIN
CVS Tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Changes since 1.2: +59 -56
lines
Diff to previous 1.2 (colored)
Overhaul. Now will run simple things like /bin/sh and /bin/echo.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 7 01:38:03 1998 UTC (14 years, 8 months ago) by eeh
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored)
Need to make sure high bits of addresses are zeroed out.
Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 26 10:20:34 1998 UTC (14 years, 8 months ago) by mrg
Branch: MAIN
add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel.