Commit Graph

167854 Commits

Author SHA1 Message Date
pooka de0571f1e7 regen 2008-03-11 22:52:37 +00:00
pooka 5354d1092b Add locations for rump_syscalls.[hc] files 2008-03-11 22:51:51 +00:00
pooka f2976c3905 Generate syscalls entry points which can be called directly without
going through a syscall trap.  These are currently useful for rumps.
As all the standard syscalls are not compiled into librump, mark
relevant ones with RUMP in syscalls.master.  To do e.g. a mkdir
"system call" from a rump, one would call

  rump_sys_mkdir("/dir", mode, &eval);

where the last value represents something to store errno into.
2008-03-11 22:50:10 +00:00
joerg aa717955e2 Use CPUID2EXTFAMILY and CPUID2EXTMODEL. 2008-03-11 22:43:08 +00:00
dyoung 7f0a735df6 Use device_t and accessors. 2008-03-11 22:26:14 +00:00
dyoung 78a6c4d71a pci_disable_retry() is now a no-op, so don't call it any more. 2008-03-11 20:55:32 +00:00
dyoung db4f43a7cd pci_disable_retry() is now a no-op, so don't call it any more. 2008-03-11 20:45:04 +00:00
matt 9b9164cc52 on MP systems, whenever we change a PTE, make to sync the data cache so that
other processors can see the change.
2008-03-11 20:44:01 +00:00
dyoung 0dddb5735e Finish the job: pci_disable_retry() is now a no-op, so don't call
it any more.
2008-03-11 20:41:35 +00:00
pooka ab7b2e9a1b missed this 2008-03-11 20:40:58 +00:00
dyoung 5f07fde2c9 pci_disable_retry() is now a no-op, so don't call it any more. 2008-03-11 20:40:51 +00:00
joerg e1032da53f Don't skip ioctls with a digit in the name.
Add a number of conflicting entries.
Add some entries from the IPv6 stack where the used structure is not
exported to userland.
2008-03-11 20:39:57 +00:00
dyoung e33cbf5cfc pci_disable_retry() is now a no-op, so don't call it any more. 2008-03-11 20:39:24 +00:00
tonnerre 974efd2037 Dutifully add myself to the list 2008-03-11 19:19:14 +00:00
agc 3d22733587 Enable the alternate character set on Eterms.
Oh, so *that's* what dtvm and centericq should look like...
2008-03-11 18:47:57 +00:00
rmind ca99f7a582 - Perform periodical balancing of CPU-bound threads, which tends to
never sleep.  Should fix PR/37245 by <yamt>.
- Fix a regression - dissalow catching of bound threads.  Also, allow
  migration of non-bound kthreads, this restriction seems pointless.
- Few micro-optimisations, misc.
2008-03-11 18:18:49 +00:00
rmind 38b8e432cc Add "This API is expected to be compatible with the APIs found in Solaris and
HP-UX operating systems" into the STANDARDS section, as discussed with <wiz>.
2008-03-11 18:09:40 +00:00
rmind 1c7eae5598 Use size_t to avoid overflow when sorting large arrays. While here, ANSIfy.
Obtained from FreeBSD (das@).
2008-03-11 18:04:59 +00:00
joerg a7e72b4b2f Avoid unaligned pci_conf_read. 2008-03-11 13:36:14 +00:00
uwe 08aeb1f9ef Use angle brackets in UUDECODE_FILES_RENAME_<fn> as we do for other
file-specific variables.  Start description on new line.

While here correct s/<fn>>/<fn>./ typo in a nearby item.
2008-03-11 13:33:16 +00:00
pooka a7ece3ec53 Backup some fixes for recent breakage from local tree. Also some
other improvements such as exporting the real kernel namei and
using that in ukfs instead of the homegrown heap'o hacks namei.
"etcetc".
2008-03-11 10:50:16 +00:00
aymeric fc91709981 The hpcsh kernel does for sure USE_MBR. Make disklabel use it too on hpcsh.
With this, it is possible to bootstrap a MBR partitioned CF card without
partitioning and disklabelling it first on another platform.
2008-03-11 08:18:22 +00:00
matt fad3202138 This file is no longer used. 2008-03-11 05:43:35 +00:00
matt 9586b67527 Update to new world order 2008-03-11 05:43:17 +00:00
matt dfba816635 Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code.  Move to prototype definitions.  staticfy, constify, avoid casting.
Use device_* accessors.
2008-03-11 05:34:01 +00:00
mjacob 0e65dd74d1 Checkpoint of some fairly major isp(4) rototilling.
Reintroduce more of a 'channel' concept in preparation for NP-IV support.
This gets rid of the chanA/chanB concept as the 2400 can have up to 128
virtual channels. Actually, with MID firmware you can also have the 2200
and 2300 support 'channels, but they do it with an FL-Port topology.
Because FC cards can now have 'channels', just about every support
function for fibre channel had to be redone to have a channel index
as well.  Rototill isp_ioctl.h for channel stuff as well.

