minoura
e8a82e3d7e
Do not reset SCSI bus.
1999-11-18 15:03:03 +00:00
minoura
8ae197322f
Sync w/ GENERIC (options SOFTDEP).
...
Add IPv6 options to ALL.
1999-11-18 14:09:40 +00:00
minoura
b799f7bb46
Remove MAPPEDCOPY (somewhat buggy?).
1999-11-18 14:08:24 +00:00
itohy
02ebc9e4d4
Support conversion from ELF, as well as from a.out.
1999-11-16 00:48:11 +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
minoura
1a29be4d0c
Increase ramdisk size.
1999-11-13 14:19:46 +00:00
thorpej
1946167939
Update for pmap_enter() API change. No functional difference.
1999-11-13 00:30:26 +00:00
itohy
de6b762004
Make X680x0 IOCS library build on ELF toolchain.
1999-11-11 08:16:20 +00:00
itohy
59c36c2cb6
Make Human68k DOS library build on ELF toolchain.
1999-11-11 08:14:43 +00:00
itohy
fcc45340da
Make it build on ELF toolchain.
1999-11-11 08:12:50 +00:00
kleink
1c2019b5a8
Rip protection against multiple inclusion from wrapper headers.
1999-11-09 21:34:03 +00:00
itohy
cef3e31058
Fix the problem that single-step tracing of a trap instruction
...
drops the system into kernel debugger.
1999-10-26 00:20:34 +00:00
thorpej
e6c88a7686
Update for SCSIPI changes.
1999-09-30 22:59:52 +00:00
minoura
8da8dfb94f
Could not compile w/ options M68060.
...
Supply -m68030 and -m68851 to the assembler.
1999-09-24 15:31:52 +00:00
minoura
75c422ec6c
Use m68k common cacheops.c.
1999-09-23 15:24:34 +00:00
minoura
be7984a052
First step toward network boot.
...
By Takeshi Nakayama <tn@catvmics.ne.jp>.
1999-09-23 15:14:57 +00:00
minoura
536a2060af
Protect some declarations by #ifdef _KERNEL.
1999-09-23 15:06:37 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
minoura
15a7aff6f8
Sync (hp300).
1999-09-16 14:40:21 +00:00
minoura
da2dab0c10
Finish PMAP_NEW.
...
- Wrong argument to pmap_kremove (vm_machdep.c:pagemove()).
- Uninitialized variable (pmap.c:pmap_kremove <- this should be fixed long ago...)
1999-09-16 14:35:42 +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
simonb
06a92524c2
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
...
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +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
minoura
e89db1c459
Make use of _C_LABEL and other macros in m68k/asm.h.
1999-08-05 15:58:17 +00:00
minoura
74431c5ae2
IPv6 options from GENERIC.v6.
1999-08-05 15:05:56 +00:00
minoura
e0a8602baf
Install kernel should not require COMPAT_14.
1999-08-05 15:05:11 +00:00
minoura
e684a9ad5b
Sync.
1999-08-05 15:04:38 +00:00
thorpej
6489500f0a
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:43:04 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
itohy
5d4686cb63
Fix typo in comment.
1999-07-29 08:19:55 +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
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
thorpej
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
thorpej
c4d8d19db9
pseudo-device -> defpseudo, per grammar change in config(8).
1999-07-07 00:05:28 +00:00
minoura
15a60b5359
Enable mboot.
1999-07-04 04:39:12 +00:00
minoura
208ba460f2
SCSI primary boot program and its installer.
1999-07-04 04:38:54 +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
minoura
6895a21734
Correct imbalance #if.
1999-06-28 15:35:04 +00:00
itojun
427639cdce
- Call ip6intr if INET6 is defined.
...
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.
This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
minoura
1330797741
Restore scroll registers after X server exits.
1999-06-27 14:14:30 +00:00
minoura
c88662958f
include sys/resourcevar.h to be compiled.
1999-06-27 14:13:14 +00:00
minoura
b749d34eb9
I forgot to commit this.
1999-06-23 15:20:36 +00:00
minoura
170b78e476
Reduce TLB operations.
1999-06-18 14:27:09 +00:00
thorpej
9e9f068f43
Add the guts of mlockall(MCL_FUTURE). This requires that a process's
...
"memlock" resource limit to uvm_mmap(). Update all calls accordingly.
1999-06-18 05:13:45 +00:00
thorpej
0288ffb53a
pmap_change_wiring() -> pmap_unwire().
1999-06-17 19:23:20 +00:00
thorpej
f5a527bb4e
Remove pmap_pageable(); no pmap implements it, and it is not really useful,
...
because pmap_enter()/pmap_change_wiring() (soon to be pmap_unwire())
communicate the information in greater detail.
1999-06-17 18:21:21 +00:00
thorpej
602d8e81f7
Don't (ab)use uvm_map_pageable() to allocate PT pages. Instead, do
...
some internal reference counting on PT pages. We still allocate them
with the page fault routine (a wire-fault, now), but no longer free
PT pages from pmap_pageable().
1999-06-15 22:18:07 +00:00
minoura
cd06c07723
Check file open mode at ioctl.
...
Add debug option SRAM_DEBUG_DONTDOIT.
1999-06-15 15:04:56 +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
minoura
bb1f24c221
Could not be compiled without PMAP_NEW.
1999-06-03 14:43:33 +00:00
minoura
db782f7c11
First attempt to implement PMAP_NEW interface.
...
The code was mostly written before the pmap_k* inconsistency fixes.
Work around might still remain. Should be removed.
1999-05-31 14:39:13 +00:00
thorpej
beb8d06638
Generally update the comment above vunmapbuf().
1999-05-26 22:19:33 +00:00
thorpej
a2d06a4721
Generally update the comment above the vmapbuf() implementations.
1999-05-26 22:07:36 +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
thorpej
5832084eaf
bus_dmamem_map() maps DMA safe memory, which is usually one or more
...
managed pages, into KVA space. Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().
Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE. We do this for a couple of reasons:
(1) On systems that have H/W mod/ref attributes, the hardware
may not be able to track mod/ref done by a bus master.
(2) On systems that have to do mod/ref emulation, this prevents
a mod/ref page fault from potentially happening while in an
interrupt context, which can be problematic.
This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!
Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
minoura
f4316c1145
Tribial optimizations.
1999-05-21 15:32:38 +00:00
minoura
1567b0074d
Sync GENERIC.
1999-05-21 15:15:33 +00:00
minoura
fcb74cccfa
Remove experimental/buggy options.
1999-05-21 15:08:27 +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
minoura
6e67e063ff
Disable on-chip cache for PT and ST pages for '060 stability.
1999-05-19 14:06:59 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
nisimura
7a50b38cbd
- Adjust descriptive comment of cpu_fork() which returns nothing and
...
returns once.
- Minor fixes in mips/vm_machdep.c.
1999-05-14 02:11:59 +00:00
thorpej
c10a926030
Allow the caller to specify a stack for the child process. If NULL,
...
the child inherits the stack pointer from the parent (traditional
behavior). Like the signal stack, the stack area is secified as
a low address and a size; machine-dependent code accounts for stack
direction.
This is required for clone(2).
1999-05-13 21:58:32 +00:00
minoura
d1954679df
Missing #if for 060.
1999-05-13 14:24:27 +00:00
minoura
40594d5dfa
060 is much faster than Chuck thought according to Ken Midorikawa
...
<k-mid@msg.biglobe.ne.jp>
Print both the core clock and the bus clock on 040/060 machines.
1999-05-13 14:23:42 +00:00
kleink
6290fed1b6
SVR4-related typo in previous.
1999-05-06 14:16:07 +00:00
minoura
db3bdbe86c
Shut up gcc -Wall.
1999-05-05 14:31:16 +00:00
minoura
ad762a0b97
Use mvme68k-derived delay routine.
...
Now that we support various models, the old constant-loop delay routine
may cause problems.
1999-05-05 13:46:20 +00:00
minoura
3fe3e5261b
Add missing ia_size argument.
1999-05-05 13:41:44 +00:00
minoura
7cebd447fb
Move config_console to ensure that it is always called.
1999-05-05 13:41:19 +00:00
minoura
63a9944d93
mem_exists was called with wrong 2nd argument.
...
Because of this, >12MB high memory was not detected.
1999-05-05 13:38:51 +00:00
christos
ef6e15ad0e
Include opt_compat_sunos.h
1999-04-30 16:50:44 +00:00
minoura
ed3c676245
Branch address was wrong.
1999-04-30 15:31:18 +00:00
kleink
e1529b8f93
Pull in the right generic m68k header. (Where was my mind?)
1999-04-29 14:38:39 +00:00
minoura
ab5806d4b8
Message cosmetics.
1999-04-28 16:17:42 +00:00
minoura
ea485e0d51
Handle fpunimp properly for fpu_emulate.
1999-04-28 16:16:58 +00:00
thorpej
b8073b401b
Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
...
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
simonb
5d8b1ef3e4
g/c REAL_CLISTS.
1999-04-25 02:56:26 +00:00
minoura
43d6c498cc
I deleted a necessary line by mistake.
1999-04-22 16:22:49 +00:00
minoura
f9afee1b29
Bus error occurred on such machines without the SCSI ROM.
...
Insert badaddr() check before read the ROM.
1999-04-22 12:55:53 +00:00
chs
05b971dd5f
in pmap_pageable(), rather than marking a PT page as not modified
...
to trick the pagedaemon into freeing it later, just unmap the page
and free it immediately. fixes PR 7337.
1999-04-22 04:24:52 +00:00
kleink
ed74932033
Add COMPAT_SVR4 for m68k.
1999-04-19 21:22:56 +00:00
minoura
35d1114201
Add missing par0.
1999-04-18 15:43:21 +00:00
minoura
26b74e1082
Handle T_ILLINST in kernel mode.
...
This occurs in fpu_probe() when the FPU is not installed on the system.
Because of this, FPU_EMULATE wouldn't work at all.
1999-04-18 14:39:10 +00:00
minoura
4fcf23e9b0
Handle F line emulation correctly when FPU_EMULATE is enabled.
1999-04-18 14:37:09 +00:00
minoura
8eb1fd77e9
Do not memcpy to the bouncebuffer in datain.
1999-04-18 00:38:58 +00:00
minoura
bb2c24d761
More size hacks. We can now run the installer on 4MB machines.
1999-04-14 14:13:11 +00:00
minoura
c12f6d6d4b
Reduce the kernel size.
...
- Disable many options and devices which is not required to install.
- Decrease the MINIROOTSIZE to fit with the actual embedded image.
1999-04-12 16:11:53 +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
minoura
6733198ebd
Fix the startup message.
...
attach_hook is now called without "mdX: " prefix.
1999-04-09 15:41:15 +00:00
minoura
eb2c78dd2d
Typo.
1999-04-01 14:11:21 +00:00
thorpej
967b8c433c
Don't call configure() from cpu_startup().
1999-04-01 00:17:45 +00:00
minoura
35b6e71f52
Enable rnd.
1999-03-31 15:38:32 +00:00