Commit Graph

217 Commits

Author SHA1 Message Date
mycroft 7b49d242ce Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
2000-01-23 17:04:03 +00:00
tsubai ddec291d99 Fix cf_unit usage. 2000-01-23 15:58:04 +00:00
tsubai eda36600e0 Fix wrong usage of cf_unit. 2000-01-23 15:49:11 +00:00
tsubai d9d54bf806 Use flags to determine PCLK rather than use unit number. 2000-01-23 15:27:43 +00:00
tsubai 83be2572a7 Don't need to declare badaddr(). 2000-01-23 14:57:10 +00:00
wrstuden 87e1b0f9b7 Add overlay to kernel configs. 2000-01-20 19:12:28 +00:00
thorpej a0397a2573 Move callout initialization to a single location; no need to duplicate
that code all over the place.
2000-01-19 20:05:30 +00:00
tsutsui e61f177ab1 STRIP -> STRIPPROG 2000-01-19 16:29:54 +00:00
msaitoh 0b9af6bdce check whether tv_usec >= 1000000 2000-01-19 02:52:16 +00:00
thorpej 8808155fa6 Use b_cylinder as defined in sys/buf.h 2000-01-18 19:46:07 +00:00
tsubai e362a13605 Add zs softint definition. (I forgot to commit this...) 1999-12-31 08:15:48 +00:00
tsubai fa34872358 Use software interrupt. 1999-12-26 09:05:38 +00:00
tsubai 3a04d046b7 Fix typo. 1999-12-23 11:45:32 +00:00
kleink 11e6c54cfc C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
tsubai a2928f3d68 Remove 2 more unnecessary debugging codes. 1999-12-23 07:06:44 +00:00
tsubai 9909053174 * Apply updates from Shimizu-san received after the initial commit.
* G/C unused.
* Many cosmetic changes.
* etc...
1999-12-23 06:52:30 +00:00
tsubai dd30883b03 Comment out -DBOOT_DEBUG. 1999-12-23 01:41:11 +00:00
tsubai 8a56c134db Delete lines that I didn't intended to commit. 1999-12-23 01:40:06 +00:00
tsubai 1bc5465424 Remove unnecessary debugging code. (not intended to commit) 1999-12-22 08:16:45 +00:00
tsubai 70289b0f99 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:55:24 +00:00
tsubai c594e4d0a3 news5000 support. 1999-12-22 05:54:41 +00:00
tsubai efaa549162 First cut of news5000 support.
Mostly from SHIMIZU Ryo <dejiko@di.gi.charat.org>.
1999-12-22 05:53:21 +00:00
tsubai 3b2d2cffe1 Introduce bootinfo. 1999-12-18 08:01:25 +00:00
tsubai 4d08b56ebd Use hb_intr_establish(). 1999-12-18 06:54:05 +00:00
tsubai 3488febf81 Move dma_intr() to here. 1999-12-18 05:00:56 +00:00
tsubai 4990e1cf94 Move common objects and libraries to common/. 1999-12-17 07:40:09 +00:00
tsubai 03ff4cb4df Moved to common/romcalls.S,v 1999-12-17 07:33:21 +00:00
tsubai 0271e4c36a Moved from bootxx/romcalls.S,v 1999-12-17 07:33:20 +00:00
tsubai be68900e77 Add interrupt level locator and use it instead of hard-coding. 1999-12-17 06:05:37 +00:00
tsubai 5577683a2b s/-G0/-G 0/ 1999-12-17 03:24:33 +00:00
tsubai 9df2e626d6 Use hb_intr_establish(). 1999-12-17 03:21:10 +00:00
tsubai 8a2b8d9a8b Implement hb_intr_establish(). 1999-12-17 03:06:13 +00:00
tsubai 8395acb6c9 Insert '\n'. 1999-12-06 06:58:30 +00:00
tsubai d87d33754e Enable BUSERR interrupt before autoconfiguration. 1999-12-06 06:47:14 +00:00
tsubai 6cec6a5c90 Use dev/clock_subr.c. 1999-12-05 15:50:46 +00:00
ragge 0513268399 CL* discarding. 1999-12-04 21:13:19 +00:00
itojun e9a0023b37 bring in content of GENERIC.v6 into GENERIC.
remove GENERIC.v6 file (as it is part of GENERIC now).

