Commit Graph

218626 Commits

Author SHA1 Message Date
yamt
8782935dec try to sync lists of rc.d scripts 2013-05-16 07:37:05 +00:00
martin
e2eacae3cf Assume that the NAT failures that happen on some architectures are endianess
bugs, so do not expect failure on LE archs for now.
2013-05-16 07:20:29 +00:00
wiz
890db9708a More markup, less typos. 2013-05-15 22:09:32 +00:00
pooka
cb9dd91b47 one more bump for the recent changes 2013-05-15 21:53:27 +00:00
pooka
2c11ecf9d5 regen 2013-05-15 21:41:25 +00:00
pooka
4acfc19072 Support utimes/futimes. Makes at least fsu_touch work on these platforms. 2013-05-15 21:39:30 +00:00
pooka
03395b4cf5 also, bsd.own.mk to pick up mk.conf 2013-05-15 20:47:20 +00:00
pooka
5666bf4b73 Make it possible for external parties to specify additional dplibs.
This is useful for example on platforms which require -ldl.
2013-05-15 20:27:00 +00:00
pooka
0886294feb bump version for rumpuser changes 2013-05-15 19:30:46 +00:00
pooka
907ce8379e Improve documentation on the locking order of cv_wait mtx/cpu. 2013-05-15 17:53:09 +00:00
pooka
b2d1226abe Don't change a read-only file system. 2013-05-15 16:44:03 +00:00
pooka
646d62fa28 Looks like I'm done revamping, so bump interface version to 17,
where it will hopefully stay for all eternity (unless some snafus
are discovered before NetBSD 7).
2013-05-15 16:00:04 +00:00
pooka
3306a659de Add a generalized rumpuser_syncfd() call which allows the caller
to request a sync or a barrier for fd.
2013-05-15 15:57:01 +00:00
pooka
601de6b09f Pass off_t over the hypercall interface as int64_t to avoid potential
problems in setups where off_t doesn't want to be 64bit.

