summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add new build knobs and jigger some existing controls to improvesam2008-09-2142-185/+666
| | | | | | | | control over the result of buildworld and installworld; this especially helps packaging systems such as nanobsd Reviewed by: various (posted to arch) MFC after: 1 month
* Add the check of the table number.rik2008-09-211-0/+17
|
* Export IPFW_TABLES_MAX value for compiled in defaults.rik2008-09-211-1/+6
|
* Make fstat() on a pseudo-terminal master return sane timestamps.ed2008-09-211-5/+9
| | | | | | | | | Because pseudo-terminal master file descriptors no longer have a vnode underneath, we have to fill in fstat() values ourselves. Make our implementation somewhat sane by returning the timestamps of the TTY device node that corresponds with our file descriptor. Obtained from: //depot/projects/mpsafettty/...
* Now that the number of clist consumers have dropped massively, trim downed2008-09-213-187/+16
| | | | | | | | | | | | | the code to prevent useless waste of space. - Remove support for quote bits. There is not a single driver that needs these bits anymore. This means putc() now accepts a char instead of an int. - Remove the unneeded catq() and nextc() routines. They were only used by the old TTY layer. - Convert the clist code to use ANSI C prototypes.
* Include $NANO_NAME in the completed message. This is nice if you aresimon2008-09-211-1/+1
| | | | | building multiple NanoBSD images at once to keep track of what is running and what isn't.
* Prevent an integer overflow in vm_pageout_page_stats() on machines with aalc2008-09-211-1/+2
| | | | | | | | large number of physical pages. PR: 126158 Submitted by: Dmitry Tejblum MFC after: 3 days
* Correct suser(9) entry.antoine2008-09-211-1/+2
|
* Already initialize the vfs timestamps inside the cdev upon allocation.ed2008-09-211-0/+4
| | | | | | | | | | | | | In the MPSAFE TTY branch I noticed the vfs timestamps inside devfs were allocated with 0, where the getattr() routine bumps the timestamps to boottime if the value is below 3600. The reason why it has been designed like this, is because timestamps during boot are likely to be invalid. This means that device nodes that are created on demand (posix_openpt()) have timestamps with a value of boottime, which is not what we want. Solve this by calling vfs_timestamp() inside devfs_alloc(). Discussed with: kib
* The vendor area is the proper home for these files now.simon2008-09-212-93/+0
|
* Move table list to a separate function.rik2008-09-211-35/+44
|
* Fix error message content.zec2008-09-211-1/+1
| | | | | Approved by: julian (mentor) MFC after: 3 days
* fix compilation on 64-bit platform w/ ATH_DEBUGsam2008-09-211-1/+2
|
* fix memory smash on lp64 platforms; mostly noticeable in user modesam2008-09-211-0/+5
| | | | as being unable to associate
* Fix build.kaiw2008-09-211-0/+2
|
* eliminate hardwired lists; use the media type to autoconfigsam2008-09-211-3/+17
|
* Add support for option "-M", which is used to operate ar(1) in akaiw2008-09-206-47/+864
| | | | | | | | | | | | | | | script mode like the MRI(Microtec Research Inc.) "librarian" program. Originally this option is provided by Binutils ar(1) to ease the transition for developers who are used to writing "librarian" scripts. We added this option to BSD ar(1) because: 1. Further improve the compatibility with Binutils ar(1). 2. There are still a few software using this -M option. (at least one in our ports collection) Suggested by: rink & erwin
* <osreldate.h> does not have a forward declration of getosreldate(), sorodrigc2008-09-201-1/+0
| | | | | | remove it from this man page. MFC after: 3 days
* Allow the d_mmap driver methods to use cdevpriv KPI during verificationkib2008-09-201-0/+2
| | | | | | | | phase of establishing mapping. Discussed with: rwatson, jhb, rnoland Tested by: rnoland MFC after: 3 days
* fdescfs, devfs, mqueuefs, nfs, portalfs, pseudofs, tmpfs and xfskib2008-09-208-15/+29
| | | | | | | | | | | initialize the vattr structure in VOP_GETATTR() with VATTR_NULL(), vattr_null() or by zeroing it. Remove these to allow preinitialization of fields work in vn_stat(). This is needed to get birthtime initialized correctly. Submitted by: Jaakko Heinonen <jh saunalahti fi> Discussed on: freebsd-fs MFC after: 1 month
* Initialize va_rdev to NODEV instead of 0 or VNOVAL in VOP_GETATTR().kib2008-09-209-9/+9
| | | | | | | | | NODEV is more appropriate when va_rdev doesn't have a meaningful value. Submitted by: Jaakko Heinonen <jh saunalahti fi> Suggested by: bde Discussed on: freebsd-fs MFC after: 1 month
* Initialize va_rdev to NODEV and va_fsid to VNOVAL before thekib2008-09-201-0/+2
| | | | | | | | | | VOP_GETATTR() call in vn_stat(). Thus if a file system doesn't initialize those fields in VOP_GETATTR() they will have a sane default value. Submitted by: Jaakko Heinonen <jh saunalahti fi> Discussed on: freebsd-fs MFC after: 1 month
* Initialize va_flags and va_filerev properly in VOP_GETATTR(). Don'tkib2008-09-204-12/+1
| | | | | | | | | | initialize va_vaflags and va_spare because they are not part of the VOP_GETATTR() API. Also don't initialize birthtime to ctime or zero. Submitted by: Jaakko Heinonen <jh saunalahti fi> Reviewed by: bde Discussed on: freebsd-fs MFC after: 1 month
* Initialize birthtime fields in vn_stat() to prevent stat(2) fromkib2008-09-201-0/+9
| | | | | | | | | | returning uninitialized birthtime. Most file systems don't initialize birthtime properly in their VOP_GETTATTR(). Submitted by: Jaakko Heinonen <jh saunalahti fi> Reviewed by: bde Discussed on: freebsd-fs MFC after: 1 month
* Fix clone destruction, can't use the simple api because that does not removethompsa2008-09-203-3/+3
| | | | | | the ifnet from cloner's list. Expose if_clone_destroyif api to do this. Submitted by: sam
* Free allocated memory.rik2008-09-201-0/+1
|
* Remove some unused variables.rik2008-09-201-4/+3
|
* MFamd64 SVN rev 179749 CVS rev 1.620alc2008-09-201-15/+31
| | | | | | | | | | | | | | | | | | | Reverse the direction of pmap_promote_pde()'s traversal over the specified page table page. The direction of the traversal can matter if pmap_promote_pde() has to remove write access (PG_RW) from a PTE that hasn't been modified (PG_M). In general, if there are two or more such PTEs to choose among, it is better to write protect the one nearer the high end of the page table page rather than the low end. This is because most programs access memory in an ascending direction. The net result of this change is a sometimes significant reduction in the number of failed promotion attempts and the number of pages that are write protected by pmap_promote_pde(). MFamd64 SVN rev 179777 CVS rev 1.621 Tweak the promotion test in pmap_promote_pde(). Specifically, test PG_A before PG_M. This sometimes prevents unnecessary removal of write access from a PTE. Overall, the net result is fewer demotions and promotion failures.
* Style(9) the show_nat() function.rik2008-09-201-1/+2
|
* Do not do the useless job for an empty table.rik2008-09-201-0/+5
| | | | MFC after: 1 month
* Revert this part of r183203 which wasn't meant to be committed, yet.marius2008-09-201-2/+0
|
* Remove duplicate entry accidentally introduced with r183202.marius2008-09-202-1/+2
|
* Some of the assembly files depend on v9a/v9b-only instructions somarius2008-09-201-3/+8
| | | | | | compile these with -mcpu=ultrasparc (which is the hard-coded default of our system compiler), which allows the remainder of the kernel to be compiled with "only" -mcpu=v9 for reference and testing purposes.
* Use the STICK timers only when absolutely necessary, i.e. if a machinemarius2008-09-203-29/+33
| | | | | | | | | | consists of CPUs running at different speeds, for driving hardclock as these timers in turn are driven at frequencies as low as 5MHz, resulting in bad granularity compared to the TICK timers. However, don't employ the workaround for the BlackBird erratum #1 when using the TICK timer on machines with cheetah-class CPUs for performance reasons. Reported by: Florian Smeets
* Move #defines for MRT-related constants from net/route.c tozec2008-09-202-20/+21
| | | | | | | | | net/route.h, because the vnet code will need those constants as well. Reviewed by: bz Approved by: julian (mentor) MFC after: never
* Fix issue with tom loading by moving cxgb_log_tcb in to tomkmacy2008-09-193-1/+30
| | | | MFC after: 3 days
* Backout rev 183181. It appears that I should have been using boot-devicesobomax2008-09-192-30/+1
| | | | | | | of "cd:,\\:tbxi" with properly configured boot.tbxi, instead of booting \boot\loader directly. Rev 183168 could probably stay, since it can be viewed as an anti-foot-shooting measure and has no impact on normal operation. I can revert it as well, if anybody objects.
* Add atheros HAL building so the IDT kernel can build.imp2008-09-191-0/+7
|
* mips_subr.c was in the Juniper code drop, but didn't have anyimp2008-09-191-1/+0
| | | | | | | | functions used by other code in the tree. As such it was removed from the merged tree until the functions were needed in the future. The file was missing from the FreeBSD import, but it was listed in the files.mips file as being standard. Remove it from there until such time as we need one.
* crunchgen doesn't work yet on mips. So sysinstall can't be built there.imp2008-09-191-1/+1
| | | | omit it like we do for arm.
* pci_setup_intr() will only enable MSI/MSI-X for direct children. Add methodsrnoland2008-09-191-2/+18
| | | | | | | to vga_pci.c to request on behalf of it's children. This causes vgapci to show up as the interrupt owner in vmstat -i, rather than the child device. Approved by: jhb(mentor)
* Rescue is "not yet" for MIPS.obrien2008-09-191-0/+4
|
* Move uuid_enc_le, uuid_dec_le, uuid_enc_be and uuid_dec_be symbolsemax2008-09-191-0/+3
| | | | | | | into FBSD_1.1 section where they should be. Pointed out by: kib, deischen MFC after: 3 days
* Change the wording to prefer 'forwarding' but still retain the word routing forthompsa2008-09-191-1/+2
| | | | | | clarity. Suggested by: dougb
* Clean up DSDT and XSDT correctly instead of FADT when the tables are bad.jkim2008-09-191-2/+2
| | | | | | Submitted by: jhb Tested by: olli MFC after: 3 days
* Regenerate for r183188.obrien2008-09-194-7/+14
|
* Add freebsd32 compat shim for nmount(2).obrien2008-09-194-10/+51
| | | | (and quiet some compiler warnings for vfs_donmount)
* Bring the usage message in sync with the manual page.jkoshy2008-09-191-1/+2
|
* Keep symbols in sorted order.jkoshy2008-09-191-4/+4
|
* Add an example illustrating the use sleep(1) for performing timedjkoshy2008-09-191-2/+7
| | | | measurements.
OpenPOWER on IntegriCloud