Commit Graph

158801 Commits

Author SHA1 Message Date
jld 42863036e1 Note xen timecounterizing. 2007-05-12 07:17:24 +00:00
jld 51e5b25976 Convert the xen port to use timecounters; ok'ed by bouyer@. 2007-05-12 07:06:54 +00:00
isaki 9d588b5c20 Rev 1.24 that I had changed was a mistake. sorry.
1200K is the total size of a floppy.
2007-05-12 06:32:19 +00:00
isaki 23df019b96 Clean up white spaces and tabs. 2007-05-12 06:31:18 +00:00
isaki 9b78dfb5bb Remove a local block for readability. 2007-05-12 06:28:41 +00:00
isaki 5b51f6777d Remove an unnecessary semicolon. 2007-05-12 06:17:38 +00:00
dyoung c7cb104b6b KNF. Use sockaddr_in_init(). Shorten staircases. No functional
changes intended.
2007-05-12 02:10:25 +00:00
dyoung 9552c98d25 Use sockaddr_in_init(). 2007-05-12 02:03:15 +00:00
pooka 46dc457634 copyright adjustment 2007-05-11 21:44:00 +00:00
pooka e9cad0cef9 move puffs request dispatching code into it's own module.
no functional change
2007-05-11 21:42:42 +00:00
christos 67695a4835 Make us standards compliant again. Return EINVAL in all cases (except for
mmap) so we cannot tell what went wrong.
2007-05-11 21:30:23 +00:00
pooka 3a7dcceb40 use puffs_mainloop(); puffs_framebuf_eventloop() is a goner 2007-05-11 21:27:45 +00:00
pooka e94b19cfed Step 2 of general-purpose eventloop: get rid of puffs_framebuf_eventloop().
puffs_mainloop() now handles that functionality as well.
2007-05-11 21:27:13 +00:00
dyoung 77f29c84d1 Note my PF changes. 2007-05-11 20:48:55 +00:00
christos 5e0b06ff45 Improve on previous and write a RANGE_TEST macro and do it on all the
system calls instead of doing a half-assed job on some of them and none
on others.
2007-05-11 20:41:14 +00:00
christos c5a89b37a0 fix bogus wrap tests; ssize_t != int... 2007-05-11 20:05:50 +00:00
dogcow 107a17be60 As Jukka Salmi pointed out, the previous version had duplicated lines;
this is because I committed the wrong (and much larger) version of the file.
Oops.
2007-05-11 18:52:46 +00:00
jnemeth 50c13cb87a Fixed formatting. Problem was that we were trying to get the result
of a data transfer operation immediately after the data transfer
was finished, instead of waiting for the chip to interrupt us and
tell us that it was finished and had the result for us.  This worked
okay for read and write since the operation would be finished very
shortly after the data transfer completed.  However, with formatting,
the chip still had most of the rest of the track to do, so we ended
up timing out before the operation was finished.  This fix is from
sparc64/dev/fdc.c and was tested on sparc by tnn@.
2007-05-11 18:12:16 +00:00
jnemeth 9d8e6e5668 revert last; committed wrong file 2007-05-11 18:10:57 +00:00
jnemeth 4cbad60727 Fixed formatting. Problem was that we were trying to get the result
of a data transfer operation immediately after the data transfer
was finished, instead of waiting for the chip to interrupt us and
tell us that it was finished and had the result for us.  This worked
okay for read and write since the operation would be finished very
shortly after the data transfer completed.  However, with formatting,
the chip still had most of the rest of the track to do, so we ended
up timing out before the operation was finished.  This fix is from
sparc64/dev/fdc.c and was tested on sparc by tnn@.
2007-05-11 17:48:16 +00:00
pooka 5069b5df0c adapt to puffs_framebuf changes 2007-05-11 16:23:00 +00:00
pooka 2b8177d9fc Step 1 in moving towards a general-purpose eventloop: allow the
framebuf event loop to take n i/o fd's as parameters and also allow
dynamic add/remove of fd's.  (not tested except for one fd, but more
changes coming soon)
2007-05-11 16:22:38 +00:00
gdt e4a548be77 belatedly add:
coda: overhaul kernel module (vnode locking rules, uvm_fault
		handling, general cleanup) [gdt 20070415]
2007-05-11 14:34:06 +00:00
fvdl 3f7e9a7e0d Don't save/restore %fs and %gs in trapframe. The kernel won't touch them.
Instead, save/restore them on context switch. For 32bit processes, save/restore
the selector values only, for 64bit processes, save/restore the appropriate
MSRs. Iff the defaults have been changed.
2007-05-11 14:01:46 +00:00
is a1569485fe SigmaTels not-quite-UIRDA devices: STIr4116, STIr4220 2007-05-11 13:12:14 +00:00
tsutsui b01d9ed02f uvm.page_idle_zero now is a bool, not a 32bit value any more.
Pointed out by Matthew Orgass in PR port-hpcmips/36249.
2007-05-11 12:56:01 +00:00
tsutsui 31c6ef6761 Add temporary workaround for PR kern/36019 (panic on sun2 and sun3).
Ok'ed by yamt.
2007-05-11 12:11:09 +00:00
pooka a2b224da1f Error with rtagid instead of tagid. caught by Dan's compiler flags. 2007-05-11 11:43:08 +00:00
rumble 0732a5ddbc IP12's PROM passes us a '-a' flag in argv when booting directly from the
disk volume header. On NetBSD this means RB_ASKNAME, however in SGI terms
it appears to mean 'autoboot'.