I'm already excitedly waiting for 128bit off_t and _LARGE_LARGE_FILES
2013-05-15 14:58:24 +00:00
pooka
15dc8bf975 Pass enums over the hypercall interface as ints to avoid some
pathological scenarios from arising in setups where enums might be
of a different size in the rump kernel and hypervisor.
2013-05-15 14:52:49 +00:00
pooka
d0d5069c1a Add RUMPUSER_LWP_CLEAR instead of overloading RUMPUSER_LWP_SET.
This simplifies some alternative hypervisor implementations.
2013-05-15 14:07:26 +00:00
pooka
6c053402cc how did that extra asterisk get there? 2013-05-15 13:58:14 +00:00
pooka
c0581b57ac qlock can now be a regular kernel spin mutex instead of a rumpuser mutex. 2013-05-15 12:49:33 +00:00
reinoud
f43ad323df Add (arbitrary) USB serial port support.
XXX why aren't other classes of USB devices added?
2013-05-15 12:20:04 +00:00
reinoud
378dbe5767 Add missing filesystems in the filesystem list but comment them out.
Add missing KGDB options needed for KGDB working
2013-05-15 12:16:41 +00:00
msaitoh
8fa08c1e4c - Add KERNHIST and KERNHIST_PRINT.
- Update UVMHIST and UVMHIST_PRINT.
2013-05-15 05:47:10 +00:00
msaitoh
b126aa9f41 s/can be displayed be calling/can be displayed by calling/
XXX pullup-5
2013-05-15 05:30:33 +00:00
msaitoh
56fd90edea Change from deleted "show uvmhist" to "show kernhist".
XXX pullup-6
2013-05-15 05:22:43 +00:00
christos
cb39557cb2 %td is for ptrdiff_t not for off_t 2013-05-15 00:47:43 +00:00
christos
9eea140044 avoid stdio assertion, failing later 2013-05-15 00:35:02 +00:00
elric
cdfc977bf0 principals have principles. 2013-05-14 15:33:21 +00:00
tsutsui
d4d20b3fd3 Don't call sh4_icache_sync_all() before sh_cache_ops is initialized.
Instead, use SH4_EMODE_CACHE_FLUSH() or SH4_CACHE_FLUSH() macro to
invalidate cache before initializing CCR.
This seems to suppress random file system corruption on wd(4) at acardide(4)
(which uses bus-master DMA and calls many cache flush ops) during pkgsrc
packages builds on landisk.
2013-05-14 14:11:43 +00:00
kiyohara
8f5c248d32 Add quirk for IODATA2 USB2SC.
This works target 0 only.  However supports 4 targets in spec.
2013-05-14 14:03:53 +00:00
tsutsui
b5342d4988 Add a definition of SCSCMR1, smart card mode register available on 7750 etc. 2013-05-14 13:53:47 +00:00
tsutsui
186ae29489 Add SET_X11_NOSERVERS for default installation sets.
Althrough landisk doesn't have any screen console (except possible udl(4)
and ukbd(4)), it's a good environment to build packages binaries for sh3el,
including dreamcast.
2013-05-14 13:41:48 +00:00
tsutsui
16f89144c7 Use softint(9) to pass received data into wskbd(9) and wsmouse(9) layers.
It might be problematic to call them from an interrupt handler at IPL_SERIAL.
2013-05-14 13:28:01 +00:00
tsutsui
18d49399c6 Remove pasted but obsolete comments. 2013-05-14 13:15:55 +00:00
tsutsui
8d0fe2ad86 Use the default MD_SETS_SELECTED for ports which have Xservers. 2013-05-14 13:14:27 +00:00
tsutsui
10c998805e Use the default MD_SETS_SELECTED in util.c which includes an Xserver set.
luna68k has working Xserver so no need to specify md MD_SETS_SELECTED
with SET_X11_NOSERVERS.
2013-05-14 13:08:57 +00:00
macallan
a1fe73c229 found the missing commit so put this back
am I the only one here with a Gdium?
2013-05-14 09:19:36 +00:00
macallan
beb0fd53d4 always set up a clockframe and make it available to other drivers, so clocks
other than the MIPS cycle counter can be used ( for example pwmclock )
2013-05-14 09:16:59 +00:00
mlelstv
34b99be967 The previous patch didn't apply cleanly, because our code doesn't
use #ifdef OPENSSL_HAS_ECC.
Apply manually.
Drop now unused len variable.
2013-05-14 05:18:11 +00:00
msaitoh
aa54c9127f Add some definitions.
Fix compile error.
2013-05-14 00:27:39 +00:00
christos
c3e11c3703 - avoid using globals where it is simple.
- simplify: only use stdio for output.
2013-05-13 18:44:11 +00:00
christos
1e2e5a9113 CVE 1020933: Prevent integer overflow by using wider type 2013-05-13 18:01:08 +00:00
christos
7d5016218f CVE 1020935: Prevent overflow 2013-05-13 17:58:50 +00:00
christos
748fc2c7c9 CVE 1020946: Fix res leak. 2013-05-13 17:54:55 +00:00
msaitoh
c2a5ba20dd For BGE_IS_575X_PLUS() devices, don't set BGE_RXLPSTATCONTROL_DACK_FIX bits because
these bits are reserved.
2013-05-13 17:10:58 +00:00
msaitoh
5d1fdce2a7 Set BGE_MISC_CTL's byte/word swap options before using bge_readmem_ind().
Fixes PR#47716.

 Re-enable NVRAM lock stuff again (i.e. revert rev. 1.233).
2013-05-13 17:08:20 +00:00
christos
f215d8eb4d make this compile again; macallan, please commit the right fix! 2013-05-13 16:01:31 +00:00
christos
2432e2b578 There is no opt_mvsoc.h; the #ifdef ARMADAXP should be changed to some
inherited device property.
2013-05-13 15:47:18 +00:00
christos
72812fcdca fix lossage from disklabel.h merge 2013-05-13 15:40:31 +00:00
christos
961429e30c CVE 1020938: Fix memory leak 2013-05-13 13:59:39 +00:00
wiz
e0a986bcb9 Make nanotime and getnanotime prototypes match.
Also, the BUGS section doesn't describe something fixable, so make
it a CAVEATS section instead.
Bump date.
2013-05-13 12:07:44 +00:00
macallan
dca95b2a79 get rid of mem_region.start_hi - if we can deal with 64bit addresses then
paddr_t is already 64bit anyway
2013-05-13 00:21:56 +00:00