"faith" interface is commented out by default as it is not really for
general use.
IPsec items are commented out as well, though we can enable "options IPSEC"
without export-related issue ("options IPSEC" will enable authentication
portion only).  We may need to think about it again.

if you have problem compiling with INET6 on archs I do not have access to,
please contact me.

XXX what to do with arch/arm32/SHARK{,.v6}?
1999-11-21 14:00:37 +00:00
fvdl 8bec119fcc Add commented out option SOFTDEP to all GENERIC kernels. 1999-11-15 19:10:44 +00:00
fvdl d116707af0 Add
prefix ../gnu/sys
cinclude "conf/files.softdep"
prefix

to all std.* files, so that soft dependencies can be activated using
"options SOFTDEP".
1999-11-15 19:00:25 +00:00
tsubai 90a8355d04 Support md root for INSTALL. 1999-11-10 13:33:09 +00:00
kleink b4f0936a8c Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
all the information is available from <sys/exec_elf.h>.
1999-11-09 21:50:18 +00:00
kleink 522cbf0248 Update to match new SVR4-style definition names in <sys/exec_elf.h>. 1999-10-25 13:55:06 +00:00
tsubai b9d51debd3 Rearrange splxxx (from pmax). Closes PR 8445. 1999-10-17 15:06:45 +00:00
thorpej e6c88a7686 Update for SCSIPI changes. 1999-09-30 22:59:52 +00:00
thorpej 11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00
thorpej 3b01d1b872 Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs f3a668ed84 eliminate the PMAP_NEW option by making it required for all ports.
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
mycroft c3e1f6741d A foolish consistency. 1999-08-30 18:58:01 +00:00
mrg f75cf1688b install ieee.h 1999-08-30 00:51:57 +00:00
mycroft 4ef547e76d Add ieee.h. 1999-08-29 18:21:20 +00:00
thorpej 2cf3330a1b Garbage-collect reference to <sys/dmap.h>. 1999-08-23 22:29:37 +00:00
thorpej eb20bbc780 Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied.  Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX.  This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
augustss a7cd454b1d It's time to be COMPAT_14. 1999-07-29 10:37:12 +00:00
cgd f886376518 be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
christos 41cc9a0eb8 enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
tsubai f2d2ad6b17 Cleanup. 1999-07-11 12:44:04 +00:00
thorpej 0945bf58b0 Add examples for including the kernel crypto bits from either crypto-us
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
mrg ecdad0ec33 clean up a bit after jason :)
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
tsubai 1f5ca17f49 Add one more bootdev check. 1999-07-08 12:28:06 +00:00
tsubai ceed81ce5f Forgot to add this... 1999-07-08 12:13:18 +00:00
tsubai fcd9edb548 Don't make ECOFF kernel. 1999-07-08 11:53:35 +00:00
tsubai 7f688e8252 Add stand to SUBDIR. 1999-07-08 11:48:47 +00:00
tsubai 95faaaec9d Add NetBSD/newsmips native boot loader. 1999-07-08 11:48:03 +00:00
tsubai e1ef4ddcb5 Define ROM monitor interfaces. 1999-07-08 11:40:24 +00:00
itojun 5effafcaa6 kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
tsubai 8d68bdec13 Make this compile. 1999-06-20 05:42:09 +00:00
thorpej 2c35c7bd03 Only declare block major numbers for devices which can be the root device. 1999-06-07 20:31:27 +00:00
thorpej d76e7b8c6d Don't pass a nam2blk around at all; just have setroot() and friends reference
dev_name2blk[] directly.  Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
thorpej 2580d306ab Change the vm_map's "entries_pageable" member to a r/o flags member, which
has PAGEABLE and INTRSAFE flags.  PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that.  INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now).  This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
lukem e4a87aa1a9 * convert to using MI allocsys(). most ports were using an MD allocsys(),
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
nisimura c99765853f - Move MachSetPID(1) call to pmap_bootstrap() adajacent to kernel pmap
initialization code.
- Abandon mips_init_proc0() and do the 4 lines straightly in MD mach_init().
- Restore a block of code accidentally lost in prevous commit.
- Change the term 'tlbpid' to a MIPS3 nomenclature 'asid'.
- Hide PTE size exposures by symbolic names in locore.S
1999-05-18 01:36:51 +00:00
chs f455dd6596 add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
thorpej 967b8c433c Don't call configure() from cpu_startup(). 1999-04-01 00:17:45 +00:00
soda 5cf51ff2d5 regdef.h 1999-03-30 18:38:00 +00:00
soda 45b35a036e regdef.h is back 1999-03-30 14:20:43 +00:00
wrstuden 2adccc50fa Add pps support. Only enable pps if CLOCAL & !MDMBUF. 1999-03-27 01:21:36 +00:00
mycroft 9c6b797796 Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.
1999-03-26 23:41:25 +00:00
tsubai bd7d7dd1f4 <mips/db_machdep.h> --> <machine/db_machdep.h> 1999-03-26 07:07:06 +00:00
tsubai f75ec26a42 Define DB_ELF_SYMBOLS to compile.
(currently /boot doesn't preserve symbols.)
1999-03-26 07:03:01 +00:00
thorpej 567cda0537 Don't bother allocating mb_map on these systems. Mbuf clusters are
allocated from a pool, and the MIPS and Alpha use KSEG to map pool
pages.  So, mb_map wasn't actually being used.  Saves around 4MB of
kernel virtual address space in a typical configuration.

Garbage-collect the related VM_MBUF_SIZE constant.
1999-03-26 00:15:04 +00:00
simonb afc2e41e04 Change multiple spaces to tabs. 1999-03-25 03:34:28 +00:00
mrg ca5f9685bb clean up kernel/config files files for machVM lossage. 1999-03-24 06:06:09 +00:00
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
tsubai da1be4ffd8 Fix mkdep ``cc: No input files'' error when SFILES is empty. 1999-03-15 01:55:32 +00:00
drochner 6bcfb2cd72 g/c regdef.h 1999-03-13 13:07:43 +00:00
tsubai f7c4c841ed Don't remove .mdebug section. 1999-03-12 06:42:48 +00:00
tsubai 6662cda7a2 Use mips/ecoff_machdep.h. 1999-03-08 06:38:06 +00:00
tsubai 8b5452906b Use objcopy to convert ELF kernel to ECOFF. 1999-03-08 06:33:26 +00:00
tsubai e717f0bc2b Use mips/varargs.h. 1999-02-17 14:13:42 +00:00
hubertf aa4a217d1c RCS ID police 1999-02-15 04:36:33 +00:00
hubertf 100778d54a RCS ID police 1999-02-15 04:25:28 +00:00
tsubai 31101d57ec Add missing backslash. 1999-02-12 18:13:12 +00:00
mycroft 2a304686e6 Minor cleanup.
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
tv e07978e871 Split the "mips" MACHINE_ARCH for 1.4. newsmips is "mipseb"; pmax is
"mipsel".
1999-02-09 17:15:51 +00:00
mycroft be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
nisimura 52bd8c333b - Nuke USPACE for now-defunct 'nullproc' pcb (8KB saving). 1999-02-01 00:32:18 +00:00
castor d0ca7993a0 Remove genpubasym.cf stuff 1999-01-31 01:01:12 +00:00
mycroft 3e6e3322d8 Format consistency. 1999-01-24 12:56:51 +00:00
mycroft 56934caa9d Use mips/stdarg.h. 1999-01-22 14:13:10 +00:00
nisimura 358a8c3092 - Add two macros to deal with a recent change in mips/trap.c. 1999-01-16 08:26:24 +00:00