summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with recent vfprintf.c changes.tjr2003-04-071-175/+215
|
* s/obsoelte/obsolete/rwatson2003-04-071-4/+4
|
* __wcsconv(): free(convbuf) before returning NULLache2003-04-071-2/+4
|
* Retire these files.mdodd2003-04-072-189/+0
|
* Today just isn't my day. Remove some old commented out code that snuckdas2003-04-071-1/+1
| | | | | | into the last commit. Noticed by: mike
* MF NetBSD:mdodd2003-04-074-13/+24
| | | | | | | | | | - Reduce diffs with NetBSD. - Formatting and explicit values for enum declaration. - Order of prototypes. - zero report_size in hid_clear_local() - errx() needs no newline - Don't initialie variable in declaration in hid_parse_usage_in_page(). - Use fmtcheck() in hid_usage_in_page().
* Additional regression tests for grouping, parsing of '.*', and printingdas2003-04-071-0/+9
| | | | of %f formats where the number of significant digits is < expt.
* - %e conversions with precision 0 should not cause a decimal point todas2003-04-071-18/+22
| | | | | | | | be printed. - Fix %f conversions where the number of significant digits is < expt. This would be a one-line change were it not for thousands separators. Noticed by tjr. - Remove some unnecessary code in the parsing of precision specifiers.
* Put back the undocumented change from rev. 1.334 too: noru2003-04-071-1/+1
| | | | need to create ${WORLDTMP}/legacy/usr/include explicitly.
* Put back parts of 1.335 and 1.336 that 1.337 accidentally backed out.imp2003-04-061-5/+1
| | | | Submitted by: ru
* Move a bus_dmamap_sync() to the correct place.mux2003-04-061-1/+1
|
* Because alpha can't access memory in 16-bit granularity,mux2003-04-061-7/+11
| | | | | | | | | | | we're using an atomic operation to clear the suspend flag in fxp_start(). Since other architectures may need the same thing, we want to do it all the time and not only in the __alpha__ case. However, we don't want to use atomic operations on 16-bit integers, because those may not be available on any architecture. We're thus faking a 32-bit atomic operation here. This patch also deals with endianness here.
* Sufficient access checks are performed by vmapbuf() that calling useracc()alc2003-04-061-19/+0
| | | | is pointless. Remove the calls to useracc().
* -legacy and /.../legacy/... looks better than build or bootstrap inimp2003-04-063-15/+19
| | | | | | the logs, so use that instead. Submitted by: obrien.
* Always remove ${WORLDTMP}/build/usr/include, even in the NOCLEANru2003-04-061-0/+1
| | | | case. This way, we won't have stale compatibility headers there.
* Revert the s/u_int/u_int8_t/ changes, we can't really use othermux2003-04-061-22/+22
| | | | | | integer types than int with bit-fields in a portable way. Prodded by: bde
* Moved libbuild target to where it belongs. Added a comment.ru2003-04-061-5/+8
|
* Remove the 32KB VHPT section from the kernel image. We don't reallymarcel2003-04-064-26/+4
| | | | | | | | | | | | use it because we allocate a VHPT based on the size of the physical memory and even if the allocated VHPT is 32KB, we don't use the in- image section for it. Since the VHPT must be naturally aligned, we save 48K on average (due to alignment). Consequently, we start off with the VHPT disabled (it is assumed the VHPT is disabled because the EFI loader runs without memory address translation and thus has no need to setup the VHPT). It's probably a good idea to explicitly disable the VHPT if we make the use of the VHPT optional.
* Fixed buildworld stages names in comments.ru2003-04-061-9/+10
|
* Improve, and slightly soften, the deprecated flags. Call them deprecatedimp2003-04-061-10/+17
| | | | | | and not obsolete, but add a warning about their disappearance. Add additional notes that explain the lameness of WEP.
* Sufficient access checks are performed by vmapbuf() that calling useracc()alc2003-04-061-5/+0
| | | | | | | | is pointless. Remove the call to useracc(). Don't reinitialize fields that are already initialized by getpbuf(). Reviewed by: tegge
* o Tone down the obsolete messages since we actually do something, forimp2003-04-061-36/+48
| | | | | | | | | | | | the moment, with the deprecated flags. o Better error reporting on getting values from the driver. When we can't get one for the default dumpinfo output. The old driver would succeed for invalid RIDs, while the new driver reports errors. Since the info we're getting from the card/driver doesn't exist for all cards, we just don't report them. Improve error reporting elsewhere now that wi_getval doesn't exit. Also fix a file descriptor leak as a side effect. Reported by: scottl
* Initialize the PIIX timecounter in piix_attach(), which is called onlydes2003-04-061-8/+12
| | | | | once, instead of doing it in piix_probe(), which is called every time the PCI bus is rescanned.
* Remove a largely useless statistic (its kept elsewhere too).jake2003-04-061-3/+0
|
* Make the pmap stats writeable. It can be useful to clear them.jake2003-04-061-1/+1
|
* Add support for the CLIE 5.0 series of PDAsscottl2003-04-061-0/+1
|
* Regen from usbdevs v.116scottl2003-04-061-1/+13
|
* Regenscottl2003-04-061-1/+3
|
* Add ID's for the CLIE 5.0 series and the Belkin F5U109 usb->serial adapter.scottl2003-04-061-0/+2
|
* Use the vis block copy/zero functions for pmap_copy_page and pmap_zero_page.jake2003-04-064-13/+29
| | | | | | | | | | | | | These are called through function pointers so that different implementations can be provided for cheetah, where the block load instructions may or may not be a win, and so they can be disabled with the machdep.use_vis tunable. In terms of raw bandwidth the integer versions are faster, but not allocating lines in the L2 cache for useless data gives a measurable improvement in user time for the benchmarks I tested (mostly buildworld with -j8). As far as I can tell the instructions used are implemented on everything back to UltraSPARC I, so there should not be a problem with different cpu types.
* Ignore attempts to pmap_kremove or pmap_qremove pages which do not havejake2003-04-061-0/+2
| | | | a valid mapping. This is bug for bug compatible with other platforms.
* These entries (for multilingual sysinstall) are not for Japanese term only.hosokawa2003-04-061-3/+3
| | | | Changed to more generic names.
* make prototpyes match functions, and declare things static as neededimp2003-04-069-21/+29
|
* Test for bug in revision 1.54 of vfprintf.c.tjr2003-04-061-0/+3
|
* Zap some a.out leftoverspeter2003-04-061-3/+0
|
* Also set the access bit in the PTE when we get a data dirty bit fault.marcel2003-04-062-4/+4
| | | | | | This avoids an immediate access bit fault when we serviced the dirty bit fault in case the access bit is unset. This typically happens for newly allocated memory that's being zeroed and thus very common.
* Sync up with kern/subr_prf.c. This adds %ll, %j, %q, %z, etc.peter2003-04-061-47/+115
|
* Search for "elf32 kernel" (and elf64) and "elf32 module" (and elf64)peter2003-04-062-4/+12
| | | | | as well as "elf kernel" and "elf module". This is a precursor to x86-64 support in the i386 loader so it can load an elf64 x86-64 kernel.
* We can't use ${WORLDTMP}/usr/{include,lib} for the compat layer. Thisimp2003-04-062-5/+29
| | | | | | | | | | | is because we populate these directories later, and a subsequent -DNOCLEAN build may fail. So, we put them in ${WORLDTMP}/build/usr/{include,lib} instead and adjust Makefile.boot. Again, this works on -stable and -current, but might break older versions. Submitted by: ru@
* Don't need the gccism include_next since we won't create this fileimp2003-04-061-6/+1
| | | | | | when a real sys/endian.h exists. Submitted by: ru@
* Use __FBSDID.mux2003-04-061-1/+3
|
* Correct the definition of the link_addr and rbd_addr fieldsmux2003-04-061-2/+2
| | | | | in struct fxp_rfa. This should have been committed with my last endianness fixes.
* - Instead of rolling our own alignment-safe function, use le32enc()mux2003-04-061-78/+66
| | | | | | which deals with both endianness and alignment issues. - Collect low-hanging fruits for endianness safety. - Use 0xffffffff instead of -1 where appropriate.
* Remove an unnecessary trunc_page() from vmapbuf().alc2003-04-061-1/+1
| | | | Reviewed by: tegge
* - Use __FXP_BITFIELDX macros to make the configuration bitfieldmux2003-04-051-81/+99
| | | | | | | | | | | endian safe. - Change some u_int to u_int8_t which make more sense here since we're really defining bytes. That produces the same code due to how bitfields work. - Add the definition of the vlan_drop_en bit (not used yet). - Add some useful comments. Obtained from: NetBSD
* Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() for themux2003-04-051-2/+21
| | | | | | | | RX part of this driver too. It's better since the code wasn't dealing with bus_dmamap_load() returning EINPROGRESS, and this can't happen with bus_dmamap_load_mbuf(). Submitted by: jake
* Don't reinitialize fields that are already initialized by getpbuf().alc2003-04-052-2/+2
|
* Unbreak the !LAZY_SWITCH case. I #ifdef'ed too much when I addedpeter2003-04-053-6/+3
| | | | | | the ifdefs prior to commit and killed the same-address-space test. Submitted by: bde
* Regression tests for printf()'s floating point formats.das2003-04-052-1/+168
| | | | Tests for correct printing of subnormals are lacking.
* Rework the floating point code in printf(). Significant changes:das2003-04-052-151/+191
| | | | | | | | | | | | | | | | | | - We used to round long double arguments to double. Now we print them properly. - Bugs involving '%F', corner cases of '#' and 'g' format specifiers, and the '.*' precision specifier have been fixed. - Added support for the "'" specifier to print thousands' grouping characters in a locale-dependent manner. - Implement the __vfprintf() side of hexadecimal floating point support. All that is still needed is a routine to convert the mantissa to hex digits one nibble at a time in the style of ultoa(). Reviewed by: silence on standards@
OpenPOWER on IntegriCloud