Commit Graph

16524 Commits

Author SHA1 Message Date
thorpej
a4a356f9a6 Need 83 longs for a jmp_buf now. 1998-09-14 06:07:29 +00:00
thorpej
27f3588d7b oops, missed one. 1998-09-14 02:50:12 +00:00
thorpej
cbfc257eda sigset13_t -> int. 1998-09-14 02:48:33 +00:00
tv
058853ee30 Use WARNS=1 to get -Wall, and properly disable -Wmain on gcc 2.8 1998-09-14 00:50:22 +00:00
tron
7010f82942 Sync with "GENERIC". 1998-09-13 23:15:46 +00:00
hwr
43c45ee409 Enable gre(4) device 1998-09-13 21:02:02 +00:00
pk
ff383dc20d Add compat_13_machdep.c 1998-09-13 20:34:34 +00:00
pk
190e4c429d Move compat_13 sigreturn() into its own file. 1998-09-13 20:33:33 +00:00
pk
82d2ea3a70 Remove left-over SUNOS_COMPAT line. 1998-09-13 20:24:15 +00:00
pk
9658554e18 Replace previous by something more complete. 1998-09-13 20:17:54 +00:00
pk
9d9f22fa79 Signal handling changes: sunos compat gets its own sendsig(); sunos
sigreturn() == compat_13_sigreturn().
1998-09-13 20:07:54 +00:00
eeh
52cbf86859 Looks like something else changed in signal land. 1998-09-13 16:45:43 +00:00
eeh
49af63b22b Fixup signal changes (hopefully). However SUN_COMPAT is likely broken by
this and I don't know how to fix it.

