Commit Graph

112050 Commits

Author SHA1 Message Date
yamt 982fbc7db4 add an assertion. 2003-04-29 07:44:04 +00:00
nakayama 7949ab62e7 Wrap a 64-bit mode case with #ifdef __arch64__ for 32-bit kernels,
and fix typo in comment.
2003-04-29 05:59:16 +00:00
nakayama 9ab502701d Use BLOCK_ALIGN rather than BLOCK_SIZE for aligning a pointer. 2003-04-29 05:53:11 +00:00
thorpej d55f2b8b87 Descend into stand. 2003-04-29 05:42:43 +00:00
thorpej f064f20632 Add /usr/mdec/gzboot_* 2003-04-29 05:42:00 +00:00
thorpej d762fbd09d Fix the name of the image. 2003-04-29 05:38:52 +00:00
thorpej 7733ffd60d Make these images concatenating images. 2003-04-29 05:36:20 +00:00
thorpej fb01afa9c7 Descend into the gzboot directories. 2003-04-29 05:35:08 +00:00
thorpej 8163f9a129 * Add ${PROGSYM} to CLEANFILES.
* Instsall either the .bin or the .sym, based on whether or not
  the resulting gzboot needs to be mdsetimage'd.
2003-04-29 05:32:41 +00:00
thorpej a8d10ed83c Also build a flat binary version of the gzboot program. 2003-04-29 05:15:14 +00:00
thorpej 893a35a154 Bump version to 1.2 for the concatenation feature. 2003-04-29 05:05:41 +00:00
thorpej 00b159e3dc Rename the IQ80310 directory to have all nibbles of the address in the name. 2003-04-29 05:04:37 +00:00
thorpej 04f47aa1d2 Allow MAXIMAGESIZE to be set to 0. For gzboot's that are linked
for flash, this allows us to basically do:

	cat gzboot.bin netbsd.bin.gz > gzimg

to produce the bootable image.
2003-04-29 05:01:34 +00:00
thorpej c31f87a5cb Use aprint*(). 2003-04-29 01:49:33 +00:00
thorpej b43b1645a2 Use aprint*(). 2003-04-29 01:07:30 +00:00
thorpej 8e8114bf55 Fix a logic botch that would cause some unwanted messages in the
AB_SILENT case.
2003-04-29 00:56:52 +00:00
hubertf 12fcbe1c56 add some of the areas I feel responsible for 2003-04-29 00:24:23 +00:00
itohy 7740f139ff white-space police 2003-04-29 00:20:12 +00:00
bjh21 4be7a2dcf3 Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.
2003-04-28 23:16:11 +00:00
fvdl 4fc5083af1 Include "eisa.h" in order to get the NEISA value; without it EISA-only
MP intr routing tables wouldn't be searched.
2003-04-28 20:26:18 +00:00
ragge fa723a2265 Missed '(', noted by Håvard. 2003-04-28 20:01:29 +00:00
nathanw ff14fbf244 Move call to pthread__alarm_init() from pthread_init() (called at load
time) to pthread__start() (called on the first call of
pthread_create()), so that there's no opportunity for a fork() to
clear the per-process timer.

