Commit Graph

42813 Commits

Author SHA1 Message Date
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
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
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
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
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
nakayama
401d23b252 Uncomment "midi* at midibus?" to make umidi work. 2006-07-01 15:19:32 +00:00
jmmv
ce9f9820ee Fix order of biosbasemem and biosextmem order in a comment to match reality.
Closes PR kern/32082 by Dave J. Barnes.
2006-07-01 09:21:28 +00:00
mrg
5bf1ad3744 fix pointer signedness and build with GCC4. 2006-07-01 05:55:34 +00:00
ross
5a664ca53d Map powerpc64 to powerpc 2006-07-01 01:29:55 +00:00
freza
78037d3f6d Bring ibm4xx interrupt code up to date:
- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
  where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
2006-06-30 17:54:50 +00:00
tsutsui
1c1d619cf7 Regen from GENERIC.in rev 1.53:
> Add CARP to further platforms
2006-06-30 10:54:09 +00:00
tsutsui
62040eebd7 Add (commented out) pseudo-device carp. 2006-06-30 10:51:46 +00:00
tsutsui
90c32d008c Sync with GENERIC (commented out UDF, carp, VND_COMPRESSION, and veriexec) 2006-06-30 10:48:57 +00:00
tsutsui
bc766890f7 Make GENERIC config really generic and change GENERIC32 config for 32 bit
compat kernel to include the GENERIC and use "no" keywords of config(1).
Also merge std.sparc64-64 into std.sparc64 and prepare std.sparc64-32
which uses "no" keywords for 32 bit kernels. OK'ed by mrg.
2006-06-30 10:27:48 +00:00
garbled
793a3b26d8 Change how the MPIC/OpenPIC is configured at boot. Rather than scanning
for a magical PCI device location (that is sometimes wrong), we scan the
residual data for an MPIC, and if we find one, wire it up from there.
This will hopefully allow interrupts to work on the MPC750 and the
7025-F40. I suspect however the interrupt vector address on the 7025 will
still need some work.
2006-06-29 17:16:59 +00:00
martin
e61efdcd34 Style nits from Christos. 2006-06-29 16:12:27 +00:00
martin
e7c025db82 The arguments to syscalls (struct args) need 64 bit alignment for some
syscalls (like mmap), and the same is true for return values (lseek).
Make both structs a union to force alignment. Thanks to uwe for helping
analyze this!
While there move the non syscall-related functions out of this file
(back to trap.c).

This makes kernels compiled with gcc4 and -Os work.
2006-06-29 15:05:06 +00:00
liamjfoy
d00a9ac91b Add CARP to further platforms
ok christos, julian coleman and matthew green
2006-06-29 14:00:55 +00:00
lukem
7a08c82b0b whitespace cleanup 2006-06-29 06:39:38 +00:00
lukem
e84a5a6bd9 Use BUILDSYMLINKS & DPSRCS to simplify the creation of includedir symlinks. 2006-06-29 06:37:19 +00:00
lukem
accbe31e2f support MAKEVERBOSE 2006-06-29 06:31:12 +00:00
lukem
005d886d08 whitespace cleanup. 2006-06-29 06:29:39 +00:00
lukem
419dfdd76b Use BUILDSYMLINKS & DPSRCS to simplify the creation of includedir symlinks. 2006-06-29 06:24:50 +00:00
lukem
d315681443 Support MAKEVERBOSE 2006-06-29 03:46:43 +00:00
lukem
0de20fdaf1 Rename LDFLAGS to LINKFLAGS, as the former is for CC not LD. 2006-06-29 03:38:24 +00:00
lukem
1e9eece03f support MAKEVERBOSE 2006-06-29 01:45:03 +00:00
lukem
aa161fb130 Rename LDFLAGS to LINKFLAGS, as the former is for CC not LD. 2006-06-29 01:28:33 +00:00