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
thorpej
9a88d576c1
hme_init(): call mii_mediachg() to make sure the current media is set.
2002-05-05 03:02:38 +00:00
thorpej
1556ff869b
Mative GDB build glue for NetBSD/sh3.
2002-05-05 02:39:37 +00:00
thorpej
e2bb3bd9bb
Basic (emphasis on basic) GDB support for NetBSD/sh3.
2002-05-05 02:37:33 +00:00
thorpej
ff8e73ad35
Not all new-toolchain platforms support shared libraries (m68000 and
...
sh3, for example, due to defincencies in the current compiler version).
Deal with this by splitting toolchain shlibs into tc.shl, and teachking
makeflist about it.
Also, fix an old-toolchain remnant in the sh3 set lists.
2002-05-05 01:24:24 +00:00
thorpej
6249662a70
Deal better with platforms that don't yet support shared libraries:
...
* Only add -fPIC if MKPIC != no.
* Only build crtbeginS and crtendS if MKPIC != no.
2002-05-05 00:45:31 +00:00
thorpej
179139677a
All ELF toolchains are of the "new toolchain" variety now, so no need
...
to conditionalize use of .hidden symbols anymore.
2002-05-05 00:34:00 +00:00
scw
132a9c91d5
Make sure main() has a prototype and a return type of "int".
2002-05-04 22:05:29 +00:00