Commit Graph

15201 Commits

Author SHA1 Message Date
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
perry 0b3a46d6b3 Nuke some GENERIC residue. 1997-02-04 04:31:55 +00:00
thorpej 0130161343 Bump version: Reorganization of boot block code 1997-02-04 03:59:40 +00:00
thorpej 8226741fc2 Replay history: Added support for HP-IB cartridge tapes 1997-02-04 03:58:52 +00:00
thorpej 25f97c348f Reply history: Merged network and disk boot programs 1997-02-04 03:57:51 +00:00
thorpej f52a7cea62 Replay history: Added support for network booting 1997-02-04 03:57:08 +00:00
thorpej b327731a21 Bump version: Reorganization of boot block code 1997-02-04 03:55:56 +00:00
thorpej 6c19137655 Replay history: Added support for HP-IB cartridge tapes 1997-02-04 03:54:56 +00:00
thorpej a0864b3e07 Complete and total reorganization of the hp300 boot code, modeled
closely after the build process used by NetBSD/alpha's boot code.
1997-02-04 03:51:37 +00:00
mark 7ef8e3bcd9 Fix declaration of the interrupt handler to match new prototype for IRQ
function pointers.
1997-02-04 02:23:35 +00:00
mark aab5efa574 Updated to use the new bus space interface code. Use a number of bus
space handles to describe the task file registers, aux register, 16 bit
data register and 32 bit data register.
The wdc softc structure has been moved to a separate file.
Added support for multiple attachments by separating the core of the
probe and attach functions from the mainbus probe and attach routines.
Added a new wdc flags 32_BIT so that the wd can determine 32 bit xfer
support from the wdc device.
1997-02-04 02:04:51 +00:00
cgd a9295bf811 make variable pointers (in variable declaration structs) be 'long *', so
that the common case can be handled with no hassles on all machines.
fix up the various internal variables which are also exported via sysctl
(and which therefore must be 'int's) to do the right thing via a special
read/write function.
1997-02-04 00:33:32 +00:00
cgd bd0be84b0a fix printf format widths 1997-02-04 00:32:09 +00:00
mycroft df3b4bae5c db_expr_t became a long. 1997-02-04 00:02:34 +00:00
mycroft 12da023cd4 db_expr_t became a long. 1997-02-03 23:36:09 +00:00
oki e42b78c179 Remove #ifdef GENERIC ... #endif 1997-02-03 22:20:32 +00:00
oki f2ef4f87ec Removed options GENERIC 1997-02-03 22:19:36 +00:00
oki 78c033ae63 Remove swapgeneric.c from target lint 1997-02-03 22:18:38 +00:00
oki 5bd33fc853 Oops, correct value in previous commit 1997-02-03 21:51:15 +00:00
oki 98f832a1b3 Remove #include <string.h> 1997-02-03 21:41:59 +00:00
oki 6bb753af5b - tv_kfont[] size fix.
- silly speed hack.
1997-02-03 21:40:45 +00:00
gwr d372229de2 This little awk program translates the initialized data table found
in the assembly file genassym.s into the usual assym.h file.  The
assym.h file generated this way is identical to the output generated
if I simply compile and run the genassym.s file.  "Heh, Kewl!"
Thanks to Matthias Pfaller for the "translate the .s file" idea!
1997-02-03 21:31:17 +00:00
oki ddfc714cbe Remove initialize mrh_list line, and fixed 1997-02-03 21:08:48 +00:00
oki e79ab67da5 - RCSid police
- Correct header comment
- Sync with ALL
1997-02-03 20:20:45 +00:00
cgd ae8e8e7f6b print warnings about unrecognized boot flags. accept S/s as recognized,
even though they're redundant.
1997-02-03 20:02:02 +00:00
cgd a34fffe676 part of the SOFTWARE_SSTEP code was mips-specific. #ifdef it appropriately.
fix various 64-bitness bugs.
fix various -Wall bugs.
1997-02-03 19:57:41 +00:00
cgd 3e34fdf8ac fix various 64-bitness bugs.
fix various db_printf format bugs (long vs. int, etc.).
1997-02-03 19:57:03 +00:00
cgd 4e829562bb needs systm.h for prototypes 1997-02-03 19:56:24 +00:00
cgd 65a65d45b2 fix various 64-bitness bugs. 1997-02-03 19:56:03 +00:00
cgd e09497929c clean up a bit, add kernel setjmp and longjmp definitions. 1997-02-03 19:50:23 +00:00
cgd b9910b1c1f clean up a bit, add bad144-handling code 1997-02-03 19:48:04 +00:00
cgd ca0809980e add fd and wd to alpha_nam2blk 1997-02-03 19:46:55 +00:00