summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-04Add some documentation about the last change (nexthop verification andClaudio Jeker
extended rde rib syntax). OK sthen
2010-05-03document when the _timed{rd,wr}lock functions first appeared; from bradJason McIntyre
ok guenther
2010-05-03install cpp at /usr/libexec/ as with gcc2/3Dale Rahn
2010-05-03Support gcc4 with cpp (gcc4 binary to be installed in /usr/libexec/cpp).Dale Rahn
ok kettenis@
2010-05-03Make signal handler setup/teardown two common functions instead of six,Nicholas Marriott
and reset SIGCHLD after fork to fix problems with some shells. From Romain Francois.
2010-05-03Provide a disk_map() function which attempts to map a disklabel UID to theJoel Sing
actual device. If successful, the real path is returned via mappath. Soon to be used by several other diffs. ok krw@
2010-05-03Switch newfs to opendev(3) - this simplies the code and will allow it toJoel Sing
benefit from planned changes to opendev(3). ok krw@ marco@
2010-05-03Adjustments for multiple kroute table support. This adds a few new commandClaudio Jeker
arguments (show tables and show fib table 1, etc). Tested by sthen@, OK to move on by henning@
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
those for alternate RIBs. This allows to use "rde rib TESTIT rtable 1". NOTE: nexthop verification has changed for alternate tables. For now nexthop will only be verified against the main routing table (id 0). Because of this "nexthop qualify via bgp" may now compare the nexthops against bgpd routes from a different RIB. Tested by sthen@, OK to move on by henning@
2010-05-03Make C-] and other punctuation-based control key combinations work again.Ryan Thomas McBride
ok nicm
2010-05-03When running in pic mode we don't have enough general registers for allJonathan Gray
the xcrypt inputs, hence the dance which is done to make this work. The constraint for the key however was "mr" which is both from memory and from a general register, it seems gcc3 went with the former and gcc4 went with the later in the pic case, so change the constraint for the key to just "m" which gives us more efficient code that both gcc3 and gcc4 are happy with. ok kettenis@
2010-05-03Fix breakage from last commit. Bad guenther@, no cookie!Miod Vallat
2010-05-03Make powerpc consistent with the other platforms: SYM_SEARCH_OBJPhilip Guenthe
overrides SYM_DLSYM, so remove the latter ok drahn@, testing krw@
2010-05-02Use the newly built compiler for bootstrap purposes, more is needed forDale Rahn
actual cross support.
2010-05-02Properly initialize the members of `struct mdproc' that deal withMark Kettenis
single-stepping when we fork and reset them upon exec. ok miod@
2010-05-02Initialise the port in nslookup.c correctly. It was initialisedStefan Sperling
to zero in interactive mode, should be 53. Second half of patch submission by Nathan Rickerby (pr 6322). ok krw
2010-05-02Disable MASK_HARD_QUAD like we did for gcc3.Mark Kettenis
2010-05-02The line-discipline-specific ioctls return -1 to indicate thatStefan Sperling
the non-line-discipline-specific ioctl handler should be tried. So changing these to return ENOTTY was wrong. Noted on misc@ because of resulting pppd log spam (but it didn't break anything serious): http://marc.info/?l=openbsd-misc&m=127258856501621&w=2 ok sthen@, miod@
2010-05-02The Cyrix "coma bug" workaround code has a really convoluted way to write 0Mark Kettenis
into a magic register. Simplify the code by making this explicit, but keep the dummy read just in case this has a magic side-effect. And yes, as far as I can tell, writing 0 is really what was intended here. Makes gcc4 happy. No binary change with gcc3. ok jsg@
2010-05-02Remove unused softc member.Miod Vallat
2010-05-02Precompute the userland process apr cache bits into a global variable.Miod Vallat
On AViiON systems with the 6:1 CMMU:CPU configuration, force cached mappings to be writethrough - this probably hides a bug in the code, but that's the only way so far to get such a system running stably.
2010-05-02Add support for floating-point registers on OpenBSD/hppa.Mark Kettenis
2010-05-02simple modern trick (boot from usb).Marc Espie
Windows 7 niceties: yep, it can resize partitions. okay jmc@, krw@, miod@ (some rewording by jmc@)
2010-05-02sort options.Igor Sobrado
2010-05-02Fix breakage from last commit. Bad guenther@, no cookie!Mark Kettenis
2010-05-02Clean up device handling code to clarify different initialization phasesAlexandre Ratchov
and different device states. Split initialization in two phases: first global variables are initialized then the audio hardware is opened. Allow devices that don't support full-duplex to work in play-only or record-only mode, even if ``-m play'' or ``-m rec'' are not specified.
2010-05-02Use intermediate vaddr_t cast when casting a pointer to off_t. PreventsMark Kettenis
gcc4 from complaining about casting a pointer to an integer type of different size. ok guenther@, jsg@
2010-05-02Don't systematically fill with silence the mixer output. ThisAlexandre Ratchov
might result in extra samples being written to the device when the mixer is closed.
2010-05-02use clock_gettime() and interval timers instead of gettimeofday()Alexandre Ratchov
and poll()'s timeout. Simpler and more accurate, from midish
2010-05-02in the resampling code, handle the case ``diff == 0'', to avoid producingAlexandre Ratchov
the first sample of the next block in advance.
2010-05-02Add missing -fPIC or hppa.Mark Kettenis
2010-05-02fix -width;Jason McIntyre
2010-05-02Combine the signal mask handling into _dl_thread_bind_lock(), as it's MI.Philip Guenthe
ok drahn@
2010-05-02Document defines and names for thread-local-storage sections,Philip Guenthe
segments, and symbols. Delete a block of duplicate text describing the SHN_* defines. Correct some typos (SHN_ vs SHT_) and treat 'data' as plural where it seem appropriate. ok jmc@
2010-05-02repeated text in a comment, spotted by adam dutkoTed Unangst
2010-05-02Add defines for thread-local-storage sections/symbols/segments and forPhilip Guenthe
the DT_1_FLAGS .dynamic entry and its known flag values. Remove the unused and useless STT_NUM and PT_NUM defines. ok miod@
2010-05-01Correct a comment; from dawedawe (at) gmx.dePhilip Guenthe
2010-05-01remove an uneeded extern which upsets gcc4, matches changes madeJonathan Gray
in the upstream arla code. ok miod@
2010-05-01As suggested by miod, rename dynroot_enable so we don't conflict withJonathan Gray
a definition from a header. This turns out to be the same change made in the upstream arla code. ok miod@
2010-05-01put the read macros into functions so gcc4 doesn't whinge.Jonathan Gray
ok marco@ oga@ miod@
2010-05-01Unbreak ramdisks.Owain Ainsworth
I forgot that uvm_object.c wasn't build if SMALL_KERNEL. Fix this by building the file unconditionally and only building the less used functions when SMALL_KERNEL is not defined. unbreaks ramdisk build. ok jsg@
2010-05-01split up a multiple assignment so we aren't casting an lvalue.Jonathan Gray
ok michele@ claudio@
2010-05-01Sprinkle a few __used markers to prevent gcc4 from throwing away essentialMark Kettenis
bits of code and data. With this change gcc4 builds usable crt*.o on sparc64, other architectures probably need some more love. ok marco@, jsg@
2010-05-01document STARTAFTERMarc Espie
2010-05-01this one is going to be fun to fix...Marc Espie
2010-05-01incomming -> incomingMichael Knudsen
The ones found in gnu/ left out by intention. ok jmc
2010-05-01bzero a struct to appease gcc4.Jonathan Gray
ok drahn@
2010-05-01typo; jmeltzer@Damien Miller
2010-04-30Right now, if anything internal changes with a uvm object, diverseOwain Ainsworth
places in the tree need to be touched to update the object initialisation with respect to that. So, make a function (uvm_initobj) that takes the refcount, object and pager ops and does this initialisation for us. This should save on maintainance in the future. looked good to fgs@. Tedu complained about the British spelling but OKed it anyway.
2010-04-30Prevent a possible case of lock recursion in swapoff.Owain Ainsworth
If when we have successfully swapped an aobj back in, then we release our reference count, and that reference is the last reference, we will free the the aobj and recursively lock the list lock. Fix this by keeping track of the last object we had a reference on, and releasing the refcount the next time we unlock the list lock. Put a couple of comments in explaining lock ordering in this file. noticed by, discussed with and ok guenther@.