Commit Graph

158850 Commits

Author SHA1 Message Date
christos a14fdbbe78 don't attempt to build the db file if the src file does not exist. 2007-05-13 17:23:56 +00:00
dsl a163d15464 This is deja vu - I fixed this earlier....
No need to use stackgap for ioctl to get PTM name, directly call file's
ioctl function with kernel buffer.
2007-05-13 16:04:00 +00:00
tron 5ab39134be Note that BIND 9.4.1 has been imported. 2007-05-13 15:59:00 +00:00
dsl 10b01b226a There is no need to copy data out to userspace when its address is being
passed to the driver as the ioctl 'data' argument.
Change boths parts to expect a kernel memory buffer.
2007-05-13 15:57:39 +00:00
dsl 06b3498b98 Fix compilation 2007-05-13 15:56:17 +00:00
dsl dc41e5b5bd Change the way the irix 32bit signal mask request is done to avoid the
stackgap.  I'm actually susre this code is buggy, possibly slightly less
so than before.
2007-05-13 15:39:29 +00:00
dsl 959f589c73 This code is already set for directly calling a files ioctl fn with a
kernel buffer - so why not use it when getting the slave pty number.
2007-05-13 15:38:14 +00:00
dsl 9e2165cbd3 Time functions have had wrappers for ~ages, no need for the stackgap gere. 2007-05-13 14:47:54 +00:00
dsl f23edc42dd Instead of the #define versions of tc_getfrequency() and nanouptime(), use
the function ones in kern_kern_clock.c (adding tc_getfrequency).
Adjust includes so this builds.
2007-05-13 14:43:52 +00:00
he eaf1c9f7c3 Bump SYMTAB_SPACE so that it fits again. 2007-05-13 14:18:57 +00:00
christos 4ef5a01a14 PR/36313: Juergen Hannken-Illjes: Change the name "rpcbind" to "sunrpc"
which is used in the new services.
2007-05-13 13:38:29 +00:00
yamt 4d3b7e04c8 use a cached value of v_size. no functional changes. 2007-05-13 13:11:53 +00:00
dsl b8cecbd5b3 Delete fom stackgap lines that seem to have got left in. 2007-05-13 11:06:41 +00:00
dsl 2cc0d0a9c4 Stop using the stackgap for time functions. 2007-05-13 11:04:11 +00:00
dsl 9a585a457d Stop using the stackgap for timer functions, fcntl locks and FIONREAD ioctl.
Add code for X_LK_RLCK - seemed to be absent!
2007-05-13 11:03:06 +00:00
dsl 88e6c5604d Add a #define for nanouptime() in the !__HAVE_TIMECOUNTERS case. 2007-05-13 10:58:50 +00:00
dsl 1c85a3efd8 Split sys_nanosleep(). 2007-05-13 10:34:25 +00:00
dsl d4540f5b2a Call sigaltstack1() directly instead of using the stackgap to call
sys___sigaltstack14().
Prototype up some code under #if 0 to use sigaction1().
2007-05-13 09:07:25 +00:00
dsl 0a4e8a3014 Remove the stackgap from some more flockking code.
Note that I've removed the bug where this code 'forgot' to use copyin/out
for the stackgap buffers.
2007-05-13 08:38:34 +00:00
he 555e8fd330 Bump SYMTAB_SPACE so that it fits again. 2007-05-13 08:26:21 +00:00
dsl e3b7b0151e Rework the svr4_32 fcntl support (again).
Make the same changes to the svr4 code.
Add some 'missing' simple_unlock(&fp->f_slock) to the svr4_32 version of this
code. These files now compare if feed the svr4_32 copy though:
	sed -e 's/4_32/4/g;s/_P32//g'
Note in passing that the code paths that call simple_unlock(&fp->f_slock)
are completely broken.
2007-05-13 08:14:06 +00:00
pavel 54d08e04eb remove the ipf 4.1.19 entry since we have 4.1.20 in CHNAGES.prev. 2007-05-13 07:00:41 +00:00
pavel 1c83c3880f fix grammar. 2007-05-13 06:59:17 +00:00
pavel 91e7249e1a move "ug at acpi" change to CHANGES.prev (ticket 633). 2007-05-13 06:58:16 +00:00
kent f5cb63973e Add PCI_SUBCLASS_MULTIMEDIA_HDAUDIO to pcireg.h
and azalia(4) uses it
2007-05-13 03:30:46 +00:00
kent c3b41473a8 * stac9221_gpio_unmute()
The target node should be the audio function group, not 0.
  Pointed out by Deanna Phillips