Add an appropriate kludge to keep us from doing the wrong thing.

XXX - This whole argv/env/prom parameter mess needs to be cleaned up.
2007-05-11 02:30:00 +00:00
rumble 18ae6034fe Make this compile again (untested). 2007-05-11 02:25:34 +00:00
rumble 7a969b00a1 Update a prototype corresponding to rev. 1.36 of sgimips/autoconf.c. 2007-05-11 01:40:18 +00:00
dogcow c1583b0d2c Since /etc/services has gotten rather large, use a minimal one for install
kernels. (mount_nfs is notably the only binary that doesn't gracefully deal
with the lack of an /etc/services file, it appears.)
2007-05-10 23:22:27 +00:00
dyoung e096ddfc8a Document state policy flags for 'nat' and 'rdr' rules. 2007-05-10 23:03:22 +00:00
dyoung f7748bc6aa pfctl: extend pf.conf(5) syntax. Let the operator supply an optional
"state lock" flag (if-bound, gr-bound, floating) at the end of a
NAT rule.  The new syntax is backwards-compatbile with the old
syntax.

PF (kernel): change the macro BOUND_IFACE() to the inline function
bound_iface(), and add a new argument, the applicable NAT rule.
Use both the flags on the applicable filter rule and on the applicable
NAT rule to decide whether or not to bind a state to the interface
or the group where it is created.
2007-05-10 22:30:54 +00:00
xtraeme d4be10ac51 Typo: prop_dictionary_receive_ioctl -> prop_dictionary_recv_ioctl.
Bump date.
2007-05-10 22:15:47 +00:00
christos 48f401a8e0 - linux uname -m on x86 returns i{3,4,5,6}86 make it so.
- delete the machine sysctl that never worked, and gc linux_machine.
2007-05-10 21:30:14 +00:00
rumble 7ab6f41450 A few changes to allow booting to multi-user with IP12 kernels squished
into oversized volume headers:

Query ARCBIOS for OSLoadFilename and OSLoadOptions first, rather than only
using the environment variables passed since we want to go through arcemu.

Add an ugly hack to arcemu that munges the nvram 'bootfile' variable. We
need this because bootfile will point to the volume header, which then
translates into a bogus root device of 'sd0i', or similar.
2007-05-10 21:24:37 +00:00
dsl c1079eace9 Use '.equ' instead of '.set' when defining global constants.
On alpha '.set' has a non-standard purpose.
2007-05-10 21:01:14 +00:00
christos f8178c49fa use syslog_r, from OpenBSD 2007-05-10 18:44:24 +00:00
plunky 09f74f05a1 add ChangeLog note about kauth(9)
(from Elad)
2007-05-10 18:34:02 +00:00
rumble 649a7beb38 Sanity check the environment variable first. 2007-05-10 17:45:58 +00:00
christos 2f776ce02e Move .db files for services and netgroup to /var/db per gimpy's request. 2007-05-10 17:45:50 +00:00
rumble dd214a45b1 Clean up extracting environment variables passed by the prom. No functional
change.
2007-05-10 17:27:05 +00:00
christos ef061fd462 move the #if 0 down a few lines so linux_machine gets initialized. Pointed
out by Joachim K�nig
2007-05-10 17:12:32 +00:00
tsutsui 25476aa317 Pull a fix for PCIe variants from FreeBSD's if_re.c rev 1.71:
> - With the PCIe devices, it looks issuing a TX command while there's
>   already a transmission in progress doesn't have any effect. In other
>   words, if you send two packets in rapid succession, the second one may
>   end up sitting in the TX DMA ring until another transmit command is
>   issued later in the future. Basically, if re_txeof() sees that there
>   are still descriptors outstanding, it needs to manually resume the
>   TX DMA channel by issuing another TX command to make sure all
>   transmissions are flushed out. (The PCI devices seem to keep the
>   TX channel moving until all descriptors have been consumed. I'm not
>  sure why the PCIe devices behave differently.)
2007-05-10 14:04:47 +00:00
pooka 7806d3dfc4 assert that yield/continue is done only with a real continuation 2007-05-10 12:36:44 +00:00
pooka 4966e1c1de Add some kludges to be able to execute requests on the regular program
stack instead of the continuation stack.  This is for lib/36011, where
pthread gets confused since we aren't running on the regular stack.
I'm not really sure which direction to go to with this quite yet, so
make the hack hard to enable on purpose.  The whole request dispatch
code needs cleaning anyway.
2007-05-10 12:26:28 +00:00
lukem 8b1e1fad90 Switch from fparseln() to the internal getline() when parsing HTTP headers.
Makes ftp a bit more portable (not needing fparseln()) at the expense of not
supporting arbitrary long header lines, which I'm not concerned about
because we don't support header line continuation either...
2007-05-10 12:22:04 +00:00
he e085b08462 The sl_delete function needs namespace protection added here as well. 2007-05-10 11:52:28 +00:00
itohy bc7976e5a8 Add missing " 2007-05-10 09:08:38 +00:00