summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to distinguish between compile environments thatmike2001-11-121-0/+5
| | | | | | support `long long' and those that don't. Reviewed by: bde
* Use newer constraints for inline assembly for an operand that is both anjhb2001-11-122-42/+42
| | | | | | | input and an output by using the '+' modifier rather than listing the operand in both the input and output sections. Reviwed by: bde
* Use make_dev_alias() instead of call make_dev() twice.nyan2001-11-121-4/+8
|
* -msoft-float must always be turned on when compiling the PowerPC kernel.benno2001-11-121-1/+3
|
* Implement eficlock_set() to set hardware clock.peter2001-11-121-1/+13
|
* Commit the better version that I had a while ago. This has only onepeter2001-11-121-2/+5
| | | | reference to curthread. (#define curproc (curthread->td_proc)).
* When curproc is used repeatedly store curproc into a localdillon2001-11-121-3/+4
| | | | variable to reduce generated code. This is a test case.
* o os_boot_rendez is responsible for clearing the IRR bit bymarcel2001-11-124-37/+69
| | | | | | | | | | | | | | | | reading cr.ivr, as well as writing to cr.eoi. o use global variables to pass information to os_boot_rendez so that it doesn't have to jump through hoops to find it out. This avoids traps on the AP without it even being initialized. This fixes SMP configurations. o Move the probing of the MADT to the end of cpu_startup, instead of at the start of cpu_mp_probe. We need to probe the MADT for non-SMP configurations as well. This fixes uniprocessor configurations. o Serialize AP wake-up by waiting for the AP. We need to do this since we use global variables to for the AP to use. As a side-effect, we can use printf() more easily to see what's going on.
* Invoke trap() for the alt. ITLB and alt. DTLB interrrupts whenmarcel2001-11-122-2/+16
| | | | | the region is not 6 or 7. This changes the behaviour from inserting a bogus region 6 mapping to a kernel panic.
* Use d_thread_t (the new ugly compatibility hack) rather than the oldimp2001-11-121-6/+4
| | | | uglier compatibility hack (#define thread proc).
* Remove #if 0'ed code that was replaced by vm_ksubmap_init() and GC'edpeter2001-11-121-126/+0
| | | | on other platforms.
* Allow users to use the 'nolockd' or -L options with mount_nfs in orderalfred2001-11-123-3/+9
| | | | | | to avoid the need for rpc.lockd to perform client locks. Using this option a user can revert back to using local locks for NFS mounts like we did before we had rpc.lockd.
* Sync to 1.17 of pccarddevsimp2001-11-111-1/+2
|
* Add GENTEK as one of the bogus vendors we need to id cards from the cisimp2001-11-111-0/+1
|
* turn vn_open() into a wrapper around vn_open_cred() which allowsalfred2001-11-113-17/+15
| | | | | | | | one to perform a vn_open using temporary/other/fake credentials. Modify the nfs client side locking code to use vn_open_cred() passing proc0's ucred instead of the old way which was to temporary raise privs while running vn_open(). This should close the race hopefully.
* Add a bunch of wireless cards for NEWBUS from NetBSD's list. I'mimp2001-11-111-3/+31
| | | | | | | | | | trying something new with the macros here and will likely try to get them adopted by NetBSD as well as moving them to other drivers. They make the list more compact and easier to read, the price of rigid to a schema for generating them (of course there are those that would argue this isn't bad). Obtained from: NetBSD's if_wi_pcmcia.c 1.9
* Move kern.post.mk to last line, now that it appears safeimp2001-11-115-10/+10
|
* Back out last commit, it was accidentalimp2001-11-111-79/+79
|
* s/PCCARD_/PCMCIA_/g in NEWCARD device tables to enable easier NetBSD sharingimp2001-11-119-267/+267
|
* Sync to 1.16 pccarddevs to get new PCMCIA_ symbolsimp2001-11-114-570/+570
|
* Move from using PCCARD_ symbols gereated from this file to using PCMCIA_imp2001-11-112-20/+20
| | | | symbols so that driver lists are easier to share and keep in sync.
* Sync to 1.15 pccarddevsimp2001-11-111-299/+314
|
* MFNetBSD:imp2001-11-111-147/+154
| | | | | | | | 1.140 imp (that's me) sort the file 1.141 christos Another cdrom 1.142 mjl Corega PCCB-11 1.143 mjl Corega PCC-TD 1.144 ichiro ELSA CF wavelan card XI-800
* MFC after: 0 daysgroudier2001-11-117-8/+8
|
* Move Intel 82092AA into the list of devices. It appears to be a oneimp2001-11-111-1/+1
| | | | | | | | | | | off chip that was on one prototype board. However, this appears to be a design that many chipsets are compatible with its PPEC register set (eg the Omega 82c094). Through the kindness of the Red Hat developer David Woodhouse, I now have this datasheet. I may take the advise of one of the bsd-nomads (whose name unfortunately escapes me at the moment) and split out all these 16-bit I/O mapped PCI devices into a separate driver...
* Add Omega 82c094 PCI PCMCIA bridge. It is similar to the CL-PD6729 inimp2001-11-111-3/+3
| | | | | | | | | | | | | | | that it has one BAR that's mapped to 0x3e0 and is I/O only. It does not conform to the Yenta spec, like other PCI PCMICA bridges do (eg the TI 1031, which is mostly a 1131 w/o 32bit card support). It appears that this chip may also need to not route PCI interrupts as well. This chip is used in the NEC Versa 2430CD (and it appears that sometimes it works, while other times it doesn't) and others in the 2400 series. While the NEC website claims Cardbus support, I can't figure out how that is possible. Submitted by: Ben Timby <ben@webexc.com>
* It turns out my reasons for using a few d_thread_t's were bogus. Revertimp2001-11-112-14/+16
| | | | | | them back to struct thread *. Submitteed by: bde
* Add two minor changes.iwasaki2001-11-112-66/+88
| | | | | | - clean up wakeup routing fixup code by using macros. - allocate pte object temporary for kernel thread to avoid kernel panic by events from sleep button or lid switch.
* Apply a local change to ACPICA.iwasaki2001-11-111-1/+9
| | | | | Some BIOSes don't set WAK_STS at all, give up waiting for wakeup if we time out.
* fix typo.phk2001-11-111-1/+1
| | | | | PR: 31898 Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
* Introduce the concept of "default" voltage. Have pccard layer use thisimp2001-11-112-56/+83
| | | | | | | | | value (-1) in lue of 50 (which assumes a 5.0V card). The rest of the pccard system doesn't detect the proper voltage for the card, so we have to do it on powerup. Many (all?) 3.3V cards can tolerate 5.0V for reading the CIS, but may fail to operate properly when so powered. Idea from: Chiharu Shibata-san <chi@bd.mbn.or.jp> in bsd-nomads:15867
* Do not assume that a I/O based bridge is a 6729. Intel made a funky chipimp2001-11-111-1/+1
| | | | that I have the datasheet on the way for that also does this.
* add note about why I used d_thread_t in the prototypes.imp2001-11-112-2/+4
|
* Move all: target to kern.pre.mk so it matters less where you includeimp2001-11-112-2/+1
| | | | | | | | | kern.post.mk. # this should allow us to move kern.post.mk to the last line of the makefiles, # but I'll do that slowly as I verify that one can do that w/o breaking things. Submitted by: naddy
* Append to SYSTEM_OBJS and CLEAN before including kern.post.mk.marcel2001-11-111-2/+2
| | | | | | Any modifications to SYSTEM_OBJS after including kern.post.mk will not make it to SYSTEM_DEP and consequently any dependency rules. This caused __{div|rem}* to not be built...
* - No need for resetting values to 0 when M_ZERO flag is used.arr2001-11-101-6/+0
| | | | Approved: jhb
* Avoid using the .align directive to skip to the next vector offset.marcel2001-11-102-426/+144
| | | | | | | | It doesn't help us catch overflowing vector entries at compile time. Instead use the .org directive. The last entry in the IVT doesn't strictly need to be limited to 256 bytes, but doing so allows the the VHPT to be placed immediately following the IVT without wasting any space due to alignment.
* Properly sanity-check the old msgbuf structure before we accept itiedowse2001-11-091-3/+6
| | | | | | | | | | | | | as being valid. Previously only the magic number and the virtual address were checked, but it makes little sense to require that the virtual address is the same (the message buffer is located at the end of physical memory), and checks on the msg_bufx and msg_bufr indices were missing. Submitted by: Bodo Rueskamp <br@clabsms.de> Tripped over during a kernel debugging tutorial given by: grog Reviewed by: grog, dwmalone MFC after: 1 week
* Fix deadlock introduced in 1.73 (Jan 1998). The paging-in-progress countdillon2001-11-091-1/+5
| | | | | | | | | on a vnode-backed object must be incremented *after* obtaining the vnode lock. If it is bumped before obtaining the vnode lock we can deadlock against vtruncbuf(). Submitted by: peter, ps MFC after: 3 days
* Add entries for the recently committed code.tmm2001-11-092-1/+23
|
* Add a file forgotten in the previous commit (a kobj interface thattmm2001-11-092-0/+150
| | | | defines methods that need to be implemented by sparc64 host bridge drivers).
* Add EBus support code, ported from NetBSD.tmm2001-11-092-0/+562
|
* Add ISA support code for sparc64.tmm2001-11-093-0/+530
|
* Add support for the Sun psycho/sabre UPA-PCI bridge, some OpenFirmwaretmm2001-11-096-0/+2382
| | | | | PCI support code, and a driver for the Sun APB PCI-PCI bridge. Partly ported from NetBSD.
* Support for the UltraSpac DVMA MMU (IOMMU), ported from NetBSD.tmm2001-11-093-0/+965
|
* Add some OpenFirmware bus support code and definitions.tmm2001-11-096-0/+348
|
* Add bus_space and busdma support for sparc64.tmm2001-11-095-20/+2150
|
* Add a nexus device for sparc64, which uses the OpenFirmware to attach UPAtmm2001-11-093-1/+521
| | | | devices (mostly host bridges) and handles interrupt allocation and setup.
* Header file updates needed for the cache code: add/correct some ASItmm2001-11-092-2/+21
| | | | definitions and add PAGE_*_MIN and -_MAX macros.
* Add cache handling code for sparc64.tmm2001-11-092-0/+531
|
OpenPOWER on IntegriCloud