trhodes
52ff34dd11
Add a ugidfw_load() function and fix up some of the scripting in this file.
...
This will allow better integration with the ports system.
Submitted by: clement
2005-04-02 00:01:03 +00:00
imp
6a96427b33
When $MACHINE != $MACHINE_ARCH, install $MACHINE_ARCH/include into
...
/usr/include/$MACHINE_ARCH in addition to installing $MACHINE/include
into /usr/include/machine.
2005-04-01 23:22:01 +00:00
imp
35414c8894
Add reach-over include files to read i386/foo.h. In time, the pc98
...
specific code will migrate to these files to augment or replace the
version in i386/include and/or i386/linux. This should, in the
fullness of time, allow many of the #ifdef PC98 in the tree.
# These files are in the public domain because there is insufficient
# creative content in them. When you customize them, please add a
# copyright notice and license.
OK'd in principle by: nyan@
2005-04-01 23:19:43 +00:00
imp
aba0fc4be0
Add i386 to machine lines
2005-04-01 22:59:25 +00:00
jmg
94c121de07
fix misspelling of 0x30...
...
Spotted by: reviewing MFC commit
2005-04-01 22:56:37 +00:00
imp
30365aff3a
Update version number for latest config version bump
2005-04-01 22:56:10 +00:00
imp
245a07a053
Allow one to specify a second parameter to the machine line. This
...
allows us to specify the machine_arch as well as machine. If
specified then a second link will be made, similar to machine, from
$MACHINE_ARCH to $S/$MACHINE_ARCH/include.
This is for ports where MACHINE != MACHINE_ARCH (pc98 today, others in
the future?).
Reviewed by: arch@, nyan@
2005-04-01 22:54:22 +00:00
scottl
45160e9067
Make life easier on those trying to use the asr utilities by automatically
...
creating the /dev/dpti%d entry that the software expects. This is just
a band-aid until either someone (hopefully) rewrites the utilities, or all
asr/dpt cards in existance get blasted into the sun.
2005-04-01 22:12:53 +00:00
jhb
a3c6b782c3
- Change the vm_mmap() function to accept an objtype_t parameter specifying
...
the type of object represented by the handle argument.
- Allow vm_mmap() to map device memory via cdev objects in addition to
vnodes and anonymous memory. Note that mmaping a cdev directly does not
currently perform any MAC checks like mapping a vnode does.
- Unbreak the DRM getbufs ioctl by having it call vm_mmap() directly on the
cdev the ioctl is acting on rather than trying to find a suitable vnode
to map from.
Reviewed by: alc, arch@
2005-04-01 20:00:11 +00:00
scottl
9683bbdf3f
FIx a botch with the addition of the arcmsr driver.
2005-04-01 19:32:12 +00:00
imp
19c20cfcc2
Don't build arcmsr on pc98. The card either won't fit/work in the
...
pc98 machines because (a) it is PCIe or PCI-X (b) there's a BIOS that
must run at boot which assumes IBM-AT compatible boot environment.
Noticed by: scottl
2005-04-01 17:40:39 +00:00
wpaul
5f091f4a37
Fix another KeInitializeDpc()/amd64 calling convention issue:
...
ndis_intrhand() has to be wrapped for the same reason as ndis_timercall().
2005-04-01 16:40:22 +00:00
harti
a366657808
Use a type-safe intrusive list to put jobs on the jobs or stoppedJobs list
...
instead of the generic Lst.
2005-04-01 16:24:25 +00:00
harti
b2e188d271
Remove a forward declaration that isn't needed anymore.
2005-04-01 16:23:48 +00:00
jmg
b2cee2c19c
move the statement about switching power states to just before we do it, so
...
we don't print a false statement if the destination powerstate is
unsupported...
2005-04-01 16:22:50 +00:00
harti
992d45983f
Both struct Job and struct Shell are only used inside job.c so there is
...
no need to have them in a header file that is included by other modules.
Move them both into the c-file.
2005-04-01 13:35:35 +00:00
harti
69c4bf767a
Style: fix indentation.
2005-04-01 13:25:45 +00:00
harti
d6f9d698c0
Style: fix indentation.
2005-04-01 13:06:05 +00:00
harti
ae0fcd1f54
Style: indentation.
2005-04-01 13:02:17 +00:00
harti
5eacd6ebd8
Style: Indentation.
2005-04-01 12:42:03 +00:00
harti
52707a6f25
Style: fix indentation.
2005-04-01 12:31:15 +00:00
harti
b4343e6f86
Style: fix indentation.
2005-04-01 11:20:17 +00:00
harti
0f7b53389d
Style: fix indentation.
2005-04-01 11:12:29 +00:00
des
ed2180b0e1
MFi386 (1.610): let TUNABLE_ULONG_FETCH handle the suffix.
2005-04-01 10:59:13 +00:00
harti
3cb4e5dca4
Style: fix indentation.
2005-04-01 10:53:43 +00:00
brueffer
9f5077e5fa
Reword the HARDWARE section to include the driver name (important for
...
the hardware notes that are generated from it).
2005-04-01 10:36:09 +00:00
imp
0bc32cf437
arcmsr_make_timespec, and arcmsr_getcmos_time appear to be unused, and
...
reference functions that don't exist on at least pc98. #if 0 them
out. This should fix the pc98 tinderbox breakage. Tested only on
i386 and pc98.
2005-04-01 07:15:52 +00:00
grehan
a6baad1fc1
Introduce channel-level setmode newbus method.
...
Thanks to sos for the code re-org that allowed this.
2005-04-01 03:28:55 +00:00
imp
33abdc3f0d
Since there are now more than a couple exceptions to the i386 rule,
...
group them better.
2005-04-01 01:45:03 +00:00
imp
3a43d0c97e
There's no wl cards for PC98. These are ISA only, and no cbus
...
versions exist, much less having support for it in the wl driver.
Therefore, don't build wlconfig.
2005-04-01 00:57:22 +00:00
imp
bab952af02
pcvt doesn't exist on pc98, so don't build pcvt routines that have no
...
value.
2005-04-01 00:32:45 +00:00
imp
e1ddc1ffec
There's no acpi in pc98 machines, nor do we build it into the kernel.
...
Therefore, don't build the acpi userland binaries either.
OK'd by: nate
2005-04-01 00:30:42 +00:00
cperciva
ccca7719c7
Note the passing of Cameron Grant <cg@FreeBSD.org>.
...
Approved by: quiet1
2005-03-31 23:15:14 +00:00
jhb
047dd93dbd
Use kern_settimeofday() to avoid stackgap use.
2005-03-31 22:58:37 +00:00
jhb
38bfdc988f
- Use a custom version of copyinuio() to implement readv/writev using
...
kern_readv/writev.
- Use kern_settimeofday() and kern_adjtime() rather than stackgapping it.
2005-03-31 22:58:13 +00:00
jhb
85631bfe15
- Use a custom version of copyinuio() to implement readv/writev using
...
kern_readv/writev.
- Use kern_sched_rr_get_interval() rather than the stackgap.
2005-03-31 22:57:21 +00:00
jhb
a9a1057e5e
Use a custom version of copyinuio() to implement osf1_{read,write}v() via
...
kern_{read,write}v().
2005-03-31 22:56:14 +00:00
jhb
76cb101294
Actually commit the code for kern_sched_get_rr_interval().
2005-03-31 22:54:48 +00:00
peter
7df6205a90
Since the question keeps coming up, explain why the -mno-sse etc switches
...
are there and that it does not have an effect on user applications.
2005-03-31 22:53:58 +00:00
jhb
72d1a40cb6
Implement kern_adjtime(), kern_readv(), kern_sched_rr_get_interval(),
...
kern_settimeofday(), and kern_writev() to allow for further stackgap
reduction in the compat ABIs.
2005-03-31 22:51:18 +00:00
jhb
d0940291b4
Bring back the WITNESS_WARN() check to _STOPEVENT() as all the callers have
...
been fixed for quite a while now.
2005-03-31 22:50:14 +00:00
jhb
31fedfa192
- Denote a few places where kobj class references are manipulated without
...
holding the appropriate lock.
- Add a comment explaining why we bump a driver's kobj class reference
when loading a module.
2005-03-31 22:49:31 +00:00
jhb
0deac201a8
Drop a bogus mp_fixme(). Adding a lock would do nothing to reduce userland
...
races regarding changing of jail-related sysctls.
2005-03-31 22:47:57 +00:00
jhb
c123547bf8
- Fix some sign extension problems with implicit 32 to 64 bit conversions.
...
- Fix the mmap2() wrapper to not truncate high addresses.
Submitted by: Christian Zander
2005-03-31 22:47:18 +00:00
sam
55bfc727ad
plug resource leak
...
Submitted by: mdodd
Noticed by: Coverity Prevent analysis tool
2005-03-31 21:58:53 +00:00
sam
1c0a6f68b0
fix potential null ptr deref
...
Noticed by: Coverity Prevent analysis tool
2005-03-31 21:55:09 +00:00
sam
c5daf66e39
avoid null ptr deref
...
Noticed by: Coverity Prevent analysis tool
2005-03-31 21:53:21 +00:00
sam
4fe3104d70
avoid use after free
...
Submitted by: gibbs
Reviewed by: mdodd
Approved by: Coverity Prevent analysis tool
2005-03-31 21:43:19 +00:00
sam
861e0f363c
avoid use after free
...
Submitted by: gibbs
Reviewed by: mdodd
Noticed by: Coverity Prevent analysis tool
2005-03-31 21:42:49 +00:00
wpaul
6848972c73
Apparently I'm cursed. ndis_findwrap() should be searching ndis_functbl,
...
not ntoskrnl_functbl.
2005-03-31 21:20:19 +00:00