* stac9221_mixer_init()
  Enable GPIO unmute for Intel Macintosh
2007-05-13 03:28:19 +00:00
dsl 701496b5c6 Split the fcntl locking code out from its copyin/out.
Use to avoid all the stackgap stuff in compat code.
2007-05-12 23:02:49 +00:00
uwe 374def6c7e Sync with GENERIC 1.197 2007-05-12 22:44:45 +00:00
dsl 8beba9d093 There is no need to use the stackgap for get/setrlimit. 2007-05-12 21:07:02 +00:00
christos 058554bbc4 amd64 kern.ldscript can handle notes now 2007-05-12 21:00:00 +00:00
christos cb03f90c19 convert to a very simple kern.ldscript 2007-05-12 20:59:19 +00:00
pavel 9467b9a9ba add "DEC 3000" to the alpha section, to make clear to what machines does
it apply.
2007-05-12 20:46:33 +00:00
dsl ef3fdc4a07 Change interface to settimeofday1() so that it can also be used from
compat code in order to avoid the stackgap.
2007-05-12 20:27:13 +00:00
dsl dd490a6f18 Get rusage directly, not via 64bit linux call and stackgap. 2007-05-12 20:24:54 +00:00
dsl a08b772cae Fix comment and indent. 2007-05-12 20:23:36 +00:00
dsl c0ac33ed01 Remember to call calcru() before using the rusage values. 2007-05-12 18:10:20 +00:00
mhitch 2aacb7ab4a Changes to enable support of 8K pagesize. 2007-05-12 17:43:53 +00:00
dsl c83f8a10ad Change the compat sys_[fl]utime code to not use the stackgap. 2007-05-12 17:28:19 +00:00
mhitch 1f433a38eb Final changes to amiga kernel address space layout to match almost all the
other m68k ports (initially from the yamt-km branch a long time ago).

- move Sysmap to the end of address space.
- move Amiga hardware mapping to immediately after Sysptmap.
- tweak virtual_avail/end accordingly.

A DEBUG kernel should now boot without panicing.  Also, kernel address space
layout is now compatible with m68k/m68k/pmap_motorola.c.
2007-05-12 16:51:42 +00:00
abs 201c1005be sync with sys/arch/i386/conf, enable some USB devices 2007-05-12 15:11:16 +00:00
gavan 29031392e2 Now that we have extended PCI address space, we no longer have to avoid
configuring the graphics card.
2007-05-12 15:03:08 +00:00
gavan 392aeaadec Implement ATU Direct Window in order to increase available PCI address
space.
2007-05-12 14:34:03 +00:00
dsl 76bef02b3a Remove some more uses of the 'stackgap' - the code is a lot simpler if
we just access stuff like l->l_proc->p_stats->p_ru instead of copying it
to and from userspace.
2007-05-12 14:09:34 +00:00
bouyer 920d7a6afe Split the ahcisata driver in pci front-end and bus-independant back-end. 2007-05-12 11:04:58 +00:00
dsl a9a3224a5e Remove compat_util.o from these loadable modules. It will be in the kernel.
Should fix PR kern/36287
2007-05-12 10:45:01 +00:00
dsl e934daaae7 Enable the code that adds global constants to every kernel object file
that uses each configuration parameter.
This will stop kernel objects build with different options (that come from
config files) being linked together or loaded as a LKM.
Currently some options that have an effect on the kernel DDI/KI are passed
directly as parameters to cc.
An aim (for anyone adequately bored) would be to reduce the number of these
constants that appear in each .o file.  .o files with the same constants
should be sharable between kernels (even between XEN and i386).
2007-05-12 10:15:31 +00:00
pooka c495e43bb1 uint32_t vs. size_t pointer adjustments for LP64 build 2007-05-12 09:41:30 +00:00
jnemeth bb3f3ff1d6 the formatting bug has been fixed 2007-05-12 08:34:23 +00:00
pooka 354b8e48b8 use size_t instead of int to calm over-eager lint 2007-05-12 07:44:58 +00:00
jld 42863036e1 Note xen timecounterizing. 2007-05-12 07:17:24 +00:00