summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Mips doesn't have a long double that's different in size from double.imp2008-09-181-1/+1
|
* Clear any possibly pending PCI error bits left by the firmware. Thesemarius2008-09-182-64/+56
| | | | | | | could trigger an error interrupt that we can't actually to do anything against as soon as enabling the error handlers. While at it don't bother about writing only to the write-one-to-clear bits when clearing error bits.
* - Recognize SAVE and OSXSAVE extended processor features.stas2008-09-182-4/+4
| | | | | Approved by: kib (mentor) MFC after: 1 month
* Hello, svn world! (adding myself to yet another list)zec2008-09-181-0/+2
| | | | Approved by: silby (mentor)
* No FORTH for MIPS.obrien2008-09-181-0/+4
|
* Catch up with intr_event_create() API changes.obrien2008-09-181-2/+2
|
* Catch up with intr_event_create() API changes.obrien2008-09-181-1/+1
|
* Just a fixup for a KTRACE message I stumbled upon many moons ago.sbruno2008-09-181-1/+1
| | | | | Reviewed by: Scott Long MFC after: 2 days
* Add a new cam_status CAM_SCSI_IT_NEXUS_LOST. This will be used by future ↵sbruno2008-09-181-0/+1
| | | | | | | | | patches for target mode that are forthcoming. Reviewed by: Scott Long MFC after: 2 days
* - Add a missing prototype.marius2008-09-181-2/+2
| | | | - Remove a banal comment.
* - Make bsdlabel use libgeom to determine provider name, device path, the medialulf2008-09-181-22/+40
| | | | | | | | | size and the sector size. - Fix a bug where bsdlabel would try to read a regular file using the geom_bsd class. Quick review by: phk Approved by: pjd (mentor)
* - Newer firmware versions no longer provide SUNW,stop-self so justmarius2008-09-183-30/+58
| | | | | | | | | | disable interrupts and loop forever with these. - Hide all MP-related bits in <machine/smp.h> underneath #ifdef SMP. - Inline ipi_all_but_self(9) and ipi_selected(9). We don't expose any additional bits but save a few cycles by doing so. - Remove ipi_all(9), which actually only called panic(9). It can't be implemented natively anyway and having it removed at least causes MI users to fail already fail when linking.
* Cleanup the AHCI code a bit.sos2008-09-183-56/+121
| | | | | | Add suspend/resume for AHCI, general methods added. Inspired by: Andrey V. Elsukov
* Fix small mistake.mav2008-09-181-3/+3
|
* Improve grammar.jkoshy2008-09-181-2/+2
|
* Document new PMC classes, capabilities and CPU kinds.jkoshy2008-09-181-28/+63
| | | | Improve typography.
* Add ASUS P5KPL-C to the list of supported motherboard.yongari2008-09-181-1/+3
| | | | Reported by: < nikola.lecic <at> anthesphoria dot net >
* MfP4: Generalize int64_t in the public headers to support compilerskientzle2008-09-182-5/+9
| | | | which have a 64-bit integer type but don't provide standard C99 definitions.
* Make sure there is at least one port to avoid divide by zero when choosing thethompsa2008-09-181-1/+2
| | | | | | | tx port. PR: kern/122794 MFC after: 3 days
* Trying to distinguish different "versions" of mtree files was a silly idea.kientzle2008-09-183-4/+2
| | | | Submitted by: Joerg Sonnenberger
* Don't do round robin assignment of interrupts on xenkmacy2008-09-181-0/+7
| | | | MFC after: 1 month
* Change order of pcpu initialization so the pc_prvspace is setkmacy2008-09-181-1/+1
| | | | MFC after: 1 month
* fix initial page directory setup for APs to work when KERNBASE < 0xc0000000kmacy2008-09-181-37/+36
| | | | MFC after: 1 month
* MFamd64: More CPUID feature flags: SSE4, X2APIC, POPCNT, DTES64, and 1GBjhb2008-09-172-6/+12
| | | | | | large pages. MFC after: 1 month
* Bump modification date.mav2008-09-171-1/+1
|
* Fix a typo.mav2008-09-171-1/+1
|
* Add set of snd_hda driver configuration examples to the man page.mav2008-09-171-0/+97
|
* Some people have very strange notions of how large KVA_PAGES should be. Thekmacy2008-09-171-37/+55
| | | | | | | | | | core of this change generalizes the initial page directory setup so that the kernel can be given arbitrarily large or small. - small formatting fixes - update copyright MFC after: 1 month
* Sync with English revisions. While I'm there set fbsd:notbinary attributedelphij2008-09-1711-1261/+199
| | | | to make verify.py happy.
* Document the suser(9) and suser_cred(9) interface removal.attilio2008-09-171-1/+1
|
* Remove the suser(9) interface from the kernel. It has been replaced fromattilio2008-09-1712-171/+46
| | | | | | | | | | | | | | | | | years by the priv_check(9) interface and just very few places are left. Note that compatibility stub with older FreeBSD version (all above the 8 limit though) are left in order to reduce diffs against old versions. It is responsibility of the maintainers for any module, if they think it is the case, to axe out such cases. This patch breaks KPI so __FreeBSD_version will be bumped into a later commit. This patch needs to be credited 50-50 with rwatson@ as he found time to explain me how the priv_check() works in detail and to review patches. Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> Reviewed by: rwatson
* Small consistency bug: remove named function attribute.ed2008-09-171-1/+1
| | | | | Everywhere in <sys/ttydisc.h> we don't specify a function argument name, except in a single place. Also remove it there.
* Document the -F 's return statement.remko2008-09-171-0/+6
| | | | | | | | | | If the application returns succesfully the return code is 7 (which means the filesystem is clean). PR: 127432 Submitted by: edwin MFC after: 3 days
* Whitespace fixes.jkoshy2008-09-172-11/+11
|
* Add event name aliases for Pentium PMCs.jkoshy2008-09-172-1/+23
|
* Decontext-alize the nfsserver module.attilio2008-09-165-101/+91
| | | | | | | Now, only some few places still require thread passing (mostly the ones which access to VOP_* functions) and will be fixed once the primitive also will be. Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
* Implement zero-copy bpf(4) buffer or "zbuf" support for libpcap. A slightlycsjp2008-09-163-37/+354
| | | | | | | | | | | | | | | | | | | different version has been committed upstream in the libpcap vendor branch. This will allow people to experiment with zero-copy bpf(4) without requiring external patches. Note to enable this functionality: sysctl net.bpf.zerocopy_enable=1 By default, libpcap will use the legacy buffering method unless this sysctl variable is set to 1. For the details about zero-copy bpf(4) implementation see svn change r177548. Requested by: many Discussed with: sam In collaboration with: rwatson
* Add 'device acpi' to GENERIC on i386. Most newer i386 machines require it,jhb2008-09-161-0/+1
| | | | | | | | so the benefit of having acpi.ko as a standalone module is outweighed by the complications of drivers compiled into the kernel not including ACPI attachments by default. Discussed on: current
* Allow a jail to be started with a specific route fib.thompsa2008-09-163-2/+15
| | | | | Reviewed by: secteam (simon) Reviewed by: brooks, bz
* Hide some of driver's internal debugging.mav2008-09-161-142/+173
| | | | | | | | Left only parts surely required for basic troubleshooting and configuration purposes. There is still very long output, but further shrinking makes it less informative. Original debugging can be enabled with hw.snd.verbose=4.
* Allow child devices of vgapci(4) to query VPD strings and use MSI/MSI-Xjhb2008-09-161-1/+99
| | | | | | | interrupts. For the MSI/MSI-X case, we only allow 1 child device to use MSI or MSI-X at a time. Tested by: rnoland
* o When not making a translation cache-inhibit and guarded (PTE_I|PTE_G)marcel2008-09-161-40/+42
| | | | | | | | | | | | | make it memory-coherency enforced (PTE_M). This is required for SMP to work. o Serialize tlbie operations and implement the tlbie operation in a function called tlbie(). Hardware can end up in a live-lock if between the tlbsync and subsequent sync on one processor another processor executes a tlbie or tlbsync. o Eliminate the following defines: TLBIE, TLBSYNC, SYNC and EIEIO Use either inline assembly statements or inline functions defined in <machine/cpufunc.h>
* Retire the 'i_reclen' field from the in-memory i-node. Previously,jhb2008-09-162-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | during a DELETE lookup operation, lookup would cache the length of the directory entry to be deleted in 'i_reclen'. Later, the actual VOP to remove the directory entry (ufs_remove, ufs_rename, etc.) would call ufs_dirremove() which extended the length of the previous directory entry to "remove" the deleted entry. However, we always read the entire block containing the directory entry when doing the removal, so we always have the directory entry to be deleted in-memory when doing the update to the directory block. Also, we already have to figure out where the directory entry that is being removed is in the block so that we can pass the component name to the dirhash code to update the dirhash. So, instead of passing 'i_reclen' from ufs_lookup() to the ufs_dirremove() routine, just read the 'd_reclen' field directly out of the entry being removed when updating the length of the previous entry in the block. This avoids a cosmetic issue of writing to 'i_reclen' while holding a shared vnode lock. It also slightly reduces the amount of side-band data passed from ufs_lookup() to operations updating a directory via the directory's i-node. Reviewed by: jeff
* Bump __FreeBSD_version to reflect that kernel NFS mount code can acceptrodrigc2008-09-161-1/+1
| | | | | | | mount options in individual members of nmount() iovec array instead of one big struct nfs_args. Requested by: dfr
* Rewrite cpudep_ap_bootstrap(). We now enable L3, L2, L1D and L1Imarcel2008-09-161-14/+110
| | | | | | | | | | | | | caches if not yet enabed. This is required for coherency and atomic operations to work, not to mention performance. We use the L2 and L3 cache settings of the BSP to configure the APs caches. Can't be bad. Program NAP and not DOZE. DOZE is present only on earlier CPUs and the bit is reserved on the MPC7441 & MPC7451. NAP will do bus snooping to keep caches coherent. Program the PIR with the cpuid. This may not be necessary...
* o In decr_get_timecount() only read the low timebase register.marcel2008-09-161-4/+9
| | | | | | | We're only returning a 32-bit counter. o In decr_intr(), manually perform LICM, so that we don't test a loop invariant condition inside a loop. o Include <machine/smp.h>
* Set pcpup->pc_curthread and pcpup->pc_curpcb before callingmarcel2008-09-161-3/+3
| | | | | pmap_activate. While pmap_activate doesn't need either, we do need a valid curthread if we enable KTR_PMAP.
* Replace PMC-dependent content with references tojkoshy2008-09-161-3100/+25
| | | | the appropriate manual pages.
* Build and install PMC-dependent manual pages.jkoshy2008-09-161-0/+8
|
* Fix a typo.jkoshy2008-09-161-1/+1
|
OpenPOWER on IntegriCloud