Commit Graph

96663 Commits

Author SHA1 Message Date
lukem
e8bbb685d9 Replace <dev/sun/sun_boot.h> with <sys/bootinfo.h>, which is intended
to be more generic than ``bbinfo definitions for Sun-based systems''.
Other platforms can store bbinfo-style information here, and possibly
other platform-specific boot information that needs to be accessible
by foriegn platforms in tools such as /usr/sbin/installboot.
2002-05-06 05:27:53 +00:00
enami
59a79c7928 Remove wrong assertion in previous commit. 2002-05-06 03:20:54 +00:00
lukem
bb82a84ded If SIGINFO is received, display summary information to stderr.
Based on changes in FreeBSD, via Chuck Cranor <chuck@research.att.com>
2002-05-06 03:17:43 +00:00
lukem
f0e51dbf17 Check for obsolete "mux 1" wscons.conf(5) entries.
Suggested by George Coulouris <george@coulouris.org>.
2002-05-06 03:02:59 +00:00
lukem
b0dfae0396 document what uses the optional secondary arg. add sun2 example 2002-05-06 02:30:28 +00:00
simonb
4ae3a2264e Pull in (part of) rev 1.117 from gcc master sources:
(alpha_expand_unaligned_load, alpha_expand_unaligned_store):
	Cast switch operand of size to int.

Fixes one 32-bit host cross-compile problem, but still doesn't work...
2002-05-06 02:12:30 +00:00
uwe
73843c4a73 Comment change only. Update the version of GENERIC this config is
synced with.
2002-05-06 02:04:14 +00:00
lukem
ce61e6de03 - sanity check bbi_block_count determined from bbinfo
- use warnx() instead of warn() in a couple of places
2002-05-06 01:49:48 +00:00
lukem
e27890b7d9 fix previous more correctly; MAXBLOCKNUM was replaced by SUN68K_BBINFO_MAXBLOCKS 2002-05-06 01:25:11 +00:00
ad
5d6cd5914c Put back a missing brace. 2002-05-06 00:48:58 +00:00
enami
8876669f4c Since npages may includes number of pages behind us, we can't use it to
update current offset.  Instead, use the last page in the run of pages
to calculate new offset.
2002-05-06 00:42:22 +00:00
enami
e6513c283e Stylistic change; introduce new local variable and use it instead of
sprinkling different expression to test if we're pagedaemon.
2002-05-06 00:18:15 +00:00
enami
cfa571e2e2 The per nfsnode n_commitlock is a sleep lock, but we can't sleep if
PGO_LOCKED getpages request.  So, just make the lock fail and tell
the caller that there is no pages available if we can't acquire it.
The caller will call us again soon without PGO_LOCKED.  Reviewed by chuq.
2002-05-06 00:07:51 +00:00
gmcgarry
5a1f9fc69c 400-series machines only have DIO framebuffers. From discussion
with Michael Lorenz and Bernd Sieker.
2002-05-05 22:55:49 +00:00
jdolecek
f1a07a4001 no manpages here 2002-05-05 22:09:05 +00:00
jdolecek
093d8bdbdd Put the contents inside #ifdef _KERNEL, similarily to mac68k one,
so that the innards are not exposed to userland.
2002-05-05 22:07:59 +00:00
jdolecek
c063a99e1f ramdisk-kernel creates install.ram.gz now, not netbsd.INSTALL.gz 2002-05-05 21:24:51 +00:00
jdolecek
628a2b8665 Get ctrlsp.S via .PATH directive, rather than adding full path
to SRCS. This should fix build problem with ro source tree.
2002-05-05 20:38:48 +00:00
jdolecek
9eed164863 remove redundant (and wrong) main() prototype 2002-05-05 20:11:37 +00:00
thorpej
f7d7544c87 Rename a local variable to avoid a shadow decl warning. 2002-05-05 20:00:51 +00:00
tsutsui
92896ac2a1 Add a null asm statement in adb_read_date_time()
to avoid wrong reordering by gcc-2.95.3 with -fgcse.

XXX Should we disable -fgcse everywhere?
2002-05-05 18:36:03 +00:00
tsutsui
87ebd3218c Backout previous. It is not timing problem, but gcc optimization bug. 2002-05-05 18:29:06 +00:00
thorpej
046b47950e Add a .register directive to appease newer gas. 2002-05-05 17:51:46 +00:00
jdolecek
8b225b8ff7 also don't make the machine symlinks for 'clean' target
move the CLEANFILES update out of the .if, so that the files get removed
  for 'clean' or 'cleandir'
