Commit Graph

25694 Commits

Author SHA1 Message Date
gwr
2ae3afc4d0 Simplify the cpp conditional sections near the end.
Get rid of "romp" (too prone to name conflicts).
1997-02-05 14:36:46 +00:00
gwr
05c4b6759d Apply that fix from Bill Studenmund that keeps us from ignoring DCD.
Also fix the copyright (s/REGENTS/FOUNDATION/).
1997-02-05 14:06:58 +00:00
mrg
491e8af174 minor KNF from jason. 1997-02-05 08:26:25 +00:00
mrg
eadd7792d9 add thread_sleep_msg() that takes a wait message, and change thread_sleep()
into a macro for backwards compat.  alter vm_object_sleep() to take advantage
of this.
1997-02-05 08:09:45 +00:00
mrg
85328f7b35 KNF. 1997-02-05 07:48:42 +00:00
scottr
6d39698236 db_expr_t is now a long. 1997-02-05 05:10:24 +00:00
pk
ddb0d6fa06 Add `-mno-fpu' to compiler flags; pulled up from 1.2 version. 1997-02-05 00:12:46 +00:00
pk
095b310e77 db_expr_t is now a long. 1997-02-05 00:01:50 +00:00
thorpej
39d0deba46 - Don't include option headers if _LKM is defined.
- If _LKM is defined, always use the function versions of malloc()/free().
1997-02-04 22:23:53 +00:00
pk
79da30bb31 typo. 1997-02-04 21:59:26 +00:00
fvdl
64fcae7bcb * Make sure a new socket is created when switching to/from NOCONN with
a mount
* Add extra printf statements to hopefully get some more info on lockups,
  specifically when a send error is ignored.
1997-02-04 21:33:19 +00:00
fvdl
0a4a706e84 Cast initialization of 2nd field in db_variable struct to (long *). Should
probably be register_t *
1997-02-04 19:52:55 +00:00
thorpej
f79798f810 Bump version: Add support for booting gzip'd kernels 1997-02-04 19:42:29 +00:00
thorpej
76839db714 Add the ".gz" names of the kernels to the kernel names list. New
boot order is:

	netbsd -> netbsd.gz -> netbsd.bak -> netbsd.bak.gz ->
	  netbsd.old -> netbsd.old.gz -> onetbsd -> onetbsd.gz
1997-02-04 19:40:07 +00:00
thorpej
6a721b41eb Bump version: Add support for reading gzip'd miniroot images 1997-02-04 19:36:29 +00:00
thorpej
8ceaa2c3f5 - If copying the miniroot from an NFS server, don't attempt to
compute the number of iterations through the copy loop based
  on file size; the miniroot image may be compressed.  Instead,
  ignore short reads in the NFS case, and handle them like EOF.
- Fix typo in a printf format.
1997-02-04 19:34:09 +00:00
thorpej
e876a86309 Add support for transparent handling of decompressing read, useful
for gzip'd kernels and miniroot images.
1997-02-04 19:28:50 +00:00
ragge
4ffaf6dd1c Add device nodes for DL11. 1997-02-04 19:24:36 +00:00
ragge
2e3acd8552 Format dl manual page also. 1997-02-04 19:16:59 +00:00
ragge
b4b22be456 Manual page for dl. 1997-02-04 19:16:10 +00:00
thorpej
5a9b27d5cf Set the heap limit to the last byte of the 3rd page from the
end of RAM, i.e.:

	[ heap limit page][msgbuf page][ROM scratch page]
                        |                              |
		    heap limit                     end of RAM
1997-02-04 19:14:57 +00:00
ragge
a1d8a4570c Support for DL11 (-compatible) async ctlr.
Written by Ben Harris (bjh@mail.dotcom.fr).
1997-02-04 19:13:15 +00:00
ragge
7e8687db1b ENTRY() takes two argument now, not one. 1997-02-04 18:38:21 +00:00
thorpej
9a6b12944d In close(), if the file descriptor was used for writing, don't free
data structures that weren't allocated.  Fix sanity-checked
by Matthias Drochner.
1997-02-04 18:38:20 +00:00
ragge
2663970272 ENTRY() takes two argument now, not one. 1997-02-04 18:38:17 +00:00
thorpej
63930d7db4 Add some debugging code to free(), to catch frees before the
start of the heap and beyond the end of the heap (if a heap limit
is defined).
1997-02-04 18:36:33 +00:00
gwr
599d8811dc Adapt to changed definition of struct db_variable. 1997-02-04 18:15:18 +00:00
gwr
c0b220738c change :: to : 1997-02-04 17:15:38 +00:00
oki
aabb7063c9 Added copyright notice 1997-02-04 11:45:03 +00:00
oki
53aceb9c4b hit any key to reboot when halted (like hp300) 1997-02-04 11:43:30 +00:00
oki
0e9085546c Added ipfilter device 1997-02-04 10:35:39 +00:00
thorpej
1e250357ac Thou shalt not taunt the HP BOOTROM with silliness such as incorrect
link order.
1997-02-04 08:39:26 +00:00
mark
51495d4bf1 Updated to work with the recent changes to the MI DDB code. 1997-02-04 07:15:46 +00:00
mark
6ec73b6227 Removed all the CPU_SA110 conditional compilation. All the cache
cleaning calls will now be indirected throught the cpu_functions
that will have the correct function pointers for the CPU in use.
All register fixup code following aborts has been removed and
instead a call to the cpu_*abt_fixup() routine is called instead
to provide the correct fixed based on the CPU type and abort mode.
1997-02-04 07:12:30 +00:00
mark
06f80904ec Set the sc_ixfer function pointer to the default sfas_ixfer() function
during initialisation if the pointer is NULL.
Use the sc_ixfer function pointer in the sfas softc when doing
immediate polled transfers.
1997-02-04 06:57:47 +00:00
mark
1715a217cf Removed the SA110 condition compilation and instead test the cputype
variable to determine what adjustment is required for the trace back PC.
1997-02-04 06:53:41 +00:00
mark
403608bdbb Add defines for the cpu_functions structure members cf_cache_purgeID and
cf_context_switch.
1997-02-04 06:51:34 +00:00
mark
e626201c12 Adopt as standard, the instruction sequence for storing the trapframe that
includes the workaround from the SA110 STM^ bug. This allows one piece of
code to be used to store the trapframe on all CPU types.
1997-02-04 06:49:08 +00:00
mark
f6570e9a78 Update for recent changes. Added options to support ARM6, ARM7 and SA110
CPUs in a single kernel.
1997-02-04 06:37:06 +00:00
mark
c2a184bc45 Fix SA110 CPU ID. 1997-02-04 06:30:57 +00:00
mark
64c714c82c This configuration file is dead now that all ARM6/7 & SA110 CPUs are
supported in the one kernel.
1997-02-04 06:29:57 +00:00
mark
2f04af3ab0 This file is no longer needed as the functionally it provided is now
provided within cpufunc_asm.S
1997-02-04 06:24:27 +00:00
mark
c2a2cba5dd Add Makefile as a dependancy cpufunc.o and cpufunc_asm.o 1997-02-04 06:19:08 +00:00
mark
663277e00c Simplify cpu option checks now that multiple CPU types are supported in a
single kernel.
1997-02-04 06:10:48 +00:00
mark
f53ea9b979 Only include md_hooks.c if md AND memory_disk_hooks are defined.
Updated for changes in the cpu specific functions (addition of
cpufunc.c and cpufunc_asm.S and removal of coproc15.S).
1997-02-04 05:58:55 +00:00
mark
ee02ce0401 Major overhaul of handling of CPU/MMU/TLB specific functions. This allows
different ARM CPUS with different cache architectures for example to be
supported in a single kernel.
        - All CPU/MMU/TLB specific functions are now held as function
          pointers in a cpu_functions structure defined in machine/cpufunc.h
	  All coproc 15 accesses, TLB flushing, cache cleaning/flushing
          and abort correction functions are now defined in this structure.
        - cpufuncs is a global structure that is setup during initarm()
          that holds all the function pointers for the booted CPU.
	- A global variable 'cputype' now defines the probed cputype.
        - All the existing functions for manipulating CPU specific features
          have been replaced with macros defined in machine/cpufunc.h
          that will call the appropriate function in the cpu_functions
          structure.
	- CPU functions are provided for selected CPU types (config options)
          and the appropriate cpu_functions structure is chosen during
          booting, based on the probed CPU type.
	- All the required functions for existing CPU types (ARM6, ARM7 and
          SA110) have been implemented.
1997-02-04 05:50:19 +00:00
mark
fd6725ae88 Remove all the old do_mountroot() junk that was built into GENERIC kernels.
This code has been replaced with the more flexible MI setroot() code.
1997-02-04 05:47:56 +00:00
thorpej
9fc5d41bb3 Garbage-collect an ... insane use of "GENERIC" (used to generate a
different "default in-core disklabel" with a larger b partition in
the event no disklabel was present on the disk).
1997-02-04 05:24:55 +00:00
perry
19d153fc48 Nuke some options GENERIC residue. 1997-02-04 04:57:10 +00:00
thorpej
1cec4494cb Don't default to RB_ASKNAME _ever_. (Besides, GENERIC is long gone.) 1997-02-04 04:46:42 +00:00