summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add section .note.GNU-stack for assembly files used by 386 and amd64.kib2011-01-0772-0/+142
|
* Add section .note.GNU-stack for assembly files used by 386 and amd64.kib2011-01-075-0/+10
|
* Use a regular taskqueue rather than a fast taskqueue for mxge(4).jhb2011-01-071-3/+2
| | | | Reviewed by: gallatin
* Add section .note.GNU-stack for assembly files used by 386 and amd64.kib2011-01-072-0/+4
|
* Fix braino in r217101. -Wa is used to supply assembler flag to cc driver.kib2011-01-071-1/+1
| | | | Noted by: Anonymous <swell.k gmail com>
* On amd64 and i386, force assembler to mark objects compiled from thekib2011-01-071-0/+6
| | | | | | | | assembler source for libcompiler_rt as not needed executable stack. This is done with a hammer instead of properly marking each assembly file with section .note.GNU-stack to avoid modifying contributed source. Discussed with: ed
* Introduce make variable ACFLAGS used to supply additional flags tokib2011-01-072-6/+8
| | | | cc driver when compiling assembler source file that is preprocessed.
* Emit .note.GNU-stack for the syscall stubs generated by libc.kib2011-01-071-0/+2
|
* Make gcc emit the .note.GNU-stack section into the assembler files.kib2011-01-071-0/+3
| | | | Reviewed by: kan
* Add AT_STACKPROT elf aux vector. Will be used to inform rtld about thekib2011-01-078-8/+16
| | | | initial stack protection set by the kernel image activator.
* Warn if rules could not be read from a ruleset file. Now at leastjh2011-01-071-1/+4
| | | | | | | something gets logged if the file has syntax errors. PR: conf/91342 Silence on: freebsd-rc
* Restore comment describing /* NOTREACHED */, updated to match reality.trasz2011-01-071-1/+4
|
* - Properly initialize the base priority (td_base_pri) of thread0 to PVMjhb2011-01-062-5/+6
| | | | | | | | | | to match the desired priority in td_priority. Otherwise the first time thread0 used a borrowed priority it would drop down to PUSER instead of PVM. - Explicitly initialize the starting priority of new kprocs to PVM to avoid inheriting some random priority from thread0. MFC after: 2 weeks
* - Move sched_fork() later in fork() after the various sections of the newjhb2011-01-063-9/+13
| | | | | | | | | | | | | | thread and proc have been copied and zeroed from the old thread and proc. Otherwise attempts to modify thread or process data in sched_fork() could be undone. - Don't copy td_{base,}_user_pri from the old thread to the new thread in sched_fork_thread() in ULE. This is already done courtesy the bcopy() of the thread copy region. - Always initialize the real priority (td_priority) of new threads to the new thread's base priority (td_base_pri) to avoid bogusly inheriting a borrowed priority from the parent thread. MFC after: 2 weeks
* Only change the priority of timeshare threads to PRI_MAX_TIMESHAREjhb2011-01-061-1/+2
| | | | | | | when yield() is called. Specifically, leave the priority of real time and idle threads unchanged. MFC after: 2 weeks
* - Restore dropping the priority of syncer down to PPAUSE when it is idle.jhb2011-01-062-0/+12
| | | | | | | | | This was lost when it was converted to using a condition variable instead of lbolt. - Drop the priority of flowtable down to PPAUSE when it is idle as well since it is a similar background task. MFC after: 2 weeks
* Retire PCONFIG and leave the priority of thread0 alone when waiting forjhb2011-01-062-4/+3
| | | | interrupt config hooks to execute.
* Retire the INTR_FAST flag as it was obsoleted by the introduction of thejhb2011-01-065-28/+8
| | | | filter argument to bus_setup_intr().
* Don't require /usr/lib/aout to be on the system. Test for itsimp2011-01-061-2/+2
| | | | | | existance since we don't generally need it. MFC after: 1 week
* Remove bogus usage of INTR_FAST. "Fast" interrupts are now indicated byjhb2011-01-069-12/+12
| | | | | registering a filter handler rather than a threaded handler. Also remove a bogus use of INTR_MPSAFE for a filter.
* Make this work on big endian MIPS, while not breaking it for smallimp2011-01-061-7/+3
| | | | | endian mips. This will also make it work automatically on all future big endian platforms.
* No need to genreate these hereimp2011-01-062-12/+2
|
* - Add a proper return value to mv_gpio_intr().jhb2011-01-061-4/+5
| | | | - Remove an obsolete use of INTR_FAST.
* Remove an unnecessary INTR_MPSAFE and a comment suggesting it wasjhb2011-01-061-3/+1
| | | | unnecessary.
* Help static analysis by initializing variables that we know cannot bemarcel2011-01-062-0/+2
| | | | used uninitialized, but which cannot be inferred from the code itself.
* Delete the NFS_STARTWRITE() and NFS_ENDWRITE() macros thatrmacklem2011-01-062-9/+2
| | | | | | | | obscured vn_start_write() and vn_finished_write() for the old OpenBSD port, since most uses have been replaced by the correct calls. MFC after: 12 days
* Remove unused variables. Spotted by a cppcheckandreast2011-01-066-15/+0
| | | | | | (devel/cppcheck, http://sourceforge.net/projects/cppcheck) run. Approved by: nwhitehorn (mentor)
* tests: sort & fix includes, remove -include from CFLAGS of acct testskeramida2011-01-063-15/+19
| | | | | | | | | | | | | | | - Sort the includes of pack.c, moving sys/*.h files near the top. - Add a couple of missing #include lines, and remove the need for custom -include options in the CFLAGS of the test Makefile. - Remove the ad-hoc 'all' target, but keep its 'regress' bits for testing. - Convert the ad-hoc 'clean' target to proper CLEANFILES stuff, so that the normal bsd.prog.mk machinery can clean up. - Use `make -V .OBJDIR' to detect the place where 'pack' lives, so that regress.t works both with and without 'make obj'. Reviewed by: uqs MFC after: 1 week
* Since the VFS_LOCK_GIANT() code in the experimental NFSrmacklem2011-01-065-171/+54
| | | | | | | | | server is broken and the major file systems are now all mpsafe, modify the server so that it will only export mpsafe file systems. This was discussed on freebsd-fs@ and removes a fair bit of crufty code. MFC after: 12 days
* - Use macbstart_locked() directly instead of deferring it to a task.jhb2011-01-061-16/+14
| | | | | | | - Expand locking scope in interrupt handler. - Flesh out the detach routine. Reviewed by: cognet
* Support the Uniform Industrial Corp (UIC) MSR206 Magnetic Card Reader.gavin2011-01-062-0/+2
| | | | MFC after: 1 week
* Remove an unused variable accidentally added in r216803.marius2011-01-061-1/+0
|
* Unbreak the LINT build. PS3 kernels can only be built 64-bit, and LINT isnwhitehorn2011-01-061-1/+1
| | | | built for both architectures. We need a better solution here.
* Get rid of bad advice regarding /* NOTREACHED */. Compilers don'ttrasz2011-01-061-4/+0
| | | | | really need it (one can use __dead2 instead), and style(9) was not even consistent with itself in this regard.
* Return 0 instead of garbage value.davidxu2011-01-061-2/+1
| | | | Found by: clang static analyzer
* - Show textual representation of ioctl command in warning messagestas2011-01-061-2/+7
| | | | | | | if ioctl(4) is failed besides the command number. Suggested by: delphij MFC after: 2 weeks
* Import support for the Sony Playstation 3 using the OtherOS featurenwhitehorn2011-01-0636-1/+7432
| | | | | | | | | | | | available on firmwares 3.15 and earlier. Caveats: Support for the internal SATA controller is currently missing, as is support for framebuffer resolutions other than 720x480. These deficiencies will be remedied soon. Special thanks to Peter Grehan for providing the hardware that made this port possible, and thanks to Geoff Levand of Sony Computer Entertainment for advice on the LV1 hypervisor.
* Fix a whitespace nit.lstewart2011-01-061-1/+1
| | | | | MFC after: 1 week X-MFC with: r216995
* Add an entry to the gpart XML to determine if the geom has pending changesnwhitehorn2011-01-061-0/+2
| | | | | | that need to be committed (or undone). MFC after: 2 weeks
* Remove leftover for r214093.davidxu2011-01-061-9/+0
|
* Remove support for SKYEYE simulatorimp2011-01-055-52/+0
|
* sh: Do not call exitshell() from evalcommand() unless evalcommand() forkedjilles2011-01-052-4/+22
| | | | | | itself. This ensures that certain traps caused by builtins are executed.
* Update firmware to more recent versions.mjacob2011-01-053-54738/+56691
| | | | MFC after: 3 months
* On i386 and amd64, consistently use the following options whenever wedim2011-01-056-6/+6
| | | | | | want to avoid using any "advanced" CPU features: -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float
* Remove ancient simulation code. Skyeye simulation never really workedimp2011-01-052-90/+0
| | | | | | | | quite right and hasn't been used in ages and is likely broken. QEMU with GUMSTIX is a more promising road to FreeBSD/arm in emulation anyway. Reviewed by: cognet@
* Remove an empty .if/.endif pair from sys/boot/ficl/Makefile that Idim2011-01-051-2/+0
| | | | forgot to cleanup in the last commit.
* In lib/libstand, sys/boot/ficl and sys/boot/zfs, -mno-sse3 should alsodim2011-01-053-10/+3
| | | | be used for amd64, not just for i386.
* Remove superfluous -mno-(mmx|3dnow|sse|sse2|sse3) flags in Makefilesdim2011-01-055-5/+0
| | | | | | | under sys/boot/{i386,pc98}, since these are already added via sys/boot/{i386,pc98}/Makefile.inc. Submitted by: arundel
* Fix null string handling in ofw_real_nextprop function. Pass the rightandreast2011-01-051-4/+10
| | | | | | | | length to ofw_real_map in case of a null string. This makes ofwdump(8) work correctly when trying to print all properties with ofwdump -p. Approved by: nwhitehorn (mentor)
* Sort -mno-(mmx|3dnow|sse|sse2|sse3) options consistently throughout thedim2011-01-053-3/+3
| | | | | | tree. Submitted by: arundel
OpenPOWER on IntegriCloud