gallatin
60a8e7b108
apparently EV5 2x00s have their t2 CSRs where I'd expect to find
...
them on a 2100A
Thanks to Tyler Willingham <ze_willow@yahoo.com> for letting me
test this on his AS2000
2001-10-20 01:27:23 +00:00
obrien
e4ab2c9a0f
Try two on the preprocessing logic.
...
Reviewed by: ru
2001-10-19 20:01:01 +00:00
jhb
d0bdf2ae5d
Remove unneeded sys/mutex.h includes.
2001-10-19 19:23:32 +00:00
jhb
7c87908b48
Move sys/mutex.h include after sys/lock.h to ensure we use the proper
...
versions of the mutex operations.
2001-10-19 19:22:04 +00:00
obrien
975b6d2e75
Blah, fix braino where ru had to remind me of proper preprocessor syntax.
...
Bad fingers, no cookie.
2001-10-19 19:17:11 +00:00
marcel
34dc4c548d
After removing the bogus differences, any real incompatibilities
...
have been merged into /sys/compat/linux/linux_ioctl.h. This file
is now unused.
2001-10-19 08:20:15 +00:00
obrien
2b9b303646
My attempts at minimizing the number of #def's got me in trouble.
2001-10-18 16:07:21 +00:00
obrien
1d7ce16d9a
Add support for "__gnuc_va_list". Some overly "smart" libraries assume
...
the existence of the __gnuc_va_list type[*] because our compiler is GCC.
[*] __gnuc_va_list is defined in the GCC ginclude/stdarg.h replacement
headerwhich we don't use.
2001-10-18 00:27:39 +00:00
obrien
1ee32f686a
Sync comments with i386.
2001-10-18 00:00:31 +00:00
jhb
946a8b3717
Small cleanups to the handling of Giant in trap().
2001-10-17 21:55:56 +00:00
mjacob
e666e03e1a
Make SCSI changer and SES devices standard in generic kernels.
...
Reviewed by: ken@kdm.org
2001-10-16 22:22:58 +00:00
marcel
ff7999f46e
Implement linux_chown and linux_lchown. The fchown syscall maps
...
directly to the native syscall, because no filename handling
needs to be done.
Tested by: Martin Blapp <mb@imp.ch>
2001-10-16 06:15:36 +00:00
des
415c64e785
In FreeBSD's ifreq, ifr_ifru.ifru_flags is an array of two chars, while Linux
...
defines it as a short. Change that to an array of one short so that FreeBSD's
ifr_flags macro will work (it evaluates to ifr_ifru.ifru_flags[0]).
2001-10-15 20:06:34 +00:00
bde
60cac98968
Backed out the quick fixes for the transient breakage of <sys/mount.h>
...
in rev.1.106 of the latter (don't include <sys/socket.h> and/or
<net/radix.h> just to work around bugs in <sys/mount.h>).
2001-10-13 06:05:37 +00:00
mjacob
fa0b537235
roll out last change
2001-10-12 02:30:53 +00:00
mjacob
a6fcfa2afc
Remove the hiding of some prototype declarations.
2001-10-11 21:48:02 +00:00
mjacob
61923fecdf
remove unused variable declaration
2001-10-11 21:47:27 +00:00
obrien
8abab35780
We use proc_rwmem (with the correct number of args) rather than procfs_domem
...
in the new world order or procfs.
Submitted by: des
2001-10-11 21:17:31 +00:00
mjacob
f53afa40b9
Note that PROCFS is mandatory at this time- until we fix the
...
ptrace code to not call things directly from procfs we can't
very well have procfs be a module.
2001-10-11 18:36:41 +00:00
ps
db0d5cd641
Make MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ, MAXSSIZ, SGROWSIZ loader
...
tunable.
Reviewed by: peter
MFC after: 2 weeks
2001-10-10 23:06:54 +00:00
des
29c5c858fc
Dissociate ptrace from procfs.
...
Until now, the ptrace syscall was implemented as a wrapper that called
various functions in procfs depending on which ptrace operation was
requested. Most of these functions were themselves wrappers around
procfs_{read,write}_{,db,fp}regs(), with only some extra error checks,
which weren't necessary in the ptrace case anyway.
This commit moves procfs_rwmem() from procfs_mem.c into sys_process.c
(renaming it to proc_rwmem() in the process), and implements ptrace()
directly in terms of procfs_{read,write}_{,db,fp}regs() instead of
having it fake up a struct uio and then call procfs_do{,db,fp}regs().
It also moves the prototypes for procfs_{read,write}_{,db,fp}regs()
and proc_rwmem() from proc.h to ptrace.h, and marks all procfs files
except procfs_machdep.c as "optional procfs" instead of "standard".
2001-10-07 20:08:42 +00:00
marcel
d76212b1b4
Regen.
2001-10-07 00:21:18 +00:00
marcel
95e78e313c
Fix the NODEF entry for setpgid() so that it matches the NODEF
...
entries in sys/kern/syscalls.master.
2001-10-07 00:20:08 +00:00
mjacob
37494cc800
Fix problem where a user buffer outside of the area being tested
...
will be corrupted.
PR: 29194
Obtained from: Tor.Egge@fast.no
MFC after: 2 weeks
2001-10-02 18:34:20 +00:00
jhb
fb7fca45bb
Sigh, statclock_process() takes a KSE instead of a thread for its first
...
argument.
2001-10-01 22:26:47 +00:00
wilko
86938caa26
Add AlphaPC64 to comments. Correct names (ds10 -> DS10 etc)
2001-09-30 12:09:50 +00:00
marcel
0e0d997b9e
o Remove the linux_setpgid() stub.
...
o Stop using linux_getpgid(); use getpgid() instead.
PR: kern/21402
2001-09-28 01:39:19 +00:00
marcel
aee394ff68
Stop using linux_getpgid(). The implementation at this time is
...
broken and fixing it only creates a duplicate of what is already
in the FreeBSD kernel. Therefore, map the syscall directly to
getpgid().
PR: kern/21402
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
While here, redefine the second entry for setpgid() so that we
don't need a stub. This is achieved by giving the second instance
the type NODEF.
2001-09-28 01:36:45 +00:00
rwatson
3ac68ecf7b
o securelevel_gt() patches came from pre-KSE alpha -- this revision
...
fixes the compile and uses td->td_proc instead of p.
Obtained from: TrustedBSD Project
2001-09-26 20:27:23 +00:00
brooks
34d1edd712
The faith(4) device is no longer a count device so don't specify a count.
2001-09-25 18:56:40 +00:00
obrien
94003d0787
+ Fix misplacement of `txp'
...
+ Document our -CURRENT debugging bits
2001-09-24 03:23:48 +00:00
peter
aac6765913
Overzealous search/replace: PROC_LOCK_ASSERT(p, not PROC_LOCK_ASSERT(td,
...
Pointy-hat to: peter
2001-09-23 06:16:01 +00:00
jhb
8fad87731a
Fix statclock() on non-boot processors: curproc -> curthread.
2001-09-21 23:10:11 +00:00
peter
d9bfebcabd
Export kernbase like on the i386. I dont think the alpha kernel is
...
movable like on the x86, but this gets things in sync and reduces
the need for special cases in things like ps and libkvm etc.
2001-09-20 09:09:03 +00:00
peter
7d24eb386c
Finish KSE-ification updates.
2001-09-20 05:15:04 +00:00
peter
e0febadcf9
Regenerate. This seems to have been missed in the last commit.
2001-09-20 05:01:08 +00:00
peter
15d80be8db
Pass 1: update for KSE and NFS changes. Somehow this got missed.
...
osf1_mount.c isn't complete yet.
2001-09-20 04:56:42 +00:00
peter
956cee07ea
Make this compile again. I would have sworn that I did this already in
...
the KSE tree and thought it had been merged.
2001-09-20 04:55:06 +00:00
peter
ccb317277e
Make alpha/genassym.c compile again. *oops*
2001-09-20 02:48:03 +00:00
peter
85182a8d78
Cleanup and split of nfs client and server code.
...
This builds on the top of several repo-copies.
2001-09-18 23:32:09 +00:00
jhb
0fc343f1d8
- If we ever do the per-cpu KTR stuff, the index won't be volatile as it
...
will be private to each CPU.
- Re-style(9) the globaldata structures. There really needs to be a MI
struct pcpu that has a MD struct mdpcpu member at some point.
2001-09-18 21:46:26 +00:00
mr
fc0a6c1596
Add a wrapper for linux_getsid -> getsid Syscall.
2001-09-15 09:57:30 +00:00
mr
99ae75a097
Implement LINUX_[SEM|IPC]_[STAT|INFO]
...
to make /compat/linux/usr/bin/ipcs -s happy.
PR: kern/29698 (part)
Reviewed by: audit
2001-09-15 09:50:38 +00:00
marcel
c727378338
Fix off by one error introduced by the use of the ifnet_byindex()
...
macro. The commit log clearly states that the index given to the
macro is one higher than previously used to index the array. This
wasn't represented in the code and resulted in kernel page faults.
Reported by: Andrew Atrens <atrens@nortelnetworks.com>
2001-09-14 08:04:25 +00:00
jhb
c033f80c47
Whitespace fixes.
2001-09-12 22:00:06 +00:00
jhb
2a7190bd15
Style(9) fixes.
2001-09-12 21:57:30 +00:00
jhb
b7943aa8cf
Restore style(9) fixes from commit prior to previous commit.
2001-09-12 21:56:28 +00:00
julian
5596676e6c
KSE Milestone 2
...
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org , dillon@freebsd.org
X-MFC after: ha ha ha ha
2001-09-12 08:38:13 +00:00
peter
335f7eeb63
Fix a warning. Dont convert away from const to just re-add it in the
...
wrapped function.
2001-09-10 10:48:19 +00:00
dfr
e755df50cd
Implement support for MAXMEM option and hw.physmem environment variable
...
which can be used to artificially reduce the memory size of a machine
for debugging (or other) purposes.
2001-09-10 07:03:59 +00:00