We can now exec a 64-bit init through a really ugly hack (don't ask.)
1998-09-13 16:02:47 +00:00
mycroft
06fb1b6d67 Fix pasto. 1998-09-13 12:24:18 +00:00
mycroft
4e4f120db9 Update these for signal handling changes.
XXX Not tested yet.
1998-09-13 12:13:49 +00:00
mycroft
7b15b3b56d Minor change. 1998-09-13 12:01:41 +00:00
mycroft
fa31b94af9 Fix omission in previous; remember to record that we're on the signal stack. 1998-09-13 11:57:58 +00:00
pk
90054fd502 New sigcontext. 1998-09-13 11:41:02 +00:00
pk
ba67f63901 Sync function prototypes; remove unsed variables. 1998-09-13 11:34:04 +00:00
mycroft
ef7c8ebbe7 Oops; forgot to commit this. 1998-09-13 11:26:58 +00:00
pk
b8de221a1e Pull in <sys/syscall.h> directly into locore.s 1998-09-13 11:12:36 +00:00
thorpej
4a797b8f45 Make signal delivery work again. 1998-09-13 10:29:02 +00:00
thorpej
c7d391b23c Make signal delivery work again. 1998-09-13 09:15:51 +00:00
thorpej
1a5b3601cb Make signal delivery work again. 1998-09-13 08:19:49 +00:00
thorpej
35c106630e __LIBCxx_SOURCE__ refers to the library major number, not the NetBSD release
number.
1998-09-13 02:18:38 +00:00
thorpej
3ddf828326 Make signal delivery work again. 1998-09-13 01:51:29 +00:00
thorpej
6351312ff7 Fix thinko in last thinko fix. We always have to store an old style
signal mask since a 1.3 binary may attempt to invoke sigreturn(2) directly
for an alternate exit from the signal handler.  If we don't do this, it will
get a garbage signal mask if it tries to do that.
1998-09-13 01:45:04 +00:00
thorpej
7f361cc70c Prototypes for native_sigset13_to_sigset() and native_sigset_to_sigset13()
are in sys/signalvar.h
1998-09-13 01:43:17 +00:00
thorpej
a0494141c5 Prototype for native_sigset13_to_sigset() is in sys/signalvar.h 1998-09-13 01:42:45 +00:00
pk
875bff538c A few slight optimizations. 1998-09-12 19:50:59 +00:00
pk
ad0f4a6fbb Nuke insqeu' and remque' 1998-09-12 19:46:00 +00:00
pk
8b7ee2cd89 Add hatching code for other CPUs. 1998-09-12 19:44:17 +00:00
matthias
dfc0d8e7d5 {bzero, bcopy} -> {memset, memcpy}
add -DINSECURE to stand/Makefile.inc
1998-09-12 19:14:58 +00:00
pk
e120fa4e14 Machinery to configure multiple CPUs. All CPUs found are spun up from the
auto-configuration cpu_attach() function using the firmware.
Currently, all CPUs except the one used to boot end up in an idle loop
in locore.
1998-09-12 15:33:40 +00:00
pk
1b077ae1cd Set cache control bits according to configured preference (if any). 1998-09-12 15:08:04 +00:00
rvb
0aa47cd025 Change cfs/CFS in symbols, strings and constants to coda/CODA
to avoid fs conflicts.
1998-09-12 15:05:47 +00:00
pk
097a922a9c Add field holding the physical address of the MMU context table. 1998-09-12 14:12:49 +00:00
pk
f390eccd7d Add missing bits to per-CPU MMU table allocator routine. 1998-09-12 14:11:53 +00:00
pk
cd0a5fe245 Define some bit-format strings. 1998-09-12 13:59:19 +00:00
pk
18fbdfc2f8 Expose `v3' routines to everyone. 1998-09-12 13:34:38 +00:00
mycroft
3f2c7263b1 Fix thinko in previous. 1998-09-12 10:48:27 +00:00
scottr
2b636564b7 Don't add IOBase to sccA; it's an address, not an offset.
Pointed out by Paul Goyette.
1998-09-12 02:42:27 +00:00
mycroft
89ea1fcbdd Version sys_sigreturn, to avoid breaking programs that use it explicitly. 1998-09-12 00:47:12 +00:00
jonathan
a4f0d3aef0 Add splx_end label to splx(), for stack traceback code. 1998-09-11 17:37:46 +00:00
jonathan
008816ea4f Changes to sys/arch/mips from ARC port, from Noriyuki Soda <soda@sra.co.jp>.
Adds (most) support for ARC platform to port-independent mips code.

Some changes (e.g., clean up of overlapping CPU/FPU ids) inspired by
comparison to the OpenBSD 2.1 codebase of Soda's ARC port.

Open issues:
 * Still no support for r4600 or mipsIV CPUs with two-way L1 cache.
   Code derived from Per Fogelstrom's OpenBSD source  doesn't work
   on mips3 pmaxes with L2 cache.

 * Still some port-specific  #ifdefs, for interrupt enable and
   pmax L2 cache-size.  Needs more thought, but overlaps with
   work-in-progress by Tohru and Tsubai on spl()s and related stuff.
1998-09-11 16:46:31 +00:00
mycroft
62ea009b0e Update for signal handling changes. 1998-09-11 13:31:39 +00:00
mycroft
a2d9c7ed82 Use the context flag bits. 1998-09-11 13:22:45 +00:00
mycroft
fb526e055c Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.
1998-09-11 12:50:05 +00:00
mycroft
932a812de4 Speed up syscall() slightly in a few cases. 1998-09-11 12:23:44 +00:00
eeh
526dbbab7e Add labels for the compat_sparc32 signal trampoline and break -- er -- fix
suword and fuword.
1998-09-11 00:16:59 +00:00
eeh
6736de02e8 A (slightly modified) version of tv's fix for va_args for kern_printf. 1998-09-11 00:12:41 +00:00
nisimura
97acdd4415 A minor error. kn5800, a MIPS SMP machine, was codenamed "ISIS." 1998-09-11 00:06:12 +00:00
eeh
f3ca996011 Add support for 64-bit types if _LP64 is defined. 1998-09-11 00:05:57 +00:00
eeh
cdeacb83c2 Don't use fuword()/suword() -- can't count on their size. 1998-09-11 00:04:16 +00:00
scottr
9d1c9d8d38 Use correct devices for zs driver on AVs. From Dave Huang (PR 6107). 1998-09-10 21:40:42 +00:00
pk
f6b7ca884e Use our brand new extent_alloc1() function to allocate cache-aligned
DVMA addresses.
1998-09-10 21:08:39 +00:00
is
283229c668 Fix catastrophic typo. DraCos rev. 3 (or older) would crash on exiting from
the first timer interupt.
1998-09-10 20:45:33 +00:00
nisimura
d6afdbc88b Complete to fix errors introduced by HX screen dimension detection. 1998-09-10 10:00:39 +00:00
mark
84f15d23f4 Fix bug in switch_exit() from last commit. This fixes PR 6132.
The bug is that the modification to call exit2() removed a stack pop
but not the associated push.
1998-09-10 02:16:28 +00:00
wrstuden
eefa9491d1 Turn on support for 115,200 and 230,400 baud. Should work, but might
generate lots of interupts (one per char or so) if we don't have
DMA set up.
1998-09-09 20:58:06 +00:00
phil
feb70ddafd Add coda file system character file device. 1998-09-09 19:04:04 +00:00
minoura
6b6b9e2706 Make device probe/attach sessions to be executed at splhigh.
mha driver used interrupt driven I/O.
1998-09-09 16:42:51 +00:00
thorpej
70e641047c In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
to).
1998-09-09 11:17:24 +00:00
thorpej
2f9d1a8c8c Use MID_MACHINE rather than MID_SPARC in cpu_coredump(), and add a comment
about dumping a SPARC32 core file if we're using emul_sparc32.
1998-09-09 11:06:08 +00:00
thorpej
f7a4380174 If _LP64, set MID_MACHINE to MID_SPARC64, else MID_SPARC. This allows us
to uniquely identify ILP32 vs. LP64 core files, and prevents an LP64 kernel
from incorrectly choosing emul_netbsd when it should choose emul_sparc32.
1998-09-09 11:01:38 +00:00
eeh
2a6ae85fc3 Change to MACHINE_ARCH=sparc64 for LP64 machines. 1998-09-09 02:56:38 +00:00
eeh
d2570e248c Don't use %tick for microtime on 32-bit kernels -- breaks gettimeofday. 1998-09-09 02:52:54 +00:00
eeh
e81ed2237d Fix problems in global pagewalks. 1998-09-09 02:49:56 +00:00
eeh
9487c4be35 Make `machine phys' increment its address. 1998-09-09 02:48:15 +00:00
thorpej
8abe0d6b1c Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code.  Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
rvb
ba78af57df Get ready to add Coda 1998-09-08 20:56:08 +00:00
minoura
cfa2e4dfa3 Activated options *_PAGER.
That was a careless mistake.
1998-09-08 15:43:27 +00:00
mark
f157d15a41 Guard inclusion of opt_cputypes.h 1998-09-08 03:10:07 +00:00
eeh
b5e87ba833 Misc. cleanup. 1998-09-07 23:59:07 +00:00
eeh
4a42b68e25 Fixup for 32-bit and 64-bit syscalls. 1998-09-07 23:49:21 +00:00
eeh
caff762f80 Fix data corruption problem caused by broken debug code. 1998-09-07 23:48:23 +00:00
eeh
f162a39307 Make register32_t unsigned so we don't have sign extension problems. 1998-09-07 23:46:26 +00:00
pk
07b0821d4d Adapt to cpuvar.h changes. 1998-09-07 23:04:28 +00:00
pk
b09b9f7339 De-couple the CPU info structure from auto-configuration structures. 1998-09-07 23:02:40 +00:00
pk
729d765620 Clear up some type confusion. 1998-09-07 22:56:46 +00:00
eeh
064281122e Add new 64-bit trap vectors. 1998-09-07 20:02:32 +00:00
mhitch
2c412f42bb scc_softCAR is a bit array, so set it accordingly for a serial console
port (instead of using the scc line number).
1998-09-07 19:54:15 +00:00
mhitch
a91d61bced Can't use fi->fi_base to access the resolution registers: it hasn't been
initialized yet.  Use the base variable, and also use the symbolic symbols
to acdess the registers.  Also, the console max_rows is based on the
display height, not the width.
1998-09-07 19:52:49 +00:00
mhitch
3299eb8c5b Fix error in kernel shadow mapping when kernel is loaded into fastmem on
69040/060 and the number of initial KPT pages is odd.  This would cause
a memofy fault before the 040 trap routines were set up and gave a
misleading trap message.  The odd number of KTP pages would result if
Sysptsize was patched, or if a large amount of Zorro3 space was needed.
1998-09-07 19:50:17 +00:00
eeh
8d72d0dc0a Fix problems copying in extended syscall arguments. 1998-09-07 18:23:54 +00:00
minoura
074790dfb9 Make it usable. 1998-09-07 14:24:08 +00:00
minoura
334656f748 Cleanup _doboot, fixing the 040 reboot bug. 1998-09-07 14:14:34 +00:00
minoura
99517aa6c3 Reorganized the config files based on NetBSD/sparc ones.
Removed unmaintained files.
1998-09-07 14:11:08 +00:00
pk
e21c0b3450 Need to cast sbus attach `prom_vaddrs' field. 1998-09-07 07:15:51 +00:00
pk
c4c4e35608 Undo last change (we're passing the address of a pointer here). 1998-09-07 07:11:11 +00:00
nisimura
c6a0c2d34c Added more MIPS processor IDs. 1998-09-07 06:32:18 +00:00
eeh
aecf435d40 Add new 64-bit specific traps and 64-bit Solaris syscall. 1998-09-07 01:39:52 +00:00
eeh
edc4ed9846 32-bit fixup. 1998-09-06 21:53:41 +00:00
pk
457395fe53 Use the new "%b" format. 1998-09-06 21:38:36 +00:00
pk
c529fe0888 memerr() is now an indirect call. 1998-09-06 21:18:59 +00:00
pk
cda6fb7430 Sanitize memerr*() a bit. 1998-09-06 21:14:56 +00:00
eeh
2db40814db May as well check in my 64-bit kernel config file for the moment. 1998-09-06 04:43:47 +00:00
eeh
ce1a384fb1 Disable some debug stuff. 1998-09-06 04:42:08 +00:00
mark
0c2564ec4a Remove some unused variables. 1998-09-06 04:25:15 +00:00
mark
f21d591227 Convert bzero() to memset(). 1998-09-06 04:24:18 +00:00
mark
f472d5f788 Include machine/intr.h. 1998-09-06 04:22:43 +00:00
mark
249cdfe998 Convert b*() functions to mem*(). 1998-09-06 04:20:37 +00:00
tv
a3da712ec1 Add netbsd_sdboot and explain the differences between the kernels. 1998-09-06 03:38:56 +00:00
mark
352fc12abe Define BootConfig for EBSA285 kernels. 1998-09-06 03:11:38 +00:00
mark
f275d29c4b Implement a dummy version of pciide_machdep_compat_intr_establish()
for now.
1998-09-06 03:01:38 +00:00
mark
3c2941eda0 Initial commit of PCI-ISA bridge device driver. This driver use the
PCI-ISA bridge callback mechanism to attach the ISA bus to the PCI=ISA
bridge.
This is basically an import of the i386 pcib.c code with very minor
changes.
1998-09-06 03:00:25 +00:00
mark
722e17fbfe Don't build depandancies for genassym.c as it no longer exists. 1998-09-06 02:41:19 +00:00
mark
203b612984 Move UVM option to std.arm32 1998-09-06 02:37:47 +00:00
mark
f3889623a7 Add USB device declarations. 1998-09-06 02:35:22 +00:00
mark
9968946f1e Added USB devices.
Added fcom serial device.
1998-09-06 02:33:56 +00:00
mark
896041468d Initial commit of config file for EBSA285 architecture boards. 1998-09-06 02:30:52 +00:00
mark
928d54f699 Added Footbridge (DC21285) files, PCI and USB. 1998-09-06 02:28:58 +00:00
mark
71150c9734 Initial commit of board support for DEC/Intel EBSA285 architecture
systems include the Chalice CATS board and others running the cyclone
firmware.
1998-09-06 02:23:36 +00:00
mark
0823f75d49 Initial commit of DC21285 'Footbridge' core logic support for the
StrongARM SA110 processor
The DC21285 provides memory controller, timers, interrupt controller
PCI-HOST bridge and diagnostic serial port.
1998-09-06 02:20:33 +00:00
eeh
a112a2a4cc It slices. It dices. It does everything except exec a sparc32_compat init. 1998-09-05 23:57:24 +00:00
eeh
484ce04810 The `address' field from the prom is really an unsigned 32-bit value.
Make it so.
1998-09-05 22:29:49 +00:00
eeh
5dc93bd9fe Remove function naming conflict. 1998-09-05 22:15:51 +00:00
is
1fd18c6ecf Define is_draco() inlined.
Corresponds to removal of this function in autoconf.c 1.61.
1998-09-05 21:10:55 +00:00
pk
315ac1f6f7 These are replaced by drivers in <sys/dev/sbus>. 1998-09-05 17:46:33 +00:00
pk
5b005d9e2a Use auto-generated `dev_name2blk[]'. 1998-09-05 17:43:18 +00:00
pk
989caecc31 Define a few major devices.
Remove `dma' and `esp' definitions.
1998-09-05 17:42:28 +00:00
pk
037ab5af1a #include <sys/dev/sbus/sbusvar.h> 1998-09-05 16:52:02 +00:00
pk
c20e88b71e #include <dev/sbus/sbusvar.h> 1998-09-05 16:50:37 +00:00
pk
2a85575583 Most of this now comes from <sys/dev/sbus/sbusvar.h> 1998-09-05 16:44:39 +00:00
pk
181a8253a0 Nuke temporary `getpropA()'. 1998-09-05 16:23:08 +00:00
pk
eebaae2ec0 Remove unused files. 1998-09-05 16:06:23 +00:00
pk
b8fbf12db9 Remove unused devices. 1998-09-05 16:01:11 +00:00
pk
5ca09ab5b1 Remove unused files. 1998-09-05 16:00:42 +00:00
pk
b39d7e33be Assign my copyrights to TNF. 1998-09-05 15:42:41 +00:00
pk
2a1639d335 Relinquish my copyright claims on this file. 1998-09-05 15:31:42 +00:00
pk
8a30c7eaef Assign my copyrights to TNF. 1998-09-05 15:30:24 +00:00
pk
29bae173fa Relinquish my copyright claims on this file. 1998-09-05 15:29:35 +00:00
christos
50909bd6d9 Assign copyright to TNF. 1998-09-05 15:28:08 +00:00
pk
c2b3e6490b Assign my copyrights to TNF. 1998-09-05 15:28:07 +00:00
christos
2d876282c2 Assign copyright to TNF. 1998-09-05 15:28:06 +00:00
pk
a51c63c933 Assign my copyrights to TNF. 1998-09-05 15:28:06 +00:00
christos
449820f2ea Assign copyright to TNF. 1998-09-05 15:28:04 +00:00
pk
7c5210bcab Assign my copyrights to TNF. 1998-09-05 15:20:47 +00:00
pk
7e976967d2 Relinquish my copyright claims on this file. 1998-09-05 15:15:35 +00:00
lukem
c9db84ecc9 distclean is a synonym for cleandir 1998-09-05 15:15:14 +00:00
pk
acf16f7096 Assign my copyrights to TNF. 1998-09-05 15:11:22 +00:00
pk
2c9a80baf4 Assign my copyrights to TNF. 1998-09-05 14:01:08 +00:00
pk
5ebcb31dd0 Assign my copyrights to TNF. 1998-09-05 13:45:46 +00:00
pk
8adc8da66b Assign my copyright to TNF. 1998-09-05 13:40:35 +00:00
nisimura
a3d9c9bd87 - Clearify what ioasic_init() is for. No runtime difference because
NetBSD/pmax does not fully utilize the hardware features.
1998-09-05 05:54:15 +00:00
mycroft
f887061852 Disable recent additions, which are gratuitously annoying and *crash my
machine* at boot time (with a divide by 0 fault).
1998-09-05 04:54:23 +00:00
mark
646b4ca78b Declare boot_file. 1998-09-05 04:14:21 +00:00
nisimura
368fcbd069 - Remove lines make not effects from mainbus.c
- Remove direct device driver calls from dec_3100.c. Close PR#5522.
1998-09-05 04:11:04 +00:00
mark
4285910912 Implement faster method of blocking all lower priority interrupts.
Modify current_spl_level to reflect the temporary change in interrupt
priority level which dispatching.
Don't increment the interrupt stats for every handler in the interrupt chain.
Cleaned up a number of comments.
Define soft interrupt names.
A few miscellaneous tidy ups.
1998-09-05 04:05:31 +00:00
mark
de5eac54ea Simplified initialisation of irqmasks.
Removed any remnants of soft interrupt dispatching.
Cleaned up a number of comments.
Removed a number of blank lines.
Nuked register keywords.
Made sure code is in sync with interrupt handling for other ARM hardware.
1998-09-05 04:04:24 +00:00
mark
451f011ac6 Always call dosoftints() for both lowerspl() and splx().
Fix several comments.
1998-09-05 04:01:53 +00:00
mark
3a115108ed Nuke register keywords.
Update set_spl_masks() to reflect the _SPL_SOFT* macros.
Initialise the soft interrupt mask array.
Update dump_spl_masks() to dump all the hardware and software spl masks.
1998-09-05 04:00:30 +00:00
mark
900bbc08fc Soft interrupt dispatching now uses the soft_interrupts variable along
with the spl_smasks array and the current_spl_level variable to work
out which soft interrupts are pending.
This means that soft interrupts are now separated from the hardware
interrupts so a full 32 hardware and 32 software interrupts can now be
supported.
Implement clearsoftintr() function.
Define several macros to make the soft interrupt dispatching code cleaner.
Implement setsoftserial() function.
Implement soft serial interrupt dispatching.
1998-09-05 03:59:29 +00:00
mark
867fa9eb68 If boot_file is defined try using it to determine the boot device.
Update printing of irqmasks for IPL_SERIAL.
1998-09-05 03:58:31 +00:00
mark
08c24a03e4 Cleanup and simplify interrupt number definitions for various architectures.
Remove all soft interrupt definitions now soft interrupts are being
separated from hardware ones.
Reserved interrupts do not have any special uses so only define then if
needed as placeholders.
1998-09-05 03:51:01 +00:00
mark
6edf348e6d Define _SPL_SOFT{CLOCK,NET,SERIAL} and create or update the
appropriate spl* macros.
Move spllpt() maro here from intr.h
Prototype setsoftserial().
Define spl_smasks array for software interrupt masks to complement the
hardware interrupt masks.
1998-09-05 03:50:01 +00:00
mark
4d98d58935 Define IPL_SERIAL & IPL_HIGH.
Define SOFTIRQ_CLOCK, SOFTIRQ_NET and SOFTIRQ_SERIAL and SOFTIRQ_BIT()
macros.
Move spltty macro to psl.h
1998-09-05 03:47:10 +00:00
mycroft
d9753cd7d0 Install joystick.h. 1998-09-05 03:32:57 +00:00
mycroft
dc0d1c09d5 Add joy at ofisa. 1998-09-05 03:32:36 +00:00
mark
5ae7ff7e6e Added assembly code for set_region_2.
Rewritten/Optimised a number of the bus space functions.
1998-09-05 01:31:53 +00:00
mark
1a6733681f Add set_region_2 to ISA IO and MEM tags.
KNF.
1998-09-05 01:30:02 +00:00
mark
46f166f090 Cleaned up the map_entry*() functions.
Removed register keywords.
Tidied up printf format strings.
Removed a number of blank lines.
1998-09-05 01:23:04 +00:00
mark
a21a7644df Rip out a load of junk thats long past its "best before" date. 1998-09-05 01:18:19 +00:00
mark
ec1dae5a9d Only build modedefs.c if MONITOR is defined. 1998-09-05 01:16:17 +00:00
mark
9ad228e3bc Update MINIROOTSIZE option. 1998-09-05 01:14:43 +00:00
mark
7115a4f53e Updated several comments and acknowledgements. 1998-09-05 01:12:14 +00:00
mark
218bf90f49 Nuke register keywords. 1998-09-05 01:09:42 +00:00
mark
e6aee6549e Updated for recent driver additions and reservations. 1998-09-05 01:06:38 +00:00
mark
3a01450f20 Bring up to date. 1998-09-05 01:04:48 +00:00
is
0eb25ce882 Add support for Apollo-68060-board-reworked A3000 motherboards.
This is only tested on the original A3000...
1998-09-04 22:00:27 +00:00
is
a99b5503f1 Account for the 68060 store buffer. 1998-09-04 21:19:07 +00:00
tsubai
bd83774fb0 Switch to UVM on macppc. 1998-09-03 15:11:52 +00:00
minoura
2eacfa5148 Deleted unused options EIOMAPSIZE and ITEKANJI.
Removed unmaintained configs.
1998-09-03 14:29:33 +00:00
minoura
2b34aa908f Eliminated meaningless ITEKANJI. 1998-09-03 14:22:06 +00:00
minoura
8749f59fe4 Unimplemented EIOMAPSIZE defaults to 0. 1998-09-03 14:13:18 +00:00
tsubai
a647a97b1a Remove HTABENTS definition. (calculated automatically) 1998-09-03 14:10:56 +00:00
tsubai
99c8212d10 Change void mcintr() to int mcintr(). 1998-09-03 14:06:06 +00:00
tsubai
f8aa472811 * Remove nam2blk.
* Clean up a bit.
1998-09-03 13:18:44 +00:00
kleink
ef1837c1ad Fix typo in previous (!UVM case, hence insignificant). 1998-09-03 12:38:31 +00:00
nisimura
ff9b85d338 cdevsw[] and chrtoblktbl[] arrays were not in sync. Add missing the
two entries in chrtoblktbl[] as pointed out by Greg Oster PR#5715.
1998-09-03 07:12:43 +00:00
nisimura
e71752d621 An include file describes MIPS processor hardware nature, which will
supercedes cpuregs.h eventually.
1998-09-03 05:09:37 +00:00
mark
323528d86f Integrate another one of Neil Carson's pmap improvements.
Use pmap_clean_page() in pmap_remove_all() to improve cache cleaning
efficiency.
1998-09-03 03:31:53 +00:00
sakamoto
9b0803da20 Use UVM by default. 1998-09-03 01:43:34 +00:00
is
c38a877ead Add bus_space_read_region_1/bus_space_write_region_1 to the Amiga bus.h. 1998-09-02 23:00:04 +00:00
is
a3ee69c87a Split SMC chipset ARCnet driver into
- machine independent chip driver, in dev/ic/smc90cx6.c/...reg.h,...var.h,
  using bus_space methods
- ZBUS frontend in arch/amiga/dev/if_bah_zbus.c
- added IPL_SOFTNET to arch/amiga/include/intr.h, for this
Implementing the ISA bus frontend is left as an exercise to the reader.
1998-09-02 22:32:06 +00:00
matthias
0f9ab462ab std.pc532: default to UVM and PMAP_NEW.
DUMMY, KLONDIKE: Update to my current config.
INSTALL: Use -O1 to save space.
1998-09-02 19:22:13 +00:00
matthias
59def94d93 Get rid of vm_offset_t/vm_size_t. Resolve conflicts in pmap.new.[ch] after
last import from port-i386.
1998-09-02 19:17:12 +00:00
leo
fcfae9e5df Get rid of vm_offset_t/vm_size_t 1998-09-02 14:58:01 +00:00
mrg
77e8bc0d0f really turn UVM on on the atari... 1998-09-02 14:28:58 +00:00
leo
0d5cf1f723 mv vmebus -> avmebus to make room for MI vmebus implementation (per
reqest of Drochner).
1998-09-02 11:23:41 +00:00
leo
a27ab73aae Nuke vm_offset_t/vm_size_t. 1998-09-02 11:16:31 +00:00
leo
a3b886d834 Reorganize installation if include files. Nuke some from atari/include as
they make no sense out of the kernel add some from atari/dev (ioctl's).
1998-09-02 10:59:14 +00:00
mrg
06ea852ae8 take out UVM_PAGE_TRKOWN and comment UVMHIST 1998-09-02 10:27:27 +00:00
drochner
5e4c58a7d0 Fix incomplete variable renaming in the last commit.
Found by taca@sky.yamashina.kyoto.jp (Takahiro Kambe) - PR port-i386/6087.
1998-09-02 08:24:51 +00:00
nisimura
78aedb2cd3 - kernel boot flag 'd' now means "enter DDB asap" like as other ports.
- bump cpu_model[] length as the longest name occupies over 30 characters.
- place machine_arch[] beside machine[] for clearity.
- nuke useless #include directives.
- small scale cleanup in vm_machdep.c
1998-09-02 06:41:22 +00:00
eeh
cf9a8a5a53 Periodic update: now starts probing devices. 1998-09-02 05:51:35 +00:00
enami
38cae9f204 Replace TAB just after the keyword `options' with SPACE. 1998-09-02 02:02:33 +00:00
cgd
8bbc38a130 avail mem is calculated ptoa(uvmexp.free), not ptoa(uvmexp.free - bufpages),
like on other ports.  uvmexp.free is already adjusted by the uvm_pagealloc
calls used to get the buffer pages.  (reported by mrg)
1998-09-02 00:03:05 +00:00
thorpej
1df7dffd26 Nuke an unused variable. 1998-09-01 21:28:04 +00:00
ross
899f8f8851 Fix off-by-one errors in assertion in DIAGNOSTIC in pmap_remove() 1998-09-01 20:30:20 +00:00
itohy
3e5ec30a8f Use subdirs. 1998-09-01 20:18:37 +00:00
itohy
b5f246a8ca Changed algorightm to figure out boot device.
Use type of SCSI interface, target SCSI ID and LUN,
passed from the boot loader.
1998-09-01 20:08:21 +00:00
itohy
f9175d6bc7 NetBSD/x68k boot loader. The xxboot now can boot NetBSD from
1. >1GB SCSI disks,
  2. any of the top 7 partitions on disks, and
  3. any SCSI interface.
1998-09-01 20:02:32 +00:00
itohy
ecc30b1784 New boot program.
Load and execute NetBSD/x68k kernel from Human68k.
1998-09-01 19:55:32 +00:00
itohy
8f7b16dd71 X680x0 IOCS library. 1998-09-01 19:53:54 +00:00
itohy
f67f070984 Human68k DOS library. 1998-09-01 19:53:25 +00:00
itohy
16964edb07 The files are moved to stand/xxboot/gunzip/. 1998-09-01 19:52:48 +00:00
itohy
bfd67e9c16 Files used in common. 1998-09-01 19:51:56 +00:00
itohy
19f52a192c New utility program.
Convert a.out to Human68k ".x" format executable.
1998-09-01 19:51:07 +00:00
itohy
330356bc46 The files are moved to stand/xxboot/. 1998-09-01 19:49:33 +00:00
itohy
b8e89a2507 Removed unused files. 1998-09-01 19:48:00 +00:00
itohy
1bf1486a77 Added an include file on port dependent boot information. 1998-09-01 19:47:38 +00:00
itohy
62f989f832 Removed unused files. 1998-09-01 19:44:14 +00:00
pk
30b5826331 Hang on to `old VM' a little while longer.. 1998-09-01 18:05:27 +00:00
tsubai
8159431e7e Make disklabel writable even if no disklabel exists. 1998-09-01 17:42:59 +00:00
tsubai
2c6eefb899 Add some prototypes. 1998-09-01 17:33:04 +00:00
tsubai
3a8ad815c4 Add some prototypes. 1998-09-01 16:35:50 +00:00
minoura
e97803df25 Typo. 1998-09-01 15:05:21 +00:00
tsubai
d5a3d4b4b7 Don't set RTC time before reading it. 1998-09-01 13:07:23 +00:00
sakamoto
64b0761e4d Include bsd.subdir.mk instead of bsd.prog.mk. 1998-09-01 08:43:48 +00:00
sakamoto
67d65cd631 Sync with i386/include/bus.h. 1998-09-01 05:57:23 +00:00
sakamoto
0bbf57d7ec Eliminate ovbcopy define. 1998-09-01 05:55:14 +00:00
mhitch
7a359022d9 Re-enable mfc and msc serial drivers. Both compile, but only mfc is
currently known to work [I can't test the msc changes].
Add commented-out UVM option (until UVM is standard).
1998-09-01 02:40:36 +00:00
mhitch
1d7e0301d3 Quick fix for TS_WOPEN -> t_wopen change. Compiles, but I can't verify
that it actually works again.
1998-09-01 02:33:32 +00:00
mhitch
b741e97082 Quick fix for TS_WOPEN -> t_wopen change. Compiles and works. 1998-09-01 02:30:29 +00:00
mark
0c11c52fc1 Added csc device. 1998-09-01 02:28:04 +00:00
mark
1c13966ceb Add csc device and scsibus attachment. 1998-09-01 02:27:21 +00:00
mark
edb737d09d Initial commit of a Cumana SCSI II driver using the sfas chip driver. 1998-09-01 02:24:11 +00:00
mrg
478a07de87 generate dependancies from genassym.cf 1998-09-01 01:48:21 +00:00
jtk
663e79e90a add 32-bit register support and beginnings of APM V1.2 support 1998-08-31 23:54:32 +00:00
jtk
6ab2c0f7d4 config file for BIOSCALL assym.h 1998-08-31 23:53:30 +00:00
jtk
a5026bf4e2 regen 1998-08-31 23:52:58 +00:00
jtk
10ec6359b5 add 32-bit register support to BIOSCALL interface 1998-08-31 23:52:40 +00:00
cgd
d58173741d kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
used it, and it's non-working and apparently slated for replacement.)
1998-08-31 22:28:04 +00:00
dbj
e07f44da4d Fixed typo in printf bitfields for intrstat register. 1998-08-31 21:21:10 +00:00
pk
779f357ede Implement cache alignment in bus_dmamem_load(). 1998-08-31 20:00:22 +00:00
ragge
58831dae59 Bug fixes and improvements. By Roar Thronæs and myself. 1998-08-31 19:20:24 +00:00
frueauf
56c79255db Fix typo: dbaddr_t -> db_addr_t. 1998-08-31 19:20:17 +00:00
ragge
25f04a8abb Support for all 4 console lines on KA820. Support for this written
by Sergey Svishchev (svs@ropnet.ru).
1998-08-31 18:43:28 +00:00
thorpej
29a84ea0ac UVM+PMAP_NEW is standard now; don't need it in individual config files. 1998-08-31 17:58:44 +00:00
thorpej
4e705c4d21 Switch the i386 port to UVM+PMAP_NEW. 1998-08-31 17:55:26 +00:00
tsubai
b9a44d6b63 vm_offset_t --> [pv]addr_t 1998-08-31 14:43:39 +00:00
tsubai
378fc0778a Change db_expr_t from int to long like other ports. 1998-08-31 14:16:48 +00:00
mrg
1fe0874746 use genassym.sh/.cf rather then the C program. 1998-08-31 06:52:18 +00:00
thorpej
667635aebb Add (commented out for now) UVM/PMAP_NEW, enable KMEMSTATS, comment
out the PHY drivers.
1998-08-31 03:54:33 +00:00
mark
0e533ae4c7 Use IPL_AUDIO for the interrupt priority.
KNF.
1998-08-31 02:36:11 +00:00
mark
bd75906989 Use IPL_AUDIO for the interrupt priority.
Cleaned up some comments and removed several un-necessary includes.
1998-08-31 02:35:31 +00:00
mark
47364b0c91 Use IPL_AUDIO for the interrupt priority. 1998-08-31 02:34:36 +00:00
mark
cdaa8d9c45 Further improvements to init_arm(). Use map_chunk() to map a number of
areas of the kernel including the text, data and bss.
1998-08-31 00:11:18 +00:00
mark
80d8aa6034 Remove a couple of redundant lines. 1998-08-31 00:08:11 +00:00