summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ISO 3166-1 Newsletter V-8 changes YUGOSLAVIA to SERBIA AND MONTENEGROwollman2003-08-152-2/+5
| | | | | with corresponding changes to alpha-2 and alpha-3. (Odd choice of codes, though.)
* Eliminate the i_devvp field from the incore UFS inodes, we canphk2003-08-154-7/+5
| | | | | | | | | | | get the same value from ip->i_ump->um_devvp. This saves a pointer in the memory copies of inodes, which can easily run into several hundred kilobytes. The extra indirection is unmeasurable in benchmarks. Approved by: mckusick
* - supported a string notation for xxflags.ume2003-08-159-409/+531
| | | | | | | | | | | | | | | | | | | | | | - deprecate routes#N, as it is hard to keep consistency with rtprefixN. accept any number of "rtprefix", "rtrefix0", ..., "rtprefix99". - deprecate "addrs#N", as it is difficult for users to keep consistency with "addrN". accept 100 prefix info in maximum - like "addr", "addr0" ... "addr99". WARNS=2 clean on netbsd. old configuration file should work just fine. behavior change: previously, we rejected "addrN" if there's "addr", and we rejected "addr" if there is "addrN". now we accept both without problem. - when an advertised prefix configured from the kernel has been added or invalidated, notice the change in a short delay. - when invalidating a prefix, do not bark even if there is inconsistency about prefix lifetimes. - wrap more specific route info code into ROUTEINFO. Obtained from: KAME MFC after: 1 week
* Catch up aha(4) manpage with hardware notes and driver code.bmah2003-08-151-4/+4
| | | | | | | (While applying this patch from the PR, delete a stray comma.) PR: 55527 Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
* Add ptrace_machdep.c.marcel2003-08-151-0/+1
|
* #ifdef __i386__ the "int slice" definition that became i386-only withrwatson2003-08-151-0/+2
| | | | | | | recent Vinum changes. Fixes non-i386 build on vinumio.c. Accidental oversight of: grog Fix hopefully not minded by: grog
* use arc4random.ume2003-08-152-1/+7
| | | | | Obtained from: KAME MFC after: 1 week
* variable shared with signal handler needs to be "volatile sig_atomic_t".ume2003-08-151-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* Remove a stray ".Xr rtadvd 8" that snuck in in the middle of a sentence.ceri2003-08-151-2/+1
|
* set LOG_PERROR for openlog() when running foreground.ume2003-08-151-3/+7
| | | | | Obtained from: KAME MFC after: 1 week
* dump the content of route information optionsume2003-08-151-1/+19
| | | | | Obtained from: KAME MFC after: 1 week
* logged the fact to dump the status.ume2003-08-151-0/+3
| | | | | Obtained from: KAME MFC after: 1 week
* remove acquire_timer0() and release_timer0() and related stuff.phk2003-08-153-270/+4
|
* - Fix a typo in a comment.jhb2003-08-152-14/+14
| | | | | - Use macros for MSR register indexes as well as the bitfields in the APICBASE MSR.
* - Add macros describing some new MSR's in the Pentium 4 and some olderjhb2003-08-151-0/+25
| | | | | MSR's in the original Pentium. - Add macros describing the bit fields in the APICBASE MSR.
* - Fix a duplicated typo.jhb2003-08-153-9/+9
| | | | | | - Add a macro for the logical shift needed to extract an APIC ID from either from the local APIC ICR Hi register or the APIC ID registers of the local and IO APICs.
* - Remove redundant <sys/sysctl.h> include.jhb2003-08-151-4/+1
| | | | - Move the <machine/vm86.h> include up to the other <machine/*> includes.
* Adjust the style of the #ifdef SMP in casuptr() so that the #ifdef SMPjhb2003-08-151-5/+4
| | | | | just covers the lock prefix to match the existing style in other asm files in i386.
* - Update location of PCI headers.jhb2003-08-151-5/+6
| | | | | - Use macros for PCI config registers instead of magic numbers. - Small whitespace nits.
* As warned: Initiate deorbit burn for the pcaudio driver.phk2003-08-157-1188/+0
|
* Remove a few ushorts I missed in my earlier pass.jhb2003-08-152-37/+37
| | | | Requested by: bde
* Eliminate unnecessary udev_t variable: we can derive it from the dev_tphk2003-08-151-6/+4
| | | | when we need it.
* Make swaponvp() static to the swap_pager.phk2003-08-152-2/+2
|
* Remove the magic way of configuring NFS backed swap.phk2003-08-154-243/+1
| | | | | | | | | | | | | This code dates back to the very first diskless support on FreeBSD, back when swapon(8) couldn't simply be run on a NFS backed file. Suggested replacement command sequence on the client: dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000 swapon /swapfile rm -f /swapfile For whatever value of 100000 you want.
* Add my birthday to calendarmat2003-08-151-0/+1
| | | | Approved by: demon (mentor)
* Add my birthday to the calendar.bland2003-08-151-0/+1
| | | | Approved by: marcus (mentor)
* Lock down arc4random so it can be safely called w/o Giant.silby2003-08-151-17/+26
| | | | | | Minor code reorganization was required, but the only functional change was that the first 1024 bytes of output are thrown out after each reseed, rather than just the initial seed.
* Revert part of rev. 1.16 -- reinstate system notify handler. It turns outnjl2003-08-151-0/+6
| | | | | | at least the Casio FIVA requires this. Requested by: takawata
* Improve the C3 CPU identification. I didn't notice that the CPU idimp2003-08-151-12/+6
| | | | | | | | was masked. However KIMURA Yasuhiro-san noticed my mistake and was kind enough to provide a better patch in PR 55581. I've merged that into the routine. Hopefully I've not overlooked anything this time. MFC After: 5 days
* Fix the generation of coredumps. We did not take the dirty registersmarcel2003-08-151-1/+38
| | | | | | | | | | | that were on the kernel stack into account. For now we write them out to the register stack of the process before creating the dump. This however is not the final solution. The problem is that we may invalidate the coredump by overwriting vital information due to an invalid backing store pointer. Instead we need to write the dirty registers to an unused region of VM which will result in a seperate segment in the coredump. For now we can at least get to all the registers from a coredump.
* Add an instruction group break after the move to application registermarcel2003-08-151-2/+2
| | | | | | | and the move to control register to avoid dependency violations when these functions are used. Note that explicit data and instruction serialization also need to be in a subsequent instruction group. This too requires that we have an igrp break here.
* Introduce two machine specific ptrace(2) requests: PT_GETKSTACK andmarcel2003-08-152-2/+75
| | | | | | | | | | | | | | | | | | PT_SETKSTACK. These requests allow the tracing process to access the dirty registers of the traced process that are on the kernel stack. Note that there's currently no way to access the rnat register for those dirty registers that are not (yet) covered by a nat collection point. The interface for this is still being slept on. Also note that implied by these requests is the division of work: The tracing process has to keep track of where registers are spilled and is responsible to figure out where the NaT bit of the stacked registers are at any time during the execution of the traced process. The kernel provides the interfaces but will not abstract the fact that the register stack can be split. This model does not follow the approach taken in Linux where PT_PEEK and PT_POKE deals with this automagically.
* Add or finish support for machine dependent ptrace requests. When wemarcel2003-08-152-22/+17
| | | | | | | | | | | | | | | | | check for permissions, do it for all requests, not the known requests. Later when we actually service the request we deal with the invalid requests we previously caught earlier. This commit changes the behaviour of the ptrace(2) interface for boundary cases such as an unknown request without proper permissions. Previously we would return EINVAL. Now we return EBUSY or EPERM. Platforms need to define __HAVE_PTRACE_MACHDEP when they have MD requests. This makes the prototype of cpu_ptrace() visible and introduces a call to this function for all requests greater or equal to PT_FIRSTMACH. Silence on: audit
* Extend the scope of the page queues lock in vm_pageout_scan() to coveralc2003-08-151-14/+4
| | | | the traversal of the PQ_INACTIVE queue.
* vinum_scandisk:grog2003-08-151-1/+5
| | | | | | | | | | Correctly handle additional disks without BIOS partition tables. Previously, vinum_scandisk stopped scanning additional disks for native partitions after any good partition was found. This applies to all platforms, but was a particular problem on systems without BIOS partition tables. Submitted by: harti
* if we got this far, we definately don't have an EBADF. Return a morejmg2003-08-151-1/+1
| | | | | | | sane result of EPIPE. Reported by: nCircle dev team MFC after: 3 day
* Drop Giant when calling the disk drivers directly, and reacquiregrog2003-08-151-4/+13
| | | | | | afterwards. This fixes the Vinum breakage in -CURRENT. Breakage explained by: phk
* modify commentscg2003-08-151-3/+11
|
* De-inline functions which do not need to be inline. Move the DEVMETHODnjl2003-08-151-23/+23
| | | | block to where it is in similar drivers.
* Don't install a system notify handler. Move the device notify handlernjl2003-08-151-12/+11
| | | | | installation to just before we're ready to handle events. Make a loop more readable (no functional change).
* Fix a couple changes that were incorrect in updating for 0619. Only unlocknjl2003-08-151-1/+7
| | | | | | | | the hardware mutex if it is held. Re-add calls to Enable/Clear fixed events. This is not known to have caused problems. Bug symptoms might have included instability after an aborted suspend attempt or power/sleep buttons not being enabled.
* add a few missing bits for future usecg2003-08-151-1/+27
|
* disable resume code implementing panic().cg2003-08-141-1/+6
| | | | this needs to be reimplemented properly.
* add a read-only sysctl to display the number of entries in the fixed sizecg2003-08-141-5/+9
| | | | | | | | | kobj global method table; also kassert that the table has not overflowed when defining a new method. there are indications that the table is being overflowed in certain situations as we gain more kobj consumers- this will allow us to check whether kobj is at fault. symptoms would be incorrect methods being called.
* daemon() has to be called prior to file descriptor setupsume2003-08-141-2/+2
| | | | | | | (otherwise file descriptors could be closed mistakenly) Obtained from: KAME MFC after: 1 week
* Hook up ffsinfo(8).rwatson2003-08-141-0/+1
|
* Commit 1 of 2 to fix ffsinfo(8) for UFS2.rwatson2003-08-143-211/+226
| | | | | | | | | | | | | | | | Update ffsinfo(8) to use new UFS2 support in the growfs(8) debugging functions. Largely consists of renaming fields and types to be aware of the UFS1/UFS2 distinction, relying on libufs(3) to open and sanity check the device/file/label accessed. Since libufs(3) now handles label/UFS interactions, remove -L argument. Note: when submitted, this patch had substantial style changes. I've attempted to remove the restyling from the patch to separate the functional and style changes. Submitted by: Lukas Ertl <l.ertl@univie.ac.at> PR: bin/53517
* Begin snipping out the lists of specific devices from the Hardwarebmah2003-08-142-194/+2
| | | | | | | | | | | | | Notes. These duplicate information that ideally should live in the manual pages for individual drivers, and can easily become out-of-date. (This in fact is already the case.) Hypertext versions of the hardware notes already contain links to on-line versions of the manual pages. The first two drivers to get this treatment are amr(4) and aac(4). Discussed on: doc@
* support poll(2).ume2003-08-145-4/+79
| | | | | Obtained from: KAME MFC after: 1 week
* Commit 1 of 2 to fix ffsinfo(8) for UFS2.rwatson2003-08-142-115/+292
| | | | | | | | | | | | | Add support for UFS2 to the UFS debugging routines in growfs; required to update ffsinfo(8) for UFS2. A variety of types and fs variables are renamed to reflect UFS1/2 structures. Also, the print routines for inodes are now split into separate UFS1 and UFS2 versions. We now define dbg_dump_csum_total(), but lose the printing of rotational information since that's not present in UFS2. In the future, we may want to re-add this functionality to print it solely for UFS1. Submitted by: Lukas Ertl <l.ertl@univie.ac.at> PR: bin/53517
OpenPOWER on IntegriCloud