Commit Graph

82012 Commits

Author SHA1 Message Date
perseant
b8ec630ade Fix a typo that caused a "multiple free" panic on unmounting a resized lfs. 2006-07-06 22:14:18 +00:00
martin
6bfe6be406 Make it compile on 64 bit machines 2006-07-06 21:55:06 +00:00
ross
96cf233754 more refinements for ppc64 PIC/PLT/TOC issues 2006-07-06 15:26:51 +00:00
scw
5914c06c4c Fix the entries for SPR_DC_ADR and SPR_DC_DAT. 2006-07-06 15:09:54 +00:00
wrstuden
1b9990ba67 Fix len=-4 issues.
When receiving a packet, if a receive buffer has length 0,
treat it the same way we treat a failed mapping.

Fix contributed by Wasabi Systems.
2006-07-05 23:51:50 +00:00
perry
202456461a Patches contributed by KIYOHARA Takashi, taken from FreeBSD.
These apparently sync up the sources to the current FreeBSD driver.
Tested by Matthias Drochner.
2006-07-05 18:46:42 +00:00
xtraeme
9c392ba6f4 Repeat after me, use __KERNEL_RCSID. 2006-07-05 18:17:59 +00:00
bouyer
de888ac7f5 Comment out acpi0, until someone can make it compile again after the recent
acpi changes.
2006-07-05 17:00:46 +00:00
itohy
3b04fb4334 Back out previous change. The problem was not here. Oops. 2006-07-05 15:19:38 +00:00
drochner
ff6945ed02 obey VM_PROT_EXECUTE in pmap_kenter_pa (just use protection_codes[]) 2006-07-05 14:36:29 +00:00
drochner
8d2b5419d9 make this compile with standard warning level 2006-07-05 14:33:20 +00:00
drochner
8c61e0077d Request executable memory for LKM code/data areas. This fixes LKMs
on alpha (which were broken for more than a year appearently and noone
noticed). (The other archs didn't suffer because their pmap_kenter_pa()
doesn't support non-executable mappings.)
2006-07-05 14:31:00 +00:00
drochner
ef8848c74a Introduce a UVM_KMF_EXEC flag for uvm_km_alloc() which enforces an
executable mapping. Up to now, only R+W was requested from pmap_kenter_pa.
On most CPUs, we get an executable mapping anyway, due to lack of
hardware support or due to lazyness in the pmap implementation. Only
alpha does obey VM_PROT_EXECUTE, afaics.
2006-07-05 14:26:42 +00:00
bjh21
6431f3b2de Descend into nbfs -- I think it's useful now. 2006-07-04 23:08:51 +00:00
bjh21
c6bb58fda2 We don't actually use NEWVERSWHAT, but we should still try to make it correct. 2006-07-04 23:08:10 +00:00
bjh21
ac8af88277 Add some definitions necessary for the latest NBFS, plus a couple of
functions that my boot32 hacks are likely to require.
2006-07-04 23:06:51 +00:00
rpaulo
81cc271bc5 Add missing semicolon. 2006-07-04 23:05:11 +00:00
bjh21
6022ed9721 Fix missing newline at end of file. 2006-07-04 22:42:11 +00:00
bjh21
b314f251e2 Add suppport for FSEntry_file 255, loading whole files. Now I can open
/etc/passwd in Zap.
2006-07-04 22:34:54 +00:00
christos
96c223fe5a spell NACPI correctly. 2006-07-04 18:46:42 +00:00
christos
f73658ad42 put depend back. 2006-07-04 18:43:35 +00:00
christos
e619d191dd more typos. 2006-07-04 18:43:13 +00:00
christos
9f1b8cb28e Another missed dependency. 2006-07-04 18:41:41 +00:00
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