2002-05-05 17:11:41 +00:00
chs
e926e6ec99 use the correct size when zeroing an array. 2002-05-05 17:01:41 +00:00
chs
dcc6963777 for softdep vnodes, always write together the pages for any block that
might have a dependency , since the accounting doesn't work otherwise.
fixes PRs 15364 16336 16448.
2002-05-05 17:00:06 +00:00
jdolecek
f2f12a240b Update to md(4) changes: memory_disk_size is now md_root_size, and
type is size_t
2002-05-05 16:26:30 +00:00
chs
988df8394c look in the right flags field for PQ_INACTIVE.
make uvmpd_scan_inactive() return void since its return value is ignored.
2002-05-05 16:26:17 +00:00
jdolecek
db6fc29f1c avoid unnecessary use of MAXBLOCKNUM (which is not defined here) 2002-05-05 16:02:24 +00:00
jdolecek
4dd6651e00 CLEANFILES should be set regardless of target 2002-05-05 15:57:15 +00:00
jdolecek
b9308c4120 also don't do the machine symlinks for 'cleandir' target 2002-05-05 15:42:26 +00:00
jdolecek
41fef67887 need to include Makefile.distrib here now 2002-05-05 15:41:00 +00:00
jdolecek
806100bb55 Don't make the machine symlinks for 'cleandir' target either. This
should fix read-only source builds.

XXX Perhaps the condition should be changed to
XXX .if make(depend) || make(all) || make(dependall)
XXX similarily to bsd.kmod.mk?
2002-05-05 15:30:05 +00:00
bouyer
58e5d90faa Don't disable TARF_TAG when the 1010 workaround is active, otherwise
the target won't do tagged queuing again after e.g. a bus reset.
Just report to scsipi that we can't do tagged queuing.
2002-05-05 15:23:22 +00:00
bouyer
df3d2c7ac3 If periph->periph_callout is already active, don't freeze the periph again:
scispi_periph_timed_thaw() will be called only one time anyway.
2002-05-05 15:16:30 +00:00
jdolecek
6598181593 use ${.CURDIR} in the 'release' target; this may be necessary
in some configurations
2002-05-05 15:05:33 +00:00
lukem
9fd667b2c2 Use per-target temp files, rather than sharing the same ones.
Fixes parallel build problem noted by Bill Sommerfeld.
2002-05-05 14:37:38 +00:00
lukem
da5192b2fe add support for MDSET.${FILENAME}.nosymbols 2002-05-05 13:02:44 +00:00
isaki
9c4195c510 libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
 move that common rule to Makefile.booters
2002-05-05 11:46:29 +00:00
martin
9f680534b0 Add strtoul. 2002-05-05 11:23:24 +00:00
martin
9ccc186245 Add PCMCIA support (for nell at sbus and pci cardbus bridges) 2002-05-05 11:22:19 +00:00
bjh21
caff9d0e7e Change the various targets to look more like their libsa counterparts.
I think this'll help on read-only source trees.
2002-05-05 10:02:17 +00:00
bjh21
505c2b63d1 Re-arrange "machine" magic so it's in the same place as on i386. This seems
to help things happen in the right order (I smell a missing dependency).
2002-05-05 10:01:26 +00:00
simonb
fdf099ea04 Remove a check for a u_int8_t variable being greater than 255. 2002-05-05 08:28:47 +00:00
thorpej
27f38656ef Add missing const. 2002-05-05 08:23:03 +00:00
thorpej
80303e7e64 Add .register directives to appease newer gas. 2002-05-05 08:15:15 +00:00
kim
21e9aa7fd6 Quote $FILELIST and $BIGRAMS consistently. Especially the latter
can elicit "usage" from locate.code at runtime.
2002-05-05 07:27:35 +00:00
thorpej
e9bb69ab48 Add .register directives to appease newer gas. 2002-05-05 06:07:42 +00:00
thorpej
ca83c89dd4 A statement must follow a label. 2002-05-05 06:01:28 +00:00
takemura
65b0c92cb8 Added cast '(u_int16_t *)'.
4th arg of bus_space_read_multi_2 and bus_space_write_multi2 shuld be
u_int16_t *.
2002-05-05 03:19:26 +00:00