Commit Graph

82004 Commits

Author SHA1 Message Date
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
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