Problem pointed out by a test program from Mihai CHELARU on
current-users.
2003-04-28 17:46:30 +00:00
scw 6b08b996ba Fix the bug reported by Richard Earnshaw in port-arm32/21349.
Make sure to check the access permissions before doing
ref/mod/domain fixups. This is particularly important
on machines with ARM_VECTORS_LOW.
2003-04-28 15:57:23 +00:00
ragge 797b42a988 By accident db_symstr() was removed, which Håvard pointed out.
Readded now.
2003-04-28 15:55:45 +00:00
fvdl a51397e9b2 Quell a strict-alias warning by applying the same cast to '&target' as
already done in all other cases.
2003-04-28 14:43:32 +00:00
dsl b40733ee1b Master Boot Record (mbr) code:
mbr:		boots active partition
mbr_bootsel:	menu selection for partitions 1 to 4
mbr_ext:	menu selection for partitions 1 to 4 and extended partitions
Based on code from sbin/fdisk/mbr_bootsel.
Needs a new fdisk to configure mbr_ext and correctly set default menu selection.(Not yet built by defaulat)
2003-04-28 12:19:05 +00:00
wiz 19699fcce0 Bump date for last; use .Nm opms instead of Xreferencing ourselves. 2003-04-28 12:15:17 +00:00
augustss 19e28afeba Add a line about opms. 2003-04-28 11:52:46 +00:00
augustss 68d8a112dc Link opms to pms. 2003-04-28 09:54:57 +00:00
augustss 0f48b30c19 Link cons to console. 2003-04-28 09:53:43 +00:00
wiz abe0b8ad64 Use .Aq instead of \*[Lt]...\*[Gt]; sort SEE ALSO; add some more commas;
new sentence, new line; fix some mdoc nits.
2003-04-28 09:38:19 +00:00
augustss 86be450da2 Add missing comma. 2003-04-28 09:26:34 +00:00
haya 0daef8c89f Regenerate for pcidevs 1.529 and 1.530 changes. 2003-04-28 08:33:48 +00:00
haya 343fa8e595 Add some Texas Instruments' CardBus bridges. Device ID are taken from
data sheets provided by TI web site and 'PCI Vendor and Device list'
web page <http://www.yourvote.com/pci>.
2003-04-28 08:29:52 +00:00
haya 67d0b87c1f Add some O2Micro CardBus bridges regarding PR/20084. Device ID are
taken from FreeBSD and cross-checked by the web page 'PCI Vendor and
Device list' <http://www.yourvote.com/pci>
2003-04-28 08:17:30 +00:00
nakayama 1e411d7027 Make DMA mode works on Promise Ultra66/100 with 48-bit LBA drives.
Ok'ed by bouyer in tech-kern@netbsd.org.
2003-04-28 05:20:29 +00:00
tsutsui 4661d01ee2 options MIPS3_L2CACHE_PRESENT was gone long ago. 2003-04-28 05:03:44 +00:00
briggs e2391a87b6 Add a rudimentary 'trap to kgdb' command if KGDB is defined. This allows
systems with only one serial port for console, etc., to have at least some
basic access to remote-kgdb-over-serial, even if it is a bit awkward.
2003-04-28 02:49:54 +00:00
briggs 742c5dbd3a Allow the console to be used for kgdb if both DDB and KGDB are defined. 2003-04-28 02:46:09 +00:00
briggs ed751b6340 Attach com to kgdb if both KGDB and com are defined. 2003-04-28 01:56:44 +00:00
briggs a2f6e1f09a Add arm32 machine-specific remote kgdb support. Largely
from PR port-arm/15530 by bsh@, but with some updates from
me, including a fresh arm32/kgdb_machdep.c--ported from pc532.
2003-04-28 01:54:49 +00:00
briggs 1f20c98b90 Clean up the output a little and print the lwp pointer. 2003-04-28 01:43:48 +00:00
thorpej 7de2c299a2 Don't define APTE_BASE if ARM32_PMAP_NEW is defined; the new pmap
doesn't use it.
2003-04-28 01:34:28 +00:00
fvdl a4d65735ea Fix *LONGMAX values. 2003-04-27 22:33:49 +00:00
fvdl e285e4dd5c Add atomic.h 2003-04-27 18:45:35 +00:00
tsutsui a29ca71393 KNF and cosmetics. 2003-04-27 17:13:01 +00:00
tsutsui 8e19dfb2ae Remove register declarations. 2003-04-27 17:05:55 +00:00
wiz 536045150d Add some obsolete files (after x86_64 -> amd64). 2003-04-27 15:29:06 +00:00
wiz 0621ba7478 Sort (after x86_64 -> amd64) 2003-04-27 15:28:24 +00:00
bouyer a704b24037 Fix typo. 2003-04-27 14:33:20 +00:00