summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a simple regression test for the stat st_size bug just fixed insilby2004-07-201-0/+82
| | | | sys_pipe.c
* o Support the REL32LSB relocation. It's in the ELF file from whichmarcel2004-07-202-18/+36
| | | | | | | | | we construct the EFI image. It doesn't seem to actually end up in the EFI image, AFAICT. o Replace .quad, .long and .short with data8, data4 and data2 resp. The former are gnuisms. o Redefine _start_plabel as a data16 with @iplt(_start) as its value. This is the preferred way to create user PLT entries.
* Fix a minor error in pipe_stat - st_size was always reported as 0silby2004-07-201-1/+4
| | | | | when direct writes kicked in. Whether this affected any applications is unknown.
* Fix the creation of EFI images that got broken by the import ofmarcel2004-07-204-6/+6
| | | | | | | | | binutils 2.15. The linker now creates a .rela.dyn section for dynamic relocations, while our script created a .rela section. Likewise, we copied the .rela section to the EFI image, but not the .rela.dyn section. The fix is to rename .rela to .rela.dyn in the linker script so that all relocations end up in the same section again. This we copy into the EFI image.
* The previous revision introduced a compilation error, i.e., the use of analc2004-07-201-1/+1
| | | | undefined variable. Correct this error.
* Use warn() instead of perror().tjr2004-07-202-4/+4
|
* Don't output too many debug messages for bootverbose.simokawa2004-07-203-11/+16
| | | | This driver seems to be fairly stable now.
* Initialize ifp->if_output for FreeBSD-4.simokawa2004-07-201-0/+3
|
* Adjust packet length correctly for FreeBSD-4.simokawa2004-07-201-2/+4
| | | | Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
* elf_cpu_load_file no longer has an __unused variable. Also, don'tgrehan2004-07-201-3/+4
| | | | | | | bother syncing the icache for the special case of the kernel (id == 1), since the loader has already done this. __unused use reported by: gallatin
* Remove the allpmaps list. It's unused.alc2004-07-202-19/+0
| | | | Reviewed by: peter@
* Properly obey PPC context synchronization rules when modifyinggrehan2004-07-202-0/+4
| | | | | the address translation bits of the MSR. This fixes the boot-time panic reported by Drew Gallatin.
* #ifdef __i386__ -> __i386__ || __amd64__peter2004-07-201-5/+5
|
* Report the number of bytes not written when complaining about failed writesbrian2004-07-201-2/+2
|
* Make end of frames for KSE thread, for system scope thread, without thisdavidxu2004-07-201-0/+1
| | | | change, debugger will dump a weird stack backtrace.
* Fix printing of long doubles to match the size thatgallatin2004-07-193-20/+17
| | | | | | | | | | | | | gcc is using. This fixes devstat consumers (like vmstat, iostat, systat) so they don't print crazy zillion digit numbers for disk transfers and bandwidth. According to gcc, long doubles are 64-bits, rather than 128 bits like the SVR4 ABI spec wants them to be.. Note that MacOSX also treats long doubles as 64-bits, and not 128 bits, so we are in good company. Reviewed by: das Approved by: grehan
* Remove extraneous locks on the VM free page queue mutex; it is notgreen2004-07-191-2/+0
| | | | | | | meant to be recursed upon, and could cauuse a deadlock inside the new contigmalloc (vm.old_contigmalloc=0) code. Submitted by: alc
* Identify VIA EHCI root hubs and at least one VIA USB2.0 controller.benno2004-07-191-0/+9
|
* Let IN_FASTREOCOVERY macro decide if we are in recovery mode.jayanth2004-07-193-9/+1
| | | | | Nuke sackhole_limit for now. We need to add it back to limit the total number of sack blocks in the system.
* Fix a potential panic in the SACK code that was causingjayanth2004-07-191-8/+29
| | | | | | | | | | | | 1) data to be sent to the right of snd_recover. 2) send more data then whats in the send buffer. The fix is to postpone sack retransmit to a subsequent recovery episode if the current retransmit pointer is beyond snd_recover. Thanks to Mohan Srinivasan for helping fix the bug. Submitted by:Daniel Lang
* Diff reduction to NetBSD.le2004-07-191-5/+6
| | | | | | | usbdi.c rev. 1.104, author: mycroft ugen_isoc_rintr() may recycle the xfer immediately. Therefore, we avoid touching the xfer after calling the callback in usb_transfer_complete(). From PR 25960.
* Diff reduction to NetBSD.le2004-07-192-4/+2
| | | | | | | | ehci.c rev. 1.69, author: mycroft uhci.c rev. 1.179, author: mycroft hcpriv is not actually used here. Remove references to it. Obtained from: NetBSD
* - Eliminate the pte object from the pmap. Instead, page table pages arealc2004-07-193-148/+63
| | | | | | | | | | | | | allocated as "no object" pages. Similar changes were made to the amd64 and i386 pmap last year. The primary reason being that maintaining a pte object leads to lock order violations. A secondary reason being that the pte object is redundant, i.e., the page table itself can be used to lookup page table pages. (Historical note: The pte object predates our ability to allocate "no object" pages. Thus, the pte object was a necessary evil.) - Unconditionally check the vm object lock's status in vm_page_remove(). Previously, this assertion could not be made on Alpha due to its use of a pte object.
* You always spot the typos after you have committed.. Start sentencejulian2004-07-191-1/+1
| | | | with a Cap.
* Allow the user who calls doadump() from the kernel debuggerjulian2004-07-191-2/+11
| | | | | | | | | | to not get a page fault if he has not defined a dump device. Panic can often not do a dump as it can hang forever in some cases. The original PR was for amd64 only. This is a generalised version of that change. PR: amd64/67712 Submitted by: wjw@withagen.nl <Willen Jan Withagen>
* Further function forward declaration white space tweaks.rwatson2004-07-191-14/+15
|
* Re-style at_control.c to bring it closer to style(9), primarily withrwatson2004-07-191-606/+594
| | | | | | regard to function prototypes and indentation. The lack of indentation in if clauses and case statements made this code extremely difficult to read.
* prgregset_t changed type from being a typedef of struct reg to anmarcel2004-07-191-1/+1
| | | | | array of one element of type struct reg. Change the argument to libc_r_md_getgregs() accordingly.
* As a temporary hack, turn off deferred preemptions that are the result ofjhb2004-07-193-0/+6
| | | | | | | a fast interrupt handler doing an swi_sched(). This fixed the lockups I saw on my laptop when using xmms in KDE and on rwatson's MySQL benchmarks on SMP. This will eventually be removed and/or modified when I figure out what the root cause is and fix that.
* Since breakage of malloc(9)/uma_zalloc(9) is totally non-optional ingreen2004-07-191-0/+6
| | | | | GENERIC/for WITNESS users, make sure the sysctl to disable the behavior is read-only and always enabled.
* Guard against argv[0] being NULL.kientzle2004-07-191-6/+11
| | | | Thanks to: Tim J Robbins
* Make it clearer what means 'won't work' for .if string == ${VAR}.harti2004-07-191-5/+12
| | | | | | | | | | | | | Replace the use of '=' in conditionals in the examples by the more correct '=='. Clarify the example explaining that .for expansion takes place before .if handling by showing the correct code instead of saying 'the other way around'. Change a variable name there so the example is more parseable to the human reader. PR: docs/65400 Submitted by: Roman Neuhauser <neuhauser@chello.cz>
* Avoid passing negative values to tolower() on machines with signed chars.tjr2004-07-191-1/+1
|
* Fix a typo that could provoke a panic or access to random memory.harti2004-07-191-1/+1
| | | | | PR: kern/67012 Submitted by: Zhenmin <zli4@cs.uiuc.edu>
* Make kdb_backtrace() sort of work.cognet2004-07-191-6/+9
|
* Enable libpthread build for powerpcgrehan2004-07-191-1/+1
|
* PPC MD bits for KSE. Runs test cases OK. Crippled to 1:1 mode forgrehan2004-07-1916-0/+1640
| | | | the time being.
* Add signalcontext, required by KSE.grehan2004-07-192-1/+104
|
* The new program counter should go into the trapframe's srr0 andgrehan2004-07-191-1/+1
| | | | not the link register, which was lucky enough to work.
* Sort sections.tjr2004-07-191-3/+3
|
* Move exit status information into a DIAGNOSTICS section. Add an ENVIRONMENTtjr2004-07-191-3/+15
| | | | | section. Re-add a sentence from the BUGS section that went missing in the previous commit.
* MFi386: revision 1.596.nyan2004-07-192-0/+6
|
* Add support for multibyte characters. While here, fix a longstanding bug intjr2004-07-192-59/+68
| | | | | the implementation of the -d option: we were skipping too many characters when a non-alphanumeric character was encountered.
* Point out in the BUGS section that look expects input files to havetjr2004-07-191-0/+7
| | | | been sorted with LC_COLLATE=C.
* Add a skeleton makefile that runs the tests out of libc/regex/grot.tjr2004-07-191-0/+11
|
* Oops, test error behaviour of wctrans(), not wctype().tjr2004-07-191-2/+2
|
* Update paths to reg*.c and regex2.h. Add a target to build regex.h.tjr2004-07-191-1/+3
|
* Update for removal of cclass.h. Trim some useless targets. Invoke mkhtjr2004-07-191-34/+6
| | | | with "sh mkh" so it works if the script is not executable.
* Update for recent changes to struct re_guts. Disable printing the contentstjr2004-07-191-38/+5
| | | | of OANYOF sets for the moment.
* Remove unused files.tjr2004-07-192-12/+0
|
OpenPOWER on IntegriCloud