Commit Graph

96842 Commits

Author SHA1 Message Date
uch
3d97be3a02 add #ifdef SH3, SH4 2002-05-09 12:40:03 +00:00
uch
e51ba214c5 mdsetimage ram-disk kernel setting 2002-05-09 12:39:24 +00:00
uch
1cbf8597ef adapt to new pmap code. 2002-05-09 12:37:58 +00:00
uch
242aff8afc adapt to new pmap. 2002-05-09 12:36:17 +00:00
uch
0aaff2a14f IOM_RAM_BEGIN is changed to specify physical address. 2002-05-09 12:35:44 +00:00
uch
20ac353f38 adapt to new pmap. 2002-05-09 12:34:53 +00:00
uch
9e6860e202 IOM_RAM_BEGIN is changed to specify physical address. 2002-05-09 12:34:20 +00:00
uch
7571effdda adapt to new pmap. 2002-05-09 12:33:18 +00:00
uch
303d5b61d8 change bootstrap stack to below the 'start' 2002-05-09 12:32:55 +00:00
uch
3a1a0b37af IOM_RAM_BEGIN is changed to specify physical address. 2002-05-09 12:32:09 +00:00
uch
cee1a2f41a remove unused macro. 2002-05-09 12:31:38 +00:00
uch
2ca56b0d33 remove postsig. postsig is called by ast(). 2002-05-09 12:31:19 +00:00
uch
d5020bf906 remove obsolete interface. add defines for inquire cache feature. 2002-05-09 12:30:45 +00:00
uch
44b57799f2 fix comment 2002-05-09 12:30:11 +00:00
uch
4c73523c72 suitable for SH3/SH4 memory architecture.
support non-contiguos memory banks.
2002-05-09 12:29:48 +00:00
uch
c34e1b1ad5 adapted to pmap and exception code changes. 2002-05-09 12:29:16 +00:00
uch
5cf2727a95 new pmap designed for SH3/SH4. 2002-05-09 12:28:08 +00:00
uch
bf93dc9b4c remove obsoleted functions. add sh_tlb_update() for update TLB.
MMU mode is changed to multiple virtual storage mode for new pmap code.
2002-05-09 12:27:04 +00:00
uch
fa6d5570e7 fix ASID mask define 2002-05-09 12:26:16 +00:00
uch
944192661c s/trapno/expevt/ for clarity. 2002-05-09 12:25:41 +00:00
uch
d610fecf0f rework general exception, and TLB exception handling for new pmap.
all exception staffs are moved to exception.[ch]
2002-05-09 12:24:19 +00:00
lukem
2c785b8363 .WAIT on miniroot, as some ports (such as sparc) need it built for
later steps to operate
2002-05-09 11:26:50 +00:00
lukem
5098ab87b7 instfs doesn't have to wait on ramdisk or bootfs 2002-05-09 11:13:52 +00:00
lukem
3778fa3e3c convert to NDWO. (that's sparc done!) 2002-05-09 11:12:48 +00:00
mbw
ca9abebadb Update macppc filenames based on files in latest snapshot (20020407).
That is, netbsd.ram.gz becomes either netbsd.INSTALL.gz or
netbsd.GENERIC_MD.gz depending on what media (and Open Firmware version).

Also, a few minor rewordings to clarify a little better.
2002-05-09 09:45:28 +00:00
lukem
81f6719d57 only provide targets for ${WORKSPEC} and ${WORKBUILT} if non are provided.
this allows custom specfiles to be generated or custom WORKDIRS to be used,
whilst still allowing use of IMAGE or IMAGETAR rules.
2002-05-09 09:21:25 +00:00
enami
e3cc9c0682 When traversing by list, if the page next to us is a page in the cluster,
advance the pointer.
2002-05-09 07:22:09 +00:00
jdolecek
77003c3fea seems like a ``cd .'' is necessary in non-interactive shell
to get PWD set in /bin/sh

XXX this should really be converted to Makefile, and avoid non-intree
XXX tools like zip
2002-05-09 07:18:46 +00:00
enami
fabaf9a730 - In genfs_putpages(), no need to restrict the cluster within the given
region.
- In uvm_aio_aiodone(), remove assertions no longer true.
2002-05-09 07:14:37 +00:00
enami
6ceef3fc14 In uao_put(), if we wait for the busy page owned by someone else,
we can't simply reuse the pointor to the page.  Instead, we need to
acquire it again.  So, rearrange the loop like genfs_putpages() does.
Reviewed by chuq.
2002-05-09 07:04:23 +00:00
itojun
31a6ad2757 backout 1.72. it is not correct for the kernel to remove routes by itself,
and the code was buggy (dereferenced null pointer when IFAFREE removes the
route).
2002-05-09 06:49:15 +00:00
lukem
4db94e2b9a convert to New Distrib World Order.
(another directory down; one more left to convert to make sparc fully NDWO)
2002-05-09 05:31:13 +00:00
simonb
1706b9a6ec There's no use assigning the output of strtoul() to a 32-bit variable
then checking that against ULONG_MAX.  Instead use a "unsigned long"
as the temporary variable.  Then check against UINT32_MAX before
assigning back to the original variable.
2002-05-09 03:14:14 +00:00
simonb
1d08e313ae Don't bother testing if a uint8_t is > 256 -- that test is always false. 2002-05-09 02:55:49 +00:00
simonb
5457f78a34 Don't bother testing if a uint8_t is > 256 -- that test is always false. 2002-05-09 02:44:39 +00:00
simonb
767793d996 Use an "int" instead of an "u_char" for a variable that is as a loop
control variable that is checked against against "<= 255".
2002-05-09 02:36:57 +00:00
simonb
f1a6122c11 Simplify previous - sbuf.st_blksize is a uint32_t, so just use
bsize = MAX(sbuf.st_blksize, BUFSIZ);
and skip playing with SSIZE_MAX altogether.
2002-05-09 02:19:42 +00:00
thorpej
f8b11571bb Fix oversight in last. 2002-05-09 02:13:10 +00:00
simonb
707fc2ec62 Use INADDR_NONE instead of "(u_long) - 1". 2002-05-09 02:09:52 +00:00
thorpej
2ee7baad55 Skip a check that is always true if _LP64 is defined. 2002-05-09 02:07:38 +00:00
simonb
0330994f83 Fix warnings found by gcc-current with alpha target:
There's no use assigning the output of strtoul() to a 32-bit variable
then checking that against ULONG_MAX.  Instead use a "unsigned long"
as the temporary variable.  Also, only check against UID_MAX/GID_MAX;
these are both going to be smaller than ULONG_MAX on both 32- and 64-bit
platforms.
2002-05-09 01:58:39 +00:00
thorpej
3e669d3bca * Increase the number of Tx job queue entries from 32 to 64.
* Garbage-collect some unused stuff.
* Make the Tx window slide along the Tx job queue space, not the
  Tx descriptor space.  We are more likely to run low on DMA maps
  than we are hardware descriptors.
2002-05-09 01:00:12 +00:00
matt
983a0a0749 LMC_CTL_LEN1 and LMC_CTL_LEN2 extracted each other's fields. Stop doing
that.
2002-05-09 00:58:45 +00:00
thorpej
3ce23a4ac6 * Instrument the number of times we force a Tx interrupt.
* When forcing an interrupt, make sure that interrupt-delay-enable is
  cleared (necessary with last change to make sure it's set for all
  descriptors).
* Crank up the Transmit Interrupt Delay Value to 1024 * 1.024 msec.  We
  really want these to be deferred.
2002-05-09 00:41:06 +00:00
lukem
55f953bfa3 fix size of images
(i reduced them during testing and they worked then, but not when i
did a full make release. weird...)
2002-05-08 23:11:56 +00:00
thorpej
7d3e137a0c Hard-wire CLKF_BASEPRI() to 0 on the ARM, since spllowersoftclock() might
not actually be able to unblock the interrupt, which would cause us
to run the softclock interrupts with hardclock blocked.

Per discussion w/ Charles Hannum.
2002-05-08 22:22:46 +00:00
lukem
04e61f8526 - whitespace consistency cleanup
- build (mdset/nm/strip) into ${filename} as one rule, and move ${filename}.gz
  into separate rule
- rename MDSET.${filename}.nosymbols -> MDSET_NOSYMBOLS.${filename}
- rename MDSET.${filename}.post -> MDSET_POST.${filename}, and don't do
  suffix handling here
- rework suffix handling:
	- rename MDSET.${filename}.suffixes -> MDSET_SUFFIXES.${filename},
	  and change from list of suffixes to list of "suffix cmdtobuildsuffix",
  	  where cmdtobuildsuffix is the name of the variable containing the
	  command to build ${filename}.${suffix} (available as "${.TARGET}").
	- for each ${filename}.${suffix}, depend upon ${filename} and use
	  ${cmdtobuildsuffix} to create the former.
	- add separate ${filename}.${suffix}.gz rule
- mipsco & pmax: rename "install.gz" to "netbsd-INSTALL.gz", for
  consistency and so the target to build the mdset kernel doesn't get
  confused with general "install" target
2002-05-08 21:44:53 +00:00
thorpej
88f6c3663b Don't set WTX_TCPIP_CMD_TCP or WTX_TCPIP_CMD_IP in the TCP/IP context
descriptor.  Those are apparently only valid if using the Cordova's
"segmentation offload" feature.
2002-05-08 21:43:10 +00:00
thorpej
d680cf3220 * Make sure the interrupt-delay bit gets set on ALL descriptors,
except for the one we want to force a Tx interrupt.
* Tweak the Tx descriptor accounting a little.
2002-05-08 21:22:20 +00:00
thorpej
3992641218 Implement a cache for the outbound IP/TCP/UDP checksum offload
context.
2002-05-08 19:00:27 +00:00