Pick up a lot of work about fabric management (hopefully better) and keep
work in place that will allow for dynamic attachment/detachment of devices
(if I can figure out how to make the midlayer support it).

Merge the target code with external trees. Eventually it might even
be sorted out on NetBSD.

Update some firmware stuff.
2008-03-11 05:33:30 +00:00
matt 103168eb06 foo() -> foo(void) 2008-03-11 05:31:00 +00:00
mjacob 70944bcde1 Make some changes to isp(4) options: add a disable for 2322 suppport;
remove the option for firmware crash dumps; add a ISP_VPORTS option
for virtual ports (24XX, coming soon).
2008-03-11 05:24:38 +00:00
matt 1746cafd1c Add device_lookup_private() which is just device_private(device_lookup(&cd, i))
Most callers don't want the device_t, they want their softc and that's what
device_lookup_private returns.
2008-03-11 02:42:41 +00:00
ad 6b4e6438d8 Add casts to avoid potential compiler warnings. 2008-03-11 02:26:47 +00:00
ad a108a15f5d Make context switch + syscall counters optionally per-CPU and accumulate
in schedclock() at "about 16 hz".
2008-03-11 02:24:43 +00:00
christos 45be95b786 add month names, from FreeBSD via anon ymous 2008-03-11 01:10:12 +00:00
christos 775ae7cec2 - add months + years in the language
- fix daylight savings bogus code
From FreeBSD via Anon Ymous
2008-03-11 01:04:18 +00:00
ad 3f5fa954a6 tsc_get_timecount: remove unneeded instructions. Pointed out by dsl@. 2008-03-11 00:40:38 +00:00
yamt b714b9dd42 in6_cksum: use IN6_IS_SCOPE_EMBEDDABLE. 2008-03-10 22:34:40 +00:00
yamt 15b5bc3e70 in6_cksum: avoid using -> operator and use (char *) arithmetics instead.
reviewed by Joerg Sonnenberger.  he pointed out that the original code
was written that way so that the compiler will explicitly not assume that
the alignment of the data is correct.  although i don't know if it really
matters or not, being safer is not a problem.
2008-03-10 22:29:13 +00:00
martin d8788e7fd7 Use cpu index instead of the machine dependend, not very expressive
cpuid when naming user-visible kernel entities.
2008-03-10 22:20:14 +00:00
ad 1d7e476b69 Update copyright for previous. 2008-03-10 22:04:06 +00:00
ad 907fdb3f79 Implement an optimized, preemption-safe asm version of tsc_get_timecount().
The C version needs work to be preemption safe. Cuts the clock cycles
for microtime() from 950 down to 300 on a Pentium D.
2008-03-10 22:03:40 +00:00
sketch 5c1ec14909 Fix console output. 2008-03-10 21:18:08 +00:00
dyoung 73e95caf73 Use device_t and accessors. Use aprint_*_dev().
Add a method for detaching children.  XXX acpi(4) may leak some
resources for each child detached.  Needs attention from someone
who understands acpi(4).
2008-03-10 20:58:38 +00:00
skrll 4bcfb62209 Don't use MKMAN=no define NOMAN instead.
Prompted by David Holland on tech-misc.
2008-03-10 20:19:28 +00:00
rmind f67f2ea584 Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 19:00:21 +00:00
he 71ca0c37fa As mrg@ informs me, delay slots are indented 1 and not 2 spaces. 2008-03-10 18:31:08 +00:00
he bbed82985f Fix the problem that CURBRK can't be referenced directly via R_SPARC_GOT13
here anymore (apparently libc grew too big).  Use sethi and %hi/%lo instead.
2008-03-10 18:28:43 +00:00
rafal b061c2d0d0 Fix syntax for the BUILD_STARTUP_PAGETABLE case. 2008-03-10 16:48:13 +00:00
rmind 2ac12931eb Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 14:47:06 +00:00
njoly fcf1e44d76 Do not hardcode sys_stub to the string "sys_nosys" for the not ignored
case. Just use the corresponding variable instead, to allow emulation
to use their own defined value.
2008-03-10 14:06:46 +00:00
ad ed4dfedcd6 Finish moving alpha over to the MI atomic ops. 2008-03-10 14:01:35 +00:00
ad d247e228e6 Use MI atomic operations. 2008-03-10 13:43:33 +00:00