summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix "MOVS" instruction memory to MMIO emulation. Currently updates totychon2015-04-016-35/+68
| | | | | | | | | %rdi, %rsi, etc are inadvertently bypassed along with the check to see if the instruction needs to be repeated per the 'rep' prefix. Add "MOVS" instruction support for the 'MMIO to MMIO' case. Reviewed by: neel
* Add code for creating an EC2 AMI.cperciva2015-04-012-0/+46
|
* Whitespace and cleanup. No functional change(s).dteske2015-03-311-24/+16
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Optimize bootmsg to use fg/bg/me from screen.4thdteske2015-03-311-7/+6
| | | | | | | NB: screen.4th is included by way of check-password.4th MFC after: 3 days X-MFC-to: stable/10
* Comments. No functional change(s).dteske2015-03-3111-18/+71
| | | | | MFC after: 3 days X-MFC-to: stable/10
* Whitespace. No functional change(s).dteske2015-03-312-28/+11
| | | | | MFC after: 3 days MFH: stable/10
* Change contents of the exec variable in loader.conf to be friendly to bothdteske2015-03-311-1/+1
| | | | | | Ficl/Forth and Lua. No visible change for Forth while enabling Lua support. Submitted by: rpaulo
* Fix typo in a comment.dteske2015-03-311-1/+1
| | | | | MFC after: 3 days X-MFC-to: stable/10 stable/9
* sh: Add more tests for exotic IFS splitting.jilles2015-03-313-0/+13
|
* wordexp: Explicitly pass along IFS.jilles2015-03-311-1/+4
| | | | | | | | | | | Per Austin group issue #884, sh should not import IFS from the environment but always set it to $' \t\n'. For wordexp(), however, it is documented and useful for it to use IFS from the environment. Since sh currently imports IFS from the environment, this change has no functional effect. MFC after: 1 week
* Add limited to the default restrictions.delphij2015-03-311-2/+2
| | | | X-MFC-with: r280849
* Fix build.cy2015-03-311-2/+2
|
* Constify.delphij2015-03-311-11/+11
| | | | | Suggested by: rdivacky MFC after: 2 weeks
* Add the fe* symbols to libm for arm64.andrew2015-03-311-0/+56
| | | | Sponsored by: The FreeBSD Foundation
* Remove bogus cast.kevlo2015-03-312-10/+10
|
* The offset variable has been cleared all bits except IP6F_OFF_MASK.ae2015-03-311-1/+1
| | | | Use ip6f_mf variable instead of checking its bits.
* unwind-d2 build workaround for arm64emaste2015-03-311-0/+9
| | | | | | | | | | | The __builtin_init_dwarf_reg_size_table function is unimplemented in clang 3.6 for AArch64. Comment it out for now and replace it with a message and abort. Tracked in upstream LLVM PR 22997 https://llvm.org/bugs/show_bug.cgi?id=22997 Submitted by: andrew
* Correct copyright typoemaste2015-03-311-1/+1
|
* Add kernel config files for Hardkernel Odroid-C1 and Visson ATV-102 devices.ganbold2015-03-312-0/+266
| | | | | Submitted by: John Wehle Approved by: stas (mentor)
* Add device tree files for Hardkernel Odroid-C1 and Visson ATV-102 devices.ganbold2015-03-312-0/+909
| | | | | Submitted by: John Wehle Approved by: stas (mentor)
* Add necessary changes to support various Amlogic SoC devicesganbold2015-03-3137-1/+10779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | specially aml8726-m6 and aml8726-m8b SoC based devices. aml8726-m6 SoC exist in devices such as Visson ATV-102. Hardkernel ODROID-C1 board has aml8726-m8b SoC. The following support is included: Basic machdep code SMP Interrupt controller Clock control driver (aka gate) Pinctrl Timer Real time clock UART GPIO I2C SD controller SDXC controller USB Watchdog Random number generator PLL / Clock frequency measurement Frame buffer Submitted by: John Wehle Approved by: stas (mentor)
* Use appropriate timeout_t* instead of void* in tcp_timer_activate()jch2015-03-311-1/+1
| | | | | | | Suggested by: imp Differential Revision: https://reviews.freebsd.org/D2154 Reviewed by: imp, jhb Approved by: jhb
* Add the arm64 code to the runtime linker. It's not able to be built as weandrew2015-03-314-1/+515
| | | | | | | | | still need libc_pic for a few things, but this is expected to be ready soon. Differential Revision: https://reviews.freebsd.org/D2136 Reviewed by: kib Sponsored by: The FreeBSD Foundation
* - Fix -Wsign issuengie2015-03-312-1/+5
| | | | - Bump up to WARNS=6
* Minor cleanup before converting to ATF testcasesngie2015-03-312-17/+22
| | | | | | - Remove blank (tab-only) lines. - Fix -Wunused warnings. - Bump up to WARNS= 6
* Cleanup and do minor refactoring before converting testcases to ATFngie2015-03-312-63/+69
| | | | | | | | | | | | | | | - Convert errx(-1, ..) to errx(1, ..) - Move the aio(4) checks to a single function (aio_available); use modfind(2) instead of depending on SIGSYS (doesn't work when aio(4) support is missing, not documented in the aio syscall manpages). - Use aio_available liberally in the testcase functions - Use mkstemp(3) + unlink(2) instead of mktemp(3) - Fix some -Wunused warnings - Bump WARNS to 6 MFC after: 1 week Submitted by: mjohnston [*] Sponsored by: EMC / Isilon Storage Division
* CCSRBAR_VA is mpc85xx-specific, so add guards, and include the proper headerjhibbits2015-03-311-0/+6
| | | | | | file for it. MFC after: 1 month
* machine/fdt.h no longer exists for powerpc.jhibbits2015-03-311-1/+0
| | | | MFC after: 1 month
* - Remove more files when MK_ZONEINFO == noamdmi32015-03-311-0/+472
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* - Remove more files when MK_TESTS_SUPPORT == noamdmi32015-03-311-0/+75
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* - Remove more files when MK_LEGACY_CONSOLE == noamdmi32015-03-311-0/+15
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* - Remove more files when MK_KERBEROS_SUPPORT == noamdmi32015-03-311-0/+16
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* - Remove more files when MK_KDUMP == noamdmi32015-03-311-0/+7
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* - Remove more files when MK_JAIL == noamdmi32015-03-311-0/+1
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* It would help if I committed the right patch...cperciva2015-03-311-1/+1
|
* - Remove more files when MK_CASPER == noamdmi32015-03-311-0/+47
| | | | | | | MFC after: 1 week Reviewed by: ngie Approved by: ngie Differential Revision: D1600
* Fix a misparenthesization that could cause a crash if TERM is not set.markj2015-03-311-2/+2
| | | | | | Reported by: Coverity (internal) MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Partially revert r278118 now that the required logic for deciding whethercperciva2015-03-311-8/+1
| | | | | freebsd-update can be useful has moved into the firstboot_freebsd_update script.
* Provide workaround for a performance issue with the popcnt instructionkib2015-03-311-17/+24
| | | | | | | | | | | | on Intel processors. Clear spurious dependency by explicitely xoring the destination register of popcnt. Use bitcount64() instead of re-implementing SWAR locally, for processors without popcnt instruction. Reviewed by: jhb Discussed with: jilles (previous version) Sponsored by: The FreeBSD Foundation
* Add bits for building EC2 disk images. Make logic for uploading thesecperciva2015-03-312-0/+87
| | | | to create EC2 AMIs will come in a later commit.
* cxgbe/tom: return rx credits promptly if the socket buffer's low waternp2015-03-311-8/+14
| | | | | | | mark cannot be reached because the window advertised to the peer isn't wide enough. While here, tweak the normal credit return too. MFC after: 1 month
* Adopt jhb's suggested changes, updated comments and callout_migration() movingrrs2015-03-312-9/+11
| | | | | | | | to kern/kern_timeout.c This does *not* address his -1 -> NOCPU comment. Sponsored by: Netflix Inc.
* Change the c_iflags and c_flags fields to short rather then int. Thisrrs2015-03-311-2/+2
| | | | | | | allows us to keep the KPI the same. Discussed and brain-stormed with imp (thanks for the help Warner!) Sponsored by: Netflix Inc.
* Fix --one-file-system to include the directory encountered rather thanbdrewery2015-03-311-1/+1
| | | | | | | | excluding it. This was broken in 3.0.4 (r238856). Obtained from: https://github.com/libarchive/libarchive/commit/fa9e61 MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
* Catch up on r271387 and remove unused parameter fromglebius2015-03-302-2/+1
| | | | VOP_GETPAGES_ASYNC().
* Restore setting cpufuncs on arm1176, it was removed by accident with theandrew2015-03-301-0/+1
| | | | | | arm1136 code. Reviewed by: ian
* Add llvm patch corresponding to r280865.dim2015-03-301-0/+811
|
* Wait 100 microseconds for a local APIC to dispatch each startup-related IPIjhb2015-03-302-6/+6
| | | | | | | | | | | | | | | | | | rather than 20. The MP 1.4 specification states in Appendix B.2: "A period of 20 microseconds should be sufficient for IPI dispatch to complete under normal operating conditions". (Note that this appears to be separate from the 10 millisecond (INIT) and 200 microsecond (STARTUP) waits after the IPIs are dispatched.) The Intel SDM is silent on this issue as far as I can tell. At least some hardware requires 60 microseconds as noted in the PR, so bump this to 100 to be on the safe side. PR: 197756 Reported by: zaphod@berentweb.com MFC after: 1 week
* llvm: Backport upstream r229195 to fix arm64 TLS relocationsemaste2015-03-307-135/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As is described at http://llvm.org/bugs/show_bug.cgi?id=22408, the GNU linkers ld.bfd and ld.gold currently only support a subset of the whole range of AArch64 ELF TLS relocations. Furthermore, they assume that some of the code sequences to access thread-local variables are produced in a very specific sequence. When the sequence is not as the linker expects, it can silently mis-relaxe/mis-optimize the instructions. Even if that wouldn't be the case, it's good to produce the exact sequence, as that ensures that linkers can perform optimizing relaxations. This patch: * implements support for 16MiB TLS area size instead of 4GiB TLS area size. Ideally clang would grow an -mtls-size option to allow support for both, but that's not part of this patch. * by default doesn't produce local dynamic access patterns, as even modern ld.bfd and ld.gold linkers do not support the associated relocations. An option (-aarch64-elf-ldtls-generation) is added to enable generation of local dynamic code sequence, but is off by default. * makes sure that the exact expected code sequence for local dynamic and general dynamic accesses is produced, by making use of a new pseudo instruction. The patch also removes two (AArch64ISD::TLSDESC_BLR, AArch64ISD::TLSDESC_CALL) pre-existing AArch64-specific pseudo SDNode instructions that are superseded by the new one (TLSDESC_CALLSEQ). Submitted by: Kristof Beyls Differential Revision: https://reviews.freebsd.org/D2175
* Pull in r233552 from upstream libc++ trunk (by Eric Fiselier):dim2015-03-301-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | [libcxx] Fix PR22771 - Support access control SFINAE in the library version of is_convertible. Summary: Currently the conversion check does not take place in a context where access control SFINAE is applied. This patch changes the context of the test expression so that SFINAE occurs if access control does not permit the conversion. Related bug: https://llvm.org/bugs/show_bug.cgi?id=22771 Reviewers: mclow.lists, rsmith, dim Reviewed By: dim Subscribers: dim, rodrigc, emaste, cfe-commits Differential Revision: http://reviews.llvm.org/D8461 This fixes building clang, and other programs using libc++, with newer versions of gcc (specifically, gcc 4.8 and higher). Reported by: rodrigc MFC after: 1 week
OpenPOWER on IntegriCloud