aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove two unused fields in the operand structure (o_read & o_write).Marcel Moolenaar2003-10-241-2/+0
| | | | Notes: svn path=/head/; revision=121448
* Update to latest from DRI CVS. Primary new feature is mostly-complete smpngEric Anholt2003-10-2436-1217/+1320
| | | | | | | | | | | locking, and the apparently unnecessary locking for -stable has been removed. This may fix issues with missed interrupts since April, which manifested themselves as slowdowns or hangs in radeon, in particular. Many cleanups also took place. In the shared code, there are improvements to r128 driver stability. Notes: svn path=/head/; revision=121447
* o restructure initialization code so data structures are setupSam Leffler2003-10-241-22/+34
| | | | | | | | | | | | when loaded as a module o cleanup data structures on module unload when no application has been started (i.e. kldload, kldunload w/o mrtd) o remove extraneous unlocks immediately prior to destroying them Supported by: FreeBSD Foundation Notes: svn path=/head/; revision=121446
* check return result from rtalloc1 before invoking RTUNLOCKSam Leffler2003-10-231-1/+2
| | | | Notes: svn path=/head/; revision=121445
* Writes to p_flag in __setugid() no longer need Giant.John Baldwin2003-10-231-4/+0
| | | | Notes: svn path=/head/; revision=121444
* Move the P_COWINPROGRESS flag from being a per-process p_flag to being aJohn Baldwin2003-10-234-18/+17
| | | | | | | | | | per-thread td_pflag which doesn't require any locks to read or write as it is only read or written by curthread on itself. Glanced at by: mckusick Notes: svn path=/head/; revision=121443
* Add appropriate const poisoning to the assert_*locked() family so that I canGarrett Wollman2003-10-232-15/+15
| | | | | | | | | call ASSERT_VOP_LOCKED(vp, __func__) without a diagnostic. Inspired by: the evil and rude OpenAFS cache manager code Notes: svn path=/head/; revision=121441
* Add simple support for AGP 3.0 including enabling 8x mode. The simpleJohn Baldwin2003-10-233-31/+239
| | | | | | | | | | | part of the support is that it still assumes one master and one target where as AGP 3.0 actually supports multiple devices on the bus. Submitted by: Keith Whitwell <keith@tungstengraphics.com> Sponsored by: The Weather Channel Notes: svn path=/head/; revision=121440
* workaround to have backward compatibility for EAI_NODATA.Hajimu UMEMOTO2003-10-231-0/+1
| | | | | | | | | it will be removed on 23 Apr 2004. Submitted by: terry Notes: svn path=/head/; revision=121439
* Remove unnecessary casts to (caddr_t) for if_broadcastaddr.Warner Losh2003-10-231-3/+3
| | | | Notes: svn path=/head/; revision=121438
* Use a switch statement on the devid instead of if-else for determing whichJohn Baldwin2003-10-232-12/+36
| | | | | | | | | code to use to see if the onboard video has been disabled or not. Submitted by: Keith Whitwell <keith@tungstengraphics.com> Notes: svn path=/head/; revision=121437
* Remove unnecessary (caddr_t) casts of if_broadcastaddr.Warner Losh2003-10-231-2/+2
| | | | Notes: svn path=/head/; revision=121436
* - styleHajimu UMEMOTO2003-10-231-145/+131
| | | | | | | | | | - index() -> strchr() - stop use of MAXHOSTNAMELEN Obtained from: KAME Notes: svn path=/head/; revision=121435
* Const poison crc routines (why these aren't centralized, I'm not sure).Warner Losh2003-10-232-18/+18
| | | | Notes: svn path=/head/; revision=121433
* Const poison the crc calcuation routines so const data can be sent toWarner Losh2003-10-231-3/+3
| | | | | | | it. Notes: svn path=/head/; revision=121432
* Use IF_MAXUNIT instead of rolling our own identical TUN_MAXUNIT.Brooks Davis2003-10-231-4/+3
| | | | Notes: svn path=/head/; revision=121431
* oops, I forget to diable EAI_ADDRFAMILY and EAI_NODATA.Hajimu UMEMOTO2003-10-231-0/+6
| | | | Notes: svn path=/head/; revision=121430
* Fix several old bugs which got worse over time:Tom Rhodes2003-10-233-9/+10
| | | | | | | | | | | | | o WARNS should be WARNS?= (broke in rev 1.21). o Includes should be sorted. o Move "mntopt.h" out of the standard includes section. o Rewrite usage() to match the manual page and make it < 80 characters. o Remove extra .El call on line 187. It is unused and causes mdoc(7) warnings. Discussed with: bde Notes: svn path=/head/; revision=121429
* Merge from p4 (noticed these changes with DES' if_ethersubr.c changes causedWarner Losh2003-10-231-3/+3
| | | | | | | | | | | a minor conflict): o Use ETHER_ADDR_LEN in preference to '6'. o Remove two unnecessary (caddr_t) casts. One of them causes problems in my tree where etherbroadcastaddr is const, and (caddr_t) casts the const away. Notes: svn path=/head/; revision=121428
* Mdoc Janitor:Hiten Pandya2003-10-231-1/+1
| | | | | | | | | * Add a forgotten .An macro for 'Jeroen Ruigrok van der Werven'. Noticed by: simon@ Notes: svn path=/head/; revision=121427
* reorder functions to be in sync with KAME.Hajimu UMEMOTO2003-10-231-128/+132
| | | | Notes: svn path=/head/; revision=121426
* EAI_ADDRFAMILY and EAI_NODATA was deprecated in RFC3493Hajimu UMEMOTO2003-10-233-19/+6
| | | | | | | | | | | (aka RFC2553bis). Now, getaddrinfo(3) returns EAI_NONAME instead of EAI_NODATA. Our getaddrinfo(3) nor getnameinfo(3) didn't use EAI_ADDRFAMILY. Obtained from: KAME Notes: svn path=/head/; revision=121425
* Print the correct ICMP statistics for "no return routes".Ruslan Ermilov2003-10-231-1/+1
| | | | Notes: svn path=/head/; revision=121424
* preparation for RFC3493. EAI_NODATA was deprecated.Hajimu UMEMOTO2003-10-231-0/+2
| | | | Notes: svn path=/head/; revision=121423
* Clean up whitespace, remove "register" keyword, ANSIfy.Dag-Erling Smørgrav2003-10-232-134/+76
| | | | | | | No functional changes. Notes: svn path=/head/; revision=121422
* 0x7FFFFFFFFF is >32 bits and needs an explicit LL.Dag-Erling Smørgrav2003-10-232-2/+2
| | | | Notes: svn path=/head/; revision=121421
* Plug a memory leak in the PAM child process. It is of no great consequenceDag-Erling Smørgrav2003-10-231-0/+8
| | | | | | | | | | as the process is short-lived, and the leak occurs very rarely and always shortly before the process terminates. MFC after: 3 days Notes: svn path=/head/; revision=121420
* Connect fabsl.c to the build.Dag-Erling Smørgrav2003-10-231-0/+2
| | | | Notes: svn path=/head/; revision=121419
* Add prototypes for all long double functions in C99. Leave them allDag-Erling Smørgrav2003-10-231-0/+67
| | | | | | | #if 0'd out, except for fabsl(3) which I've implemented. Notes: svn path=/head/; revision=121418
* Implement fabsl(3), allowing the world to build with -fno-builtin.Dag-Erling Smørgrav2003-10-231-0/+37
| | | | Notes: svn path=/head/; revision=121417
* Cleanup. Remove the md_flags for threads. It's not used. The flagsMarcel Moolenaar2003-10-231-35/+21
| | | | | | | | | | | we had were bogus. While here, reassign the copyright to the Project. There's nothing in this files that originates from NetBSD, especially now that the FreeBSD/alpha bits have been removed, but even then the amount of inherited code that we actually used was nil. Notes: svn path=/head/; revision=121416
* Reimplement unaligned_fixup() using the new disassembler and aMarcel Moolenaar2003-10-231-582/+136
| | | | | | | | | | | mcontext_t for the register values. Currently only ld8 and ldfd instructions are handled as those are the ones we need now (a misaligned ld8 occurs 4 times in ntpd(8) and a misaligned ldfd occurs once in mozilla 1.4 and 1.5). Other instructions are added when needed. Notes: svn path=/head/; revision=121415
* Mdoc Janitor:Hiten Pandya2003-10-2346-47/+47
| | | | | | | * Use 'manual' instead of 'man' for consistency. Notes: svn path=/head/; revision=121414
* Remove unused include of <machine/inst.h>Marcel Moolenaar2003-10-231-1/+0
| | | | Notes: svn path=/head/; revision=121413
* Remove prototype of unaligned_fixup() and fix a nearby style(9)Marcel Moolenaar2003-10-231-3/+1
| | | | | | | bug. Notes: svn path=/head/; revision=121412
* Add prototypes for spillfd() and unaligned_fixup().Marcel Moolenaar2003-10-231-0/+2
| | | | Notes: svn path=/head/; revision=121411
* Add spillfd(). This function loads a double-precision FP registerMarcel Moolenaar2003-10-231-0/+10
| | | | | | | | | | | at the first address and spills it to the second address. This allows unaligned_fixup() to update the context of the process in a way that assures proper rounding. Similar functions for single-and extended-precision are added when needed. Notes: svn path=/head/; revision=121410
* Use amd64_set_fsbase() instead of calling sysarch() directly.Peter Wemm2003-10-232-12/+2
| | | | Notes: svn path=/head/; revision=121409
* Hook-up the new disassembler.Marcel Moolenaar2003-10-231-0/+3
| | | | Notes: svn path=/head/; revision=121408
* Add implementations of amd64_[gs]et_[fg]sbase().Peter Wemm2003-10-235-0/+158
| | | | Notes: svn path=/head/; revision=121407
* Mdoc Janitor:Hiten Pandya2003-10-231-71/+71
| | | | | | | | | | | | | | | | * Uppercase the .Dt command contents. * Remove incorrect usage of .Fa. * Use .Va for struct members, and .Vt for structs (correct replacement for .Fa) * Markup VM_* and MAP_* macros with .Dv command. * Replace 'man' with 'manual' for consistency. Notes: svn path=/head/; revision=121406
* Use a more robust API altogether for the amd64_get_fsbase() etc functions.Peter Wemm2003-10-231-4/+4
| | | | Notes: svn path=/head/; revision=121405
* Add a new disassembler that improves over the previous disassemblerMarcel Moolenaar2003-10-235-0/+5915
| | | | | | | | | | | | | | | | | | in that it provides an abstract (intermediate) representation for instructions. This significantly improves working with instructions such as emulation of instructions that are not implemented by the hardware (e.g. long branch) or enhancing implemented instructions (e.g. handling of misaligned memory accesses). Not to mention that it's much easier to print instructions. Functions are included that provide a textual representation for opcodes, completers and operands. The disassembler supports all ia64 instructions defined by revision 2.1 of the SDM (Oct 2002). Notes: svn path=/head/; revision=121404
* Look at the equipment list for amd64 as well as i386 for autodetectingPeter Wemm2003-10-232-4/+4
| | | | | | | floppy drives in the absence of hints. Notes: svn path=/head/; revision=121403
* Correct #include file in SYNOPSIS:Hiten Pandya2003-10-231-1/+1
| | | | | | | | It is not sys/geom_disk.h, but located under geom/ directory, so, mark it geom/geom_disk.h. Notes: svn path=/head/; revision=121402
* Mdoc Janitor:Hiten Pandya2003-10-231-3/+9
| | | | | | | | | | | | | | | | * Uppercase .Dt command contents. * Make use of .Fo and .Fc for marking up functions with a lot of arguments. NOTE: Please do not use the `\' line seperator for mdoc(7) manual pages, as it has problems of its own on some displays; instead, consult the mdoc(7) manual on using .Fo and .Fc. * Change 'man' to 'manual' for consistency. Notes: svn path=/head/; revision=121401
* Mdoc Janitor:Hiten Pandya2003-10-231-1/+3
| | | | | | | * Use the .Sx command for referencing sections. Notes: svn path=/head/; revision=121400
* Fix mismerge from one tree to another: add (Warner Losh2003-10-231-1/+1
| | | | Notes: svn path=/head/; revision=121399
* Renumber the sysarch vectors for amd64 specific syscalls so that I canPeter Wemm2003-10-231-6/+5
| | | | | | | | | | implement i386 compat numbers where it makes sense. This would save a syscall translation layer. Yes, this breaks the abi slightly again, but fortunately its just a recompile rather than tweaking the source. I will be fixing the libc stubs while I'm here. Notes: svn path=/head/; revision=121398
* Add a GEOM(4) MLINK.Hiten Pandya2003-10-231-0/+1
| | | | Notes: svn path=/head/; revision=121397