soren
5f168212c9
Fix typo.
2000-03-24 21:25:32 +00:00
thorpej
7b918b4088
New callout mechanism with two major improvements over the old
...
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
resource allocation.
- Insertion and removal of callouts is constant time, important as
this facility is used quite a lot in the kernel.
The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
onoe
ba09a212c8
renamed the variable $NEWS to $NEWSMIPS.
2000-03-22 10:39:25 +00:00
onoe
3260e7d0f6
Use $S ($NEWS) for kern.ldscript instead of relative path
...
so that "build" directive or -b option of config(8) works.
2000-03-22 10:22:37 +00:00
tron
e86957458a
Install "machineendian_machdep.h".
2000-03-17 22:36:31 +00:00
mycroft
9e21b6555a
In the `MY THAT'S GROSS' department...
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
oster
1bad2e1909
Add the RAIDframe device major to the machine-dependent config files
...
so that the right entries get added to dev_name2blk[]. Needed for / on RAID.
(Whoops! I missed checking these in when adding the RAID_AUTOCONFIG stuff.)
2000-03-14 15:56:51 +00:00
tsutsui
d9d840d522
- Remove unnecessary prototype declaration of readdisklabel().
...
- Use DISKPART/DISKMINOR/DISKUNIT instead of dkpart/dkminor/dkunit.
2000-03-07 15:35:42 +00:00
thorpej
a183d34f04
- Implement cnbell() -- ring the console bell. The cn_bell entrypoint
...
is optional.
- Add cn_bell to statically allocated consdevs as appropriate.
2000-03-06 21:36:05 +00:00
tsubai
4c75cb9b65
INSTALL kernel config.
2000-03-04 19:30:17 +00:00
nisimura
3c5d39d73b
Make clearer a bit how proc0's USPACE is intialized.
2000-03-03 08:36:20 +00:00
simonb
4eb55e447c
Do the "<space><tab>" thing with the RAID_AUTOCONFIG option.
2000-02-29 06:32:20 +00:00
oster
d9c47013b2
Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
...
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
mycroft
14ef93565d
Use the prefix printed before cpuattach() is called.
2000-02-19 03:59:04 +00:00
thorpej
5903e181fa
Nuke NKMEMCLUSTERS.
2000-02-12 03:29:18 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +00:00
tron
04eb110431
Add "dependall" target for comfort.
2000-01-24 20:36:06 +00:00
hubertf
7e5ff67457
Add commented out "ident"-command
2000-01-23 23:46:04 +00:00
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
thorpej
8922647c58
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
1999-01-15 23:37:05 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
castor
45a22daf10
allow generated kernel includes and support mips pubassym.cf mechanism
1999-01-15 10:57:36 +00:00
castor
c729b2ffeb
add support for locore_mips[13].S
1999-01-15 10:33:11 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
tsubai
468355c5f0
Make configurable with no frame buffer.
1998-12-26 00:53:49 +00:00
mjacob
74bc9f26d5
Update HBAs to incorporate the new max_lun property.
1998-12-05 19:43:33 +00:00
hwr
59acb69be1
Add (commented out) 'gre' pseudo device line. Feedback is welcome.
...
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
tsubai
13a8c73bb6
Flush write buffer in ZS_DELAY().
1998-11-21 14:57:59 +00:00
thorpej
5f0577babc
Adapt to the new scsipi_adapter interface.
1998-11-19 21:43:00 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
tsubai
b3e8f6e5fe
Enable UVM by default.
1998-11-16 12:21:30 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
29d472f53d
Garbage-collect the open_target_lu and close_target_lu entry points from
...
struct scsipi_adapter; they were not used.
Add a scsipi_ioctl entry point to struct scsipi_adapter. This will be
used to issue ioctl commands to the host adapters.
Inspired by PR #6090 , from Matt Jacob.
1998-10-10 00:28:28 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
erh
3c2e2c8622
This should need opt_execfmt.h.
1998-09-28 23:42:48 +00:00
jonathan
a4f0d3aef0
Add splx_end label to splx(), for stack traceback code.
1998-09-11 17:37:46 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
tsubai
f8aa472811
* Remove nam2blk.
...
* Clean up a bit.
1998-09-03 13:18:44 +00:00
tsubai
a890d2dd7f
Add MD DELAY and spl routines to fit Nisimura's change.
1998-08-26 12:07:21 +00:00
tsubai
5a294dbb55
Add missing "-a" to mkdep line for locore_machdep.S.
1998-08-21 16:24:25 +00:00
tsubai
f6dcf3f9c6
Change vm_offset_t to [pv]addr_t.
1998-08-21 14:52:29 +00:00
tsubai
5bcec15811
Add #ifdef DDB around Debugger();
1998-08-21 14:07:03 +00:00
tsubai
057ca9bfe1
No longer used.
1998-08-21 13:22:25 +00:00
tsubai
5617a263e0
Correctly initialize scb struct.
1998-08-21 13:19:43 +00:00
tsubai
04e498dae6
Change from "-G 0" to "-G0" for egcs.
1998-07-22 19:59:21 +00:00
drochner
49bb9d8214
adapt to LANCE driver split
1998-07-21 17:36:01 +00:00