rpaulo
32404d58a1
Coverity CID 3805: Close the firmware_handle on error and avoid leaks.
2006-07-04 18:26:29 +00:00
martin
1a8d6cd53d
Initialize the "console screen" once - no matter if we are console or
...
not.
2006-07-04 18:14:44 +00:00
christos
a5bf930cbd
PR/33912: tron: Building GENERIC kernel fails
...
Fallout from ACPI changes.
2006-07-04 14:53:47 +00:00
itohy
16b4260abb
Do not define the link_set symbol as static, or a.out linker won't find it.
2006-07-04 14:09:37 +00:00
he
c3480eebba
The declaration of mpacpi_active needs to be unconditional because
...
there's an unconditional use.
2006-07-04 10:05:06 +00:00
jld
3ebfa1a07d
Fix accidentally unsigned comparison, which was causing the timer event
...
handler to run ~forever in the face of slightly unexpected input from
Xen (system_time apparently going backwards). Pointed out by kardel@.
2006-07-04 07:35:28 +00:00
simonb
78877867ee
Remove some unused variables.
2006-07-04 06:25:50 +00:00
christos
d16c773e0b
fix typo
2006-07-04 00:47:47 +00:00
christos
01158ea892
Apply fvdl's acpi pci interrupt configuration code.
...
- MPACPI is no more.
- MPACPI_SCANPCI -> ACPI_SCANPCI
2006-07-04 00:30:21 +00:00
christos
8fed18e200
another dependency.
2006-07-04 00:16:05 +00:00
christos
4914e0cd44
typo
2006-07-04 00:13:35 +00:00
christos
8ace01b173
athrate_sample.o needs the generated header file
2006-07-04 00:10:34 +00:00
skrll
4b14ca6f7c
Actually drop into ddb for unknown traps (with the right conditions)
2006-07-03 19:48:30 +00:00
cherry
daf99d36cd
towards exec(): first round at fixing USPACE
2006-07-03 17:02:56 +00:00
cherry
46c3dfbc17
misc #define cleanups
2006-07-03 17:01:45 +00:00
cherry
f0def1c53a
fix nbmake-ia64 to clean include links
2006-07-03 16:50:40 +00:00
yamt
d145ea66dc
change KMEM_QUANTUM_SIZE from sizeof(void *) to (ALIGNBYTES + 1).
...
the latter is larger on eg. sparc.
noted by Christos Zoulas.
http://mail-index.NetBSD.org/port-sparc/2006/07/02/0001.html
2006-07-03 09:18:35 +00:00
christos
2f4b451441
Make sure we have at least PIPE_BUF bytes available in the socket send buffer.
...
Review and comment by yamt.
2006-07-03 02:34:39 +00:00
mrg
8a3f21aea4
always include the code to lookup bootinfo for memory size. however,
...
don't use it if biosbasemem or biosextmem are non-zero. this allows
one to set these variables in /netbsd rather than a kernel rebuild with
options REALBASEMEM/REALEXTMEM, as used to be. PR#33659.
2006-07-03 01:25:33 +00:00
mrg
ba1331d1b0
don't pass unsigned char * to functions wanting char *.
2006-07-03 01:21:50 +00:00
bjh21
32bed2b7b7
Add support or FSEntry_Func 14 and FSEntry_Func 15, which seem to be the
...
important directory-listing entry points.
2006-07-02 22:06:16 +00:00
bjh21
1b0f046ee7
Define LIBSA_NO_TWIDDLE, since NBFS really shouldn't twiddle().
2006-07-02 22:05:07 +00:00
bjh21
7ec4d05a27
Add a *NBFS command to select NBFS as current filing system.
2006-07-02 22:03:23 +00:00
bouyer
2707ad28d9
Add a kernel config file for Xen3 Dom0, built as part or i386 release.
2006-07-02 21:28:39 +00:00
bouyer
a2847deb82
Fix a bogus gcc4 uninitialized warning.
2006-07-02 18:54:25 +00:00
bouyer
0692f212b3
Move acpi_timer.h outside of __HAVE_TIMECOUNTER, as we need acpitimer_init()
...
for the non-timecounter case too.
2006-07-02 18:53:33 +00:00
cherry
2d00b8d1f2
nits
2006-07-02 17:28:11 +00:00
cherry
efe41d02f0
trying MFS for ski FS
2006-07-02 17:23:59 +00:00
bouyer
b96fedac26
block device backend driver for Xen3. Add
...
pseudo-device xbdback
in your config file to use.
2006-07-02 16:35:24 +00:00
bouyer
3fc47e70cc
Fix a off by one error in xstart_mmu[] that would cause bad corruption
...
when handling full batch of requests.
Linux expects to have 16 btyes free between the start of the RX buffer and the
start of the packet, handle this.
Get rid of the "hotplug-status" hack, we now have proper tools to deal with
it in userland.
Various minor fixes and code reorg.
2006-07-02 16:32:49 +00:00
bouyer
9b4c2c6758
m_copyback() doesn't adjust m->m_len if the data to copy is smaller than
...
the mbuf's size. Set it to a proper value before calling m_copyback().
This should fix panics in m_makewritable() reported by several peoples.
While there, add MCLAIM() calls where appropriate, a few more #ifdef DEBUG
checks, and various minor fixes.
2006-07-02 16:29:49 +00:00
tsutsui
344bead7dc
Rearrange DELAY() macro to use an asm statement so that we'll get more
...
proper delay.
2006-07-02 11:24:43 +00:00
tsutsui
8fa9dbf439
Remove sc_table[] decl, which is in device.h.
2006-07-02 11:10:28 +00:00
tsutsui
8fee3d1ece
Use a volatile variable in DELAY() macro so that gcc4 won't omit it.
...
Fixes output corruption on DCA console boot.
XXX some mips ports have the similar macro in <machine/param.h>.
2006-07-02 10:40:25 +00:00
jdc
94f3432c06
PCI device list and interrupt mapping for JavaStation Espresso.
...
Interrupt line values from Linux sparc sources.
2006-07-02 10:14:15 +00:00
tsutsui
554727189c
Use register macro defined in <dev/ic/i8259reg.h>.
2006-07-02 04:22:38 +00:00
wiz
bd3700fe4c
Uppercase CPU.
2006-07-02 01:33:55 +00:00
christos
46e62b977f
- use aprint instead of printf.
...
- centralize all the suspend/resume glue in one function.
2006-07-01 21:44:13 +00:00
christos
2e36d566f6
If we the current process is a kernel proc, then we don't need to play with
...
the pmap, because the wakecode is already mapped. Makes the acpi based apm
shim work.
2006-07-01 21:42:39 +00:00
ross
db9b461644
Add ppc64 ENTRY() macro that defines the descriptor and the dot symbol.
2006-07-01 20:34:49 +00:00
xtraeme
50183b94a7
Added it(4) as MI driver.
2006-07-01 20:01:26 +00:00
xtraeme
22b2e63617
Add commented out it(4) entry, per suggestion in PR kern/33886.
2006-07-01 19:55:32 +00:00
tsutsui
e50565f96a
No need to install autoconf.h.
2006-07-01 17:33:25 +00:00
tsutsui
3eb4d24002
No need to export autoconf.h to userland.
2006-07-01 17:24:19 +00:00
tsutsui
06801cfcf5
Remove obsolete display.h.
2006-07-01 17:19:39 +00:00
tsutsui
0b60e69029
Use MI <dev/ic/pcdisplay.h> rather than MD <machine/display.h>.
2006-07-01 17:15:46 +00:00
christos
5f5ceecc09
Revert previous change to bump the socket low watermark to sock_loan_thresh.
...
With sock_loan_thresh=4096, sb_lowat==sb_hiwat, and sowritable will never
be true (even if only a single byte is pending). Some programs (like screen)
expect select() to return that a socket is writable on a socket when there
is space to write to it. XXX: What is the right thing to do here?
2006-07-01 15:38:28 +00:00
chap
8576d4b377
Correct build failures when MIDI is not enabled (the idea!).
...
Specifically eap but no midi, which makes sense if you want sound,
and umidi but no midi, which makes little sense but shouldn't fail the
build.
Suggest changing the evbarm conf files containing umidi but #midi
to comment out umidi as well (even though this fix should let them build).
2006-07-01 15:22:06 +00:00
nakayama
401d23b252
Uncomment "midi* at midibus?" to make umidi work.
2006-07-01 15:19:32 +00:00
yamt
ce1a2b18c3
some comments taken from Jed Davis's patch.
2006-07-01 11:30:44 +00:00