Commit Graph

80321 Commits

Author SHA1 Message Date
ragge
637bffc245 Add bus type to softc. 2001-05-13 15:23:37 +00:00
bjh21
330163a77f Include opt_cputypes.h, since we use CPU_*. 2001-05-13 14:41:56 +00:00
bjh21
ba2ed3776e Refer to the Risc PC IOMD by its real name (which appears to be IOMD20). 2001-05-13 14:30:00 +00:00
bjh21
b9ded015f4 strstr() is no longer used in the kernel. G/C it. 2001-05-13 14:17:36 +00:00
bjh21
e2b24925d1 Use get_bootconf_option() to find boot options, rather than home-grown
strstr()-based hacks.
2001-05-13 13:53:08 +00:00
bjh21
0ea71ec5ea Make use of a.out or ELF symbols dependent on the compile-time definition of
__ELF__.
2001-05-13 13:51:08 +00:00
bjh21
e8fd2642a9 Don't include parse_cpu_options() unless we're going to use it. This fixes
a warning on arm26.
2001-05-13 13:50:01 +00:00
bjh21
1d9afb6c6d Initialise boot_args and boot_file, for get_bootconf_option(). 2001-05-13 13:48:11 +00:00
bjh21
73bc600e40 Use _LOCORE to recognize assembler in the kernel, not ASSEMBLER (which doesn't
get set).
2001-05-13 13:47:23 +00:00
bjh21
2af5062ab7 Add <machine/bootconfig.h> on arm26, and add an <arm/bootconfig.h> for it to
include (since all the contents are MI).
2001-05-13 13:46:23 +00:00
bjh21
61044be691 Move get_bootconf_option() into a new file, sys/arch/arm/arm/bootconfig.c,
since it's in no way machine-dependent.  It's not really ARM-specific either,
but I don't think it's useful enough to be made part of the MI kernel.
2001-05-13 13:44:33 +00:00
aymeric
48c52c6884 ERR -> SYSERR when recdir does not exist.
This results in a more useful message for the user.
2001-05-13 12:03:00 +00:00
jmc
3790f44eac Add a retries counter to abuf 2001-05-13 05:02:08 +00:00
jmc
880b3e6a6f Add locators support 2001-05-13 05:01:42 +00:00
jmc
32b1bba730 Add locator support for fwbus's 2001-05-13 04:54:47 +00:00
jmc
a3263e073a Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:24:51 +00:00
jmc
95cc3bf342 Turn off PCMCIACISDEBUG by default. This should get set with options in a config file 2001-05-13 04:24:28 +00:00
jmc
6cf92c7dba Turn off PCMCIADEBUG by default. This should get set with options in a config file 2001-05-13 04:23:46 +00:00
ross
04ff12867f Make the /u part of show reg/u work. 2001-05-13 01:40:58 +00:00
ross
818513678d The current API for MD support doesn't directly support the documented /u
option to show reg /u.  Fix this by adding a modif[ier] field to struct
db_variable.
2001-05-13 01:38:53 +00:00
gmcgarry
bb80cac4a1 pull in lib/libkern/libkern.h to resolve inline tolower() 2001-05-13 00:01:45 +00:00
gmcgarry
b2f43b0b94 size -> ${SIZE} 2001-05-12 23:55:07 +00:00
kleink
9e162d4ea5 Delint my previous change. 2001-05-12 22:42:07 +00:00
chs
bef49778fd next68k is now ELF. 2001-05-12 22:38:04 +00:00
chs
b4de661569 switch next68k to ELF. highlight include:
add "%" prefix to register names in assembly code.
change assembly functions to return pointer values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-05-12 22:35:29 +00:00
chs
1aeca5a83b define VECTOR() and friends in non-_KERNEL environments too. 2001-05-12 22:27:05 +00:00
chs
c70198d510 undo the parts of the last revision which broke QUEUEDEBUG builds. 2001-05-12 20:18:23 +00:00
christos
00adbfd8d6 - Handle realloc failure without leaking memory
(reported by: grendel@heorot.stanford.edu (Ted U)
- Don't cast malloc/realloc/calloc return values because they hide LP64 bugs.
- Don't destroy the whole array when realloc fails
- Use calloc in all cases (malloc was used inconsistently).
- Avoid duplicating code.

Reviewed by: ross
2001-05-12 19:21:57 +00:00
christos
6f62797262 Don't leak memory in case of a realloc failure.
Reported by: grendel@heorot.stanford.edu (Ted U)
2001-05-12 19:18:57 +00:00
hubertf
b05ee69a95 Add pool_init.9 2001-05-12 18:07:20 +00:00
wiz
c3d0c0f680 Refer pmap(9), not pmap_init(9). 2001-05-12 17:10:05 +00:00
kleink
3786b3b511 Sync libc minor. 2001-05-12 16:15:34 +00:00
wiz
fe1228d3e1 Fix description of simple queue. misc/12917 by Witold J. Wnuk with an
additional 'of '.
2001-05-12 16:04:51 +00:00
sommerfeld
4c8f741def Add #include <string.h> to correct compile problem on alpha 2001-05-12 14:46:24 +00:00
wiz
8e719cd2b4 Add RCS tag. Whitespace and formatting fixes.
Move 'flag' lines later in the paragraphs, since they are not needed on
NetBSD.
2001-05-12 14:14:26 +00:00
tsutsui
0d6dc448f4 Add osiop(4). 2001-05-12 14:12:11 +00:00
tsutsui
046fdd7449 Add a manual page for osiop(4). 2001-05-12 14:06:30 +00:00
wiz
127d1e092c Fix SYNOPSIS, and some other (mostly markup) improvements. 2001-05-12 13:21:44 +00:00
tron
b82fe09a8d Add "e" option to usage message. Problem pointed out by Takahiro Kambe
in private e-mail.
2001-05-12 10:26:22 +00:00
takemura
e427bbc2de Add '#if defined(_KERNEL) && !defined(_LKM)' to avoid including
opt_spec_platform.h when you compile standalone program (bootloader).
2001-05-12 10:17:20 +00:00
takemura
b8cf6af7cb Fix description about frame buffer type. 2001-05-12 10:08:59 +00:00
tron
b72a1f53d6 Fix bug in new "e" option: only eject tape if it is full, not if the dump
was finished.
2001-05-12 08:03:01 +00:00
mbw
938925db3b General clean-up, some tightening of text to make it more readable. Also
added some more info/details.

hardware:
add Netgear FA-311 cards (sip)
added newly supported models
added that NVIDIA now has some supported cards
moved on-board audio to supported, but untested
added usb and pci audio as supported

prep:
added a "Preparing yourself" section describing how to best prepare
  oneself for the adventure ahead
some rewording of the 'how to get to open firmware' sections to make some
  details more clear
2001-05-12 07:32:17 +00:00
sjg
843e9049af Modifier :P avoid segfault if gn is found but path is NULL. 2001-05-12 06:48:49 +00:00
kleink
ba6a8bf61e Update to reflect that unlike in m68k a.out environments, where the .align
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.
2001-05-12 00:55:34 +00:00
kleink
7bd28edec7 Add, but do not yet enable, m68k code for .init and .fini section fallthroughs. 2001-05-12 00:17:55 +00:00
ross
2d62241cb9 Reorganization of crtbegin/crtend.
o  Primary mod: alpha and i386 code for .init and .fini section fallthroughs
o  Actual fallthru is not yet enabled, see csu/{alpha,i386_elf}/Makefile
o  When enabled, should fix bin/12865 & should fix at least one WINE bug,
   see http://www.winehq.com/hypermail/wine-devel/2001/05/0021.html
o  Also, removed the function pointer hack put in to prevent gcc from
   incorrectly attempting to do short calls over section boundaries,
   on some architectures, rather, simply simply move ctors() and dtors()
   into .init and .fini.
Other notes.
o  Our crtbegin.c and crtend.c were completely in C, despite
   the fact that .init and .fini section fallthroughs require machine code.
   These modules implement the gnu ctors/dtors mechanism directly, eliminating
   in part the need for the elf .init/.fini section fallthrough. However,
   if we ever want to use the gnu-provided constructor support, we need to
   do the fallthrough, at least one program (WINE) apparently uses the
   feature independently, and other compilers may depend on the mechanism.
o  It is amusing that the previous NetBSD _init() and _fini() were put
   into the .init and .fini sections, because nothing is gained over
   plain .text if they don't fall through. Cargo cult!
o  Other elf ports will need to copy the alpha and i386 example mods.
2001-05-11 22:44:14 +00:00
tsutsui
9247a0bbcc - Declare pccnattach() in <machine/pccons.h>
- Make cpu_reboot() reset machines properly without pccons
2001-05-11 21:15:11 +00:00
msaitoh
aa754324f7 style fix (no functional change) 2001-05-11 19:58:06 +00:00
kleink
045d2b0272 Make this build again. 2001-05-11 19:19:44 +00:00