summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct date on ELF Tool Chain UPDATING entryemaste2016-02-271-1/+1
| | | | Reported by: dhw
* Move IPI related parts back to (ARM) machine specific file now, whenskra2016-02-274-178/+167
| | | | | | | | | | | | | | | the interrupt framework is also going to be used by another (MIPS) architecture. IPI implementations may vary much across different architectures. An IPI implementation should still define INTR_IPI_COUNT and use intr_ipi_setup_counters() to setup IPI counters which are inside of intrcnt[] and intrnames[] arrays. Those are used for sysctl and ddb. Then, intr_ipi_increment_count() should be used to increment obtained counter. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D5459
* Migrate many bus_alloc_resource() calls to bus_alloc_resource_anywhere().jhibbits2016-02-2748-166/+184
| | | | | | | | Most calls to bus_alloc_resource() use "anywhere" as the range, with a given count. Migrate these to use the new bus_alloc_resource_anywhere() API. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D5370
* Add the bus_alloc_resource_anywhere() convenience function.jhibbits2016-02-273-3/+26
| | | | | | | | | | | | Summary: Many instances of bus_alloc_resource() simply use 0 and ~0 for start and end to denote 'anywhere' with a given count. To clean this up, introduce a bus_alloc_resource_anywhere() convenience function. Bump __FreeBSD_version for the new API. Reviewed By: jhb Differential Revision: https://reviews.freebsd.org/D5370
* Replace several bus_alloc_resource() calls with bus_alloc_resource_any()jhibbits2016-02-2711-42/+38
| | | | | | | | Most of these are BARs, and we allocate them in their entirety. The one outlier in this is amdsbwd, which calls bus_set_resource() prior. Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D5370 (partial)
* Missing tab.pfg2016-02-271-1/+1
| | | | Pointed out by: bapt
* RPC: update the getrpcbyname() definition to include a const qualifier.pfg2016-02-263-4/+4
| | | | | | | Add const qualifier making getrpcbyname() and getrpcbyname_r() prototypes match those used in latest Sun RPC code (TI-RPC 2.3). Obtained from: NetBSD
* pciconf: Silence a GCC warning.pfg2016-02-261-1/+1
| | | | | | Fix the build on sparc64 and powerpc. Taken from: wma
* Restore lib/casper debug directory, reverting r296130emaste2016-02-261-0/+2
| | | | | Reported by: bdrewery Pointy hat to: emaste
* Remove libexec/casper debug directory missed in r296047emaste2016-02-261-2/+0
|
* Remove WARNS inherited fine by ../Makefile.inc.bdrewery2016-02-267-12/+3
| | | | Sponsored by: EMC / Isilon Storage Division
* Make it clear that the "size" argument is for the dst string.bdrewery2016-02-261-3/+3
| | | | | | | | The rest of the manpage already referenced 'dstsize' but did not rename the variable in the prototype in r257646. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Update dependencies.bdrewery2016-02-2611-7/+111
| | | | Sponsored by: EMC / Isilon Storage Division
* Remove unneeded lines.bdrewery2016-02-268-17/+6
| | | | | | | | - WARNS can be inherited from lib/Makefile.inc - CFLAGS referred to a non-existent directory and this shouldn't be needed anyhow due to the build picking up includes from WORLDTMP. Sponsored by: EMC / Isilon Storage Division
* These can build in parallel.bdrewery2016-02-262-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Import bsd.clang-analyze.mk based on NetBSD's version.bdrewery2016-02-269-4/+115
| | | | | | | | | This allows 'make analyze' or 'make OBJ.clang-analyzer' to run the Clang static analyzer and present results on stdout. Obtained from: NetBSD (CVS Rev. 1.3) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5449
* META_MODE: Default to the silent build.bdrewery2016-02-261-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Move PROGS logic to proper place and remove redundant and unneeded logic.bdrewery2016-02-262-26/+8
| | | | | | | | | | | | | | | - bsd.progs.mk is safe to include regardless of PROGS/PROGS_CXX/SCRIPTS being set. - bsd.progs.mk includes bsd.prog.mk always and will bring in bsd.files.mk and bsd.obj.mk. - DIRDEPS_BUILD: There's no need for _SKIP_BUILD or _SKIP_STAGING as the PROGS were implicitly being built by the staging dependency anyway. This was also preventing other objects from building if they were not part of the staging sets. - DIRDEPS_BUILD: This fixes PROGS without bsd.test.mk not staging. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Fix some things building in MAKELEVEL0.bdrewery2016-02-267-1/+14
| | | | | | | For PROGS this was recursing twice since MAKELEVEL0 is for 'dirdeps' which then really builds in a sub-make. Sponsored by: EMC / Isilon Storage Division
* Follow-up r295991: Only allow 'make destroy*' to include bsd.obj.mk.bdrewery2016-02-261-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Track .meta files for .sh but don't preserve timestamp.bdrewery2016-02-261-2/+2
| | | | | | See r291320 for more information. Sponsored by: EMC / Isilon Storage Division
* Allow configuring .MAKE.MODE via META_MODE as meta.sys.mk does.bdrewery2016-02-261-3/+6
| | | | | | meta.sys.mk is only used for the DIRDEPS_BUILD. Sponsored by: EMC / Isilon Storage Division
* Remove more references to targets we've never had.bdrewery2016-02-262-7/+6
| | | | Sponsored by: EMC / Isilon Storage Division
* Remove _manpages and _maninstall targets as they are no longer needed.bdrewery2016-02-263-17/+15
| | | | | | | r96164 added them to avoid recursing twice with _SUBDIR. That issue was fixed in bsd.subdir.mk in r291635 for all targets. Sponsored by: EMC / Isilon Storage Division
* net80211: fix 'uma_zalloc_arg: zone "32" with non-sleepable locks held'avos2016-02-261-6/+9
| | | | | | | | when 'sysctl net.wlan.devices' is executed. PR: 207497 Submitted by: glebius Approved by: adrian (mentor)
* Make unions in PowerPC libc endian-safe.nwhitehorn2016-02-264-4/+44
|
* Fix inverted test for lock status while waiting for PLL to become stable.jmcneill2016-02-261-2/+2
| | | | | Reviewed by: andrew Approved by: adrian (mentor)
* Make FPSCR definition endian clean.nwhitehorn2016-02-261-0/+5
| | | | | | | PR: 207526 Submitted by: Simon Byrne Obtained from: Julia MFC after: 1 month
* rlogin(1): Replace select(2) with poll(2).pfg2016-02-261-43/+23
| | | | Obtanied from: NetBSD (CVS Rev. 1.27 - 1.28)
* Add debug /libexec directory for rtld-elf debug filesemaste2016-02-261-0/+2
|
* getty(8): Undo incomplete support VEOL2 and VSTATUS.pfg2016-02-261-2/+1
| | | | Forgot to add some definitions for charnames[].
* getty(8): Support VEOL2 and VSTATUSpfg2016-02-261-4/+5
| | | | | | Bring some type cleanups while here. Obtained from: NetBSD
* Make the CUBIEBOARD config include the A10 config with a few neededandrew2016-02-261-86/+4
| | | | | | | additions. This is used by the release scripts so we need to keep it around for now. Sponsored by: ABT Systems Ltd
* getty(8): Use poll(2) and nanosleep(2) instead of select(2).pfg2016-02-261-14/+13
| | | | | | Sort headers while here. Obtained from: NetBSD (CVS Rev. 1.25 - 1.26)
* Bump VM_MAX_MEMSEGS from 2 to 3 to match the number of VM segmentmarcel2016-02-261-1/+1
| | | | | identifiers present in vmmapi.h. In particular, it's now possible to create a VM_FRAMEBUFFER segment.
* Add option -C to have the guest memory included in core files.marcel2016-02-262-2/+12
| | | | This aids in debugging OS loaders.
* Support version 4 of the userboot structure by implementing themarcel2016-02-261-1/+20
| | | | vm_set_register() and vm_set_desc() callbacks.
* Almost all copies of platform_mp_init_secondary just calledandrew2016-02-2617-97/+13
| | | | | | | | | intr_pic_init_secondary. Replace them with a direct call. On BCM2836 and ARMADA XP we need to add this function, but it can be empty. Reviewed by: ian, imp Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5460
* Add vm_set_register() and vm_set_desc() callbacks. These callbacksmarcel2016-02-261-0/+15
| | | | | | | | | | translate directly into calls to their namesake API functions in libvmmapi. It is an improvement over the existing setreg(), setmsr(), setcr() setgdt() and exec() callbacks in that the new additions give full control and don't assume we're booting FreeBSD, like exec() and don't assume one only wants to set the value of RSP, like setreg().
* Remove platform_mp_probe as it's almost identical on most ARM SoCs, andandrew2016-02-2615-114/+4
| | | | | | | | | | slightly wrong on the others. We should just check if mp_ncpus is set to more than one CPU as we may wish to run on a single core even when SMP is available. Reviewed by: ian Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D5458
* Check that the userboot version is at least 3, rather thanmarcel2016-02-261-9/+10
| | | | | | | | 3 exactly. The structure may be of a newer version and as long as it is backward compatible with 3, we can work with it. While here: whitespace nits.
* Install elftoolchain elfcopy(1) as objcopy(1) by defaultemaste2016-02-262-2/+10
| | | | | | | | | | | | As of r295661 elfcopy supports PE format for EFI boot binaries and is a viable objcopy implementation for the base system and ports. The (temporary) src.conf knob WITHOUT_ELFCOPY_AS_OBJCOPY knob may be set to obtain the GNU version if necessary. PR: 207091 [exp-run] Relnotes: Yes Sponsored by: The FreeBSD Foundation
* rpc: fix failure to clear string by passing the wrong size to memset.pfg2016-02-261-1/+1
| | | | | | | Noted by NetBSD's PR/21014 Obtained from: NetBSD (CVS Rev. 1.24, 1.25) MFC after: 1 month
* o Use uint64_t for page number as it doesn't fit uint32_t.br2016-02-262-14/+16
| | | | | | | | | o Implement growkernel bits for L1 level of pagetables. This allows us to boot with 128GB of physical memory. Sponsored by: DARPA, AFRL Sponsored by: HEIF5
* Add the start of support for the Allwinner A31 clocks. It only addsandrew2016-02-265-5/+574
| | | | | | | | | support for the i2c, mmc, and gmac clocks. Further clocks can be added as needed. Submitted by: Emmanuel Vadot <manu@bidouilliste.com> Reviewed by: jmcneill Differential Revision: https://reviews.freebsd.org/D5339
* Remove the errno argument from unp_drop().ed2016-02-261-5/+10
| | | | | | | While there, add a comment to clarify that ECONNRESET should always be returned for POSIX conformance. Suggested by: Steven Hartland
* Restore ThunderX Pass1.1 PCI changes removed by r295962wma2016-02-265-7/+72
| | | | | | | | | | | | | If Enhanced Allocation is not used, we can't allocate any random range. All internal devices have hardcoded place where they can be located within PCI address space. Fortunately, we can read this value from BAR. Obtained from: Semihalf Sponsored by: Cavium Approved by: cognet (mentor) Reviewed by: zbb Differential revision: https://reviews.freebsd.org/D5455
* Change format string in pciconf EA to jxwma2016-02-261-3/+3
| | | | Fix compilation error introduced by r296081
* hyperv/hn: Make transmission path channel awaresephe2016-02-264-12/+15
| | | | | | | | | Chimney sending buffer still needs conversion, which will be done along with the upcoming vRSS support. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5457
* hyperv/hn: Remove the useless num_outstanding_sendssephe2016-02-262-18/+1
| | | | | | | | We rely on taskqueue draining now. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5456
OpenPOWER on IntegriCloud