Commit Graph

105548 Commits

Author SHA1 Message Date
pooka
f51be744dd Remove comment which wasn't supposed to get committed. 2010-06-14 13:28:44 +00:00
pooka
0733340220 Make some stubby tty routines used by printf weak aliases, so that
the full ones will be used if we have the upcoming tty component
loaded.
2010-06-14 13:25:40 +00:00
simonb
d1ea2eed63 Add a very basic <machine/bus.h> which nows seems to be mandatory in MI
code even if a port doesn't use it.

Based on code in private email from Havard Eidnes.  Thanks Havard!
2010-06-13 18:14:57 +00:00
pooka
9c6bb4c515 Move FLAWLESSCALL from rump_dev_private.h into rump_private.h
so it can be used outside of devices.
2010-06-13 16:49:01 +00:00
pooka
a2b72aafa2 Fix previous in emul.c -- only numbers are operands for cpp comparisons.
Apparently non-numbers logically produce arch-dependent behaviour.
2010-06-13 15:17:02 +00:00
simonb
599c2850cf KNF nit. 2010-06-13 13:43:02 +00:00
pooka
7ed9d6c421 deal with sun3's module disability 2010-06-13 11:35:41 +00:00
pooka
83474ef4e9 add rest of sparc pagesize variables 2010-06-13 11:05:58 +00:00
yamt
d512e902b3 aio_enqueue_job: don't bother to check curjob.
- it's an undefined behaviour anyway.
- the check sometimes prevent legal reuse of userland aiocb.
  note that the userland can notice the i/o completion and reuse the aiocb
  before the aio_worker kernel thread clears curjob.
2010-06-13 04:45:50 +00:00
yamt
d5dec378f9 increment p_nrlwps in lwp_create rather than letting callers do so
as it's always decremented by lwp_exit.  this fixes error recovery of
eg. aio_procinit.
2010-06-13 04:13:31 +00:00
yamt
136da85472 remove an unnecessary check of PK_MARKER 2010-06-13 04:08:49 +00:00
yamt
ef7d7e9667 update a comment. 2010-06-13 03:34:19 +00:00
yamt
e38edea451 use NULL instead of 0 for pointers. 2010-06-13 03:32:47 +00:00
yamt
60a28584a3 remove __dead from the prototype of lwp_exit, which actually can
return these days.
2010-06-13 03:31:28 +00:00
tsutsui
d6e42f548a Tidy up a comment. 2010-06-13 03:09:32 +00:00
tsutsui
5a93b5b6c1 No need to include PCI header files in bus independent code. 2010-06-13 03:08:15 +00:00
tsutsui
bfd673d735 Regen from usbdevs rev 1.555:
> Add vendor IDs and device IDs for forthcoming upgt(4),
> Intersil PrismGT wireless LAN.  From OpenBSD via FUKAUMI Naoki's patch
> posted on current-users:
> http://mail-index.NetBSD.org/current-users/2010/05/28/msg013570.html
2010-06-13 02:36:18 +00:00
tsutsui
732affbd88 Add vendor IDs and device IDs for forthcoming upgt(4),
Intersil PrismGT wireless LAN.  From OpenBSD via FUKAUMI Naoki's patch
posted on current-users:
http://mail-index.NetBSD.org/current-users/2010/05/28/msg013570.html
2010-06-13 02:33:54 +00:00
tsutsui
be8e5859f9 Apply fixes for PR port-arm/43339:
Set proper IPL_SOFTfoo values even in !FAST_SOFTINTS case.
 Some assertions in MI code expect they have unique values,
 per comments from rmind@.

Also cleanup various "interrupt hierarchy" code since IPL_NONE and
IPL_SOFTfoo should not be set by any hardware interrupt establish functions.

Ok'ed by mrg@, tested on shark and hpcarm.
2010-06-13 02:11:22 +00:00
tsutsui
ae9c6cd78f Put underline properly (not upperline) on CCW screen.
Tested on hpcarm WS003SH.
2010-06-13 01:55:24 +00:00
pgoyette
466066edf2 Regen 2010-06-12 23:16:02 +00:00
pgoyette
7610510ff8 Add a couple more product IDs for the ASIX Ethernet interfaces 2010-06-12 23:15:18 +00:00
macallan
ec4afcf862 add some more offsets
this should have been committed with the previous, noticed by he
2010-06-12 21:25:56 +00:00
jakllsch
4d4f33141e Fix memory leak during some NFS writes. 2010-06-12 21:10:55 +00:00
skrll
6a978a976d Correct the argument order of ifreqn2o conversion.
Fixes PR/42585.
2010-06-12 08:12:03 +00:00
pooka
4df1419c47 Support rumpkern components and rumpkern components depending on vfs init. 2010-06-12 07:13:54 +00:00
tnn
f39a1ea18b regen 2010-06-11 18:23:57 +00:00
tnn
8f6a87a7e4 add Samsung GT-B3710 LTE/4G broadband usb stick 2010-06-11 18:22:06 +00:00
pooka
9dac69e895 Fix DIAGNOSTIC. Moral of the story: don't comment xen kernels out of the
build even if you'd like to go to sleep earlier.
2010-06-11 07:32:32 +00:00
pooka
7f57b57dc8 Add infrastructure for kern compnents. This is meant for those
components which are too bloaty to be included in rumpkern (where
bloaty means "can be easily left out without anyone missing"), but
generally do not require the support of the dev/fs/net factions to
function.  As the first one, add ksems.  librumpcrypto will migrate
here too once I get my timeslice to deal with the setlists, as most
likely will tty support.
2010-06-10 21:56:42 +00:00
pooka
eacf4402b9 Use kern_proc.c instead of a collection of stubs. But what we
really wanted from this commit was the support for proc_specificdata.

TODO: make creating a new process actually use kern_proc and
maybe even add an interface which starts a process with
"any pid you don't like"
2010-06-10 21:40:42 +00:00
pooka
51542301d2 lwp0 seems like an lwp instead of a process, so move bits related
to it from kern_proc.c to kern_lwp.c.  This makes kern_proc
"scheduling-clean" and more easily usable in environments with a
non-integrated scheduler (like, to take a random example, rump).
2010-06-10 20:54:53 +00:00
jruoho
4dc5d3cab8 A small nit from the spec: _PSW should be called after _PTS. Thus call the
wakedev routine after AcpiEnterSleepStatePrep(). Unlikely to make any
difference whatsoever, but there might always be a BIOS writer who disagrees.
2010-06-10 20:36:55 +00:00
pooka
df76692de4 regen: ksem syscalls 2010-06-10 19:10:09 +00:00
pooka
13ce287a55 rump stubs for _ksem* 2010-06-10 19:09:03 +00:00
pooka
36e68995ca smoke the smoke, hack the hack, *beep* the *beep*, _KERNEL_OPT the _KERNEL_POT 2010-06-10 19:06:26 +00:00
macallan
3ab6a60f8f Add a couple more hw offset definitions, add an ioctl() to set colour depth
which works like Solaris and Linux, and finally make mmap() behave like an
actual CG14. This should be all we need to get Xorg's suncg14 driver going.
2010-06-10 13:21:13 +00:00
phx
39b0fd3abd The sandpoint port is now focussed on 824x based NAS boxes.
Replaced GENERIC by GENERIC.NAS.
Added INSTALL_KURO for KuroBox.
GENERIC.NAS and RAMDISK are no longer needed.
2010-06-09 17:34:32 +00:00
pooka
451e6b4882 Version rumpuser ABI with a lightweight mechanism. 2010-06-09 14:08:17 +00:00
pooka
4fe99aa4c5 initialize specificdata for lwp0 too 2010-06-09 13:51:02 +00:00
pgoyette
37a665ebbb Revert previous - it was committed unintentionally along with other changes. 2010-06-09 13:33:13 +00:00
pooka
aad71fb6e2 On amd64, allocate module_map memory from the lowest 2GB. 2010-06-09 12:02:37 +00:00
pooka
3f4944e6bb Add the ability to specify a preferred address the "map anon memory"
hypercall.
2010-06-09 11:35:36 +00:00
pooka
4b8e90305c Similarly to cv_wait, fail if trying to cv_wait_sig() without threads. 2010-06-09 07:54:13 +00:00
kiyohara
58ab5c2ec0 Add mvgbe and gtpci.
Change gt devices to MI from evbppc.
2010-06-09 04:48:02 +00:00
kiyohara
5358a961b8 Indent. 2010-06-09 04:44:01 +00:00
kiyohara
2581e047dd Support MV64361 on PegasosII by gt(4).
+ Support gtpci@gt instead of pegasospci more smartly.
  + Support Gigabit Ethernet by mvgbe@gt.
2010-06-09 04:41:42 +00:00
mrg
0196355634 pci_chipset_tag_t is opaque - don't compare it to NULL, just use it.
shouldn't be a problem because "acpi_softc" variable isn't setup until
the "sc_pc" member is set.

fixes ia64 build.  tested on amd64.  ok jruoho.
2010-06-09 04:20:10 +00:00
mrg
43b100a118 document the acorn26, i386, ia64 and vax ddb commands in both the builtin
help and in ddb.4.  fixes PR#38304, PR#38305, PR#38309 and PR#38313.
2010-06-09 02:48:52 +00:00
mrg
682fe43442 declare 'struct pci_attach_args' before it is used. fixes ia64 build. 2010-06-09 02:39:32 +00:00