| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
support `long long' and those that don't.
Reviewed by: bde
|
|
|
|
|
|
|
| |
input and an output by using the '+' modifier rather than listing the
operand in both the input and output sections.
Reviwed by: bde
|
| |
|
| |
|
| |
|
|
|
|
| |
reference to curthread. (#define curproc (curthread->td_proc)).
|
|
|
|
| |
variable to reduce generated code. This is a test case.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
the region is not 6 or 7. This changes the behaviour from
inserting a bogus region 6 mapping to a kernel panic.
|
|
|
|
| |
uglier compatibility hack (#define thread proc).
|
|
|
|
| |
on other platforms.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
symbols so that driver lists are easier to share and keep in sync.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
them back to struct thread *.
Submitteed by: bde
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
| |
Some BIOSes don't set WAK_STS at all,
give up waiting for wakeup if we time out.
|
|
|
|
|
| |
PR: 31898
Submitted by: Michael Lyngbøl <lyngbol@bifrost.lyngbol.dk>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
that I have the datasheet on the way for that also does this.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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...
|
|
|
|
| |
Approved: jhb
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
defines methods that need to be implemented by sparc64 host bridge drivers).
|
| |
|
| |
|
|
|
|
|
| |
PCI support code, and a driver for the Sun APB PCI-PCI bridge.
Partly ported from NetBSD.
|
| |
|
| |
|
| |
|
|
|
|
| |
devices (mostly host bridges) and handles interrupt allocation and setup.
|
|
|
|
| |
definitions and add PAGE_*_MIN and -_MAX macros.
|
| |
|