Commit Graph

374 Commits

Author SHA1 Message Date
christos e43661dda6 use in_addr_t and in_port_t 1996-10-13 02:57:47 +00:00
mark 5b9a5a91b2 Added a macro for un-cacheable un-bufferable ptes. 1996-10-12 18:31:10 +00:00
mark 8759f643d5 Don't need to include machine/reg.h here. 1996-10-12 18:29:32 +00:00
mark 9e61254436 Fixed typo. 1996-10-12 18:25:59 +00:00
mark 61d95c8ea3 Initial commit of doc describing boot options and parameters recognised
by the kernel.
1996-10-12 18:24:43 +00:00
christos 60dd5ceebe printf -> kprintf, sprintf -> ksprintf 1996-10-11 00:06:28 +00:00
cgd 472889f8e4 moved to aout_machdep.h (via repository copy) 1996-10-08 12:57:37 +00:00
mycroft b3ffba62a6 Move strip(1) flags into a separate variable, so that $STRIP can
be passed to subordinate make(1)s.  Remove $TOUCH.  Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
mycroft 9db220fa82 Use cdev_uk_init(). 1996-09-08 00:40:08 +00:00
mycroft 9e7223f23d Use cdev_scanner_init() rather than local cdev_ss_init(). 1996-09-08 00:11:51 +00:00
mycroft e6dd44f034 Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft 2bc736661a Implement poll(2). 1996-09-07 12:40:22 +00:00
mycroft fc3def4096 Remove duplicate declarations of LKM functions and macros. 1996-09-05 15:46:22 +00:00
mycroft b3eac79b64 tty stop functions really should return void, not int, and certainly not both. 1996-09-02 06:43:16 +00:00
mycroft 30a617c634 Wrap the default definition of `S' in `.ifndef'. 1996-08-31 21:40:47 +00:00
mark 97c857ef9c Initial commit of the prom interface code for VLSI RC7500 motherboards. 1996-08-29 22:35:41 +00:00
mark bda575c253 Removed stub code for copystr(), copyinstr() and copyout() now that
optimised assembly versions are in place.
Added support for mounting an NFS filesystem as the root filesystem even
for generic configs.
Don't hardcode the number of spl levels use the define in psl.h
1996-08-29 22:33:24 +00:00
mark 64860a1d74 Print the instruction word for undefined instructions. 1996-08-29 22:25:26 +00:00
mark 7568e05e32 Added machine command for reporting panic related information.
Trap undefined instructions that are used for breakpoints for all
processors modes. If the mode was USR32 then post a SIGTRAP signal.
1996-08-29 22:23:45 +00:00
mark 2fb1f405f7 Added a new machine function to report information following a panic
e.g. panic string, message buffer etc. This is to aid debugging panics
following a panic while X was running as X will swallow all the panic
text.
1996-08-29 22:21:06 +00:00
mark 75a39e190b Replaced the generic copystr() and copystrinout() functions with
optimised copystr(), copyinstr() and copyout() functions.
This removes the need for the copy{in,out}() stub code in stub.c
1996-08-29 22:18:09 +00:00
mark 8b3ff9c94f Added support for NFS root and swap.
Define argdev here.
Fixed the interpreting of the root and swap devices passed from the
boot loader.
1996-08-29 22:08:58 +00:00
mark 468b7ec21b Define swapdev here as all the other ports do. 1996-08-29 22:05:50 +00:00
mark 2c16eec75d Removed declarations of swapdev and argdev. These are now defined
elsewhere.
1996-08-29 22:03:53 +00:00
cgd 71ad30d0e9 (1) set scsi_link channel to either the appropriate channel (if a
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
    single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
    function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd 2a73ef60b7 change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mrg b8e9f36083 add COMPAT_12. 1996-08-26 23:39:36 +00:00
mark 4be6fcfb6e Only disable IRQs during cpu_switch(). FIQs can be left activeas they cannot
interfere with a context switch.
Fixed several comments.
1996-08-21 20:29:19 +00:00
mark 4522daecc9 Added defines for more proc structure fields (used by the FPE). 1996-08-21 20:26:41 +00:00
mark 7b0a0c0a24 Initial commit of the NetBSD/arm32 kernel TODO list. 1996-08-21 20:25:04 +00:00
mark 9d18e41fd8 No longer need the relocation function arm_fpe_mod_reloc() as this is now
sorted out at link time.
fpe_arm_header is now the header structure for the fpe and no longer
a pointer to a header structure.
1996-08-21 20:21:05 +00:00
mark 7b8910c01d Vastly simplified the FPE stubs code now that there are labels for all the
core entry points. i.e. the linker does the work rather than the stub code.
Optimised transferring the trapframe between UND32 and SVC32 mode stacks
in the fpe_post_proc handler.
Added experimental code to handle must of userret in UND32 mode. This means
that the copy of the trapframe and the switch to SVC32 mode is only needed
if mi_switch() has to be called. (This saves a vast number of pointless
trapframe copies).
1996-08-21 20:16:30 +00:00
mark 3142731d09 Re-written FPE core header.
Added branches relative to the start of the module and labels to the various
entry points.
All other offsets are now relative to _fpe_arm_start.
This removes the need for boot time relocation of the FPE.
1996-08-21 20:10:04 +00:00
mark e37583ac84 Removed the prototype arm_fpe_mod_reloc(). 1996-08-21 20:06:26 +00:00
mark 66d9ef4edb Updated with more info on the ARM7500 IOC/IOMD. 1996-08-21 20:00:50 +00:00
mark 9c8e5632da Replaced arch/arm32/arm32/fusu.c with arch/arm32/arm32/fusu.S
Added new iomd device.
1996-08-21 19:56:00 +00:00
mark 45bd77d893 Initial commit of a new iomd device. This device manages IOMD devices
for all ARM processors.
1996-08-21 19:53:21 +00:00
mark 64c91a1cc3 Report EASI space timings when probing the podule bus. 1996-08-21 19:46:47 +00:00
mark e8f3059a07 Define EASI space cycle types.
Added macro for setting the EASE space cycle time for a podule.
1996-08-21 19:44:53 +00:00
mark e53ec9745b Updated to work better with the new assembly functions like fuswintr().
Removed calls to traceback() as this info can be obtained via DDB after
a panic if needed.
1996-08-21 19:42:36 +00:00
mark 165dc50b4c This file can be removed now that the stubs functions it contained have
been replaced with proper assembly version in fusu.S
1996-08-21 19:38:39 +00:00
mark e75becbba3 Initial commit of proper [fs]uword() and associated functions. This
replaces fusu.c which comtained horrible stubs to things like copy{in,out}().
1996-08-21 19:37:43 +00:00
mark 663aa7fac0 Removed the #if notyet guards as this code now works.
Optimised the imsw16() and outsw16() functions by using ldm and stm
instructions.
1996-08-21 19:19:44 +00:00
mark caddfcc9e1 Make sure we have at least 1 rtc device configured otherwise
inittodr() and resettodr() will not work.
1996-08-21 19:07:19 +00:00
mark 88331f5ddc Removed debugging/diagnostic tracebacks. We have DDB now so can traceback
from there after the panic.
Guarded several checks with #ifdef DIAGNOSTIC
1996-08-21 19:04:17 +00:00
mycroft 1eba3fc001 Use to build `makemodes'. 1996-08-12 00:57:35 +00:00
mycroft 558d72128e Put into . Remove hooks for `config-dependent' and
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft cf67f29afe * Add a HOSTED_C_C variable, which strips `-p', `-pg', and
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft f94052ed3a * Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg 5abbf990f3 Change reboot(2) to take two arguments: bootopt like normal and also
a boot string for firmware that can do this, such as the SPARC and
the sun3 models.  It is currently silently ignored on all other
hardware now, however.  The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00