mycroft
7b15b3b56d
Minor change.
1998-09-13 12:01:41 +00:00
scw
a84a67440f
vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
...
While I'm here, expunge use of 'register' storage class.
1998-08-22 10:55:33 +00:00
scw
aec399e36f
Changes to keep lint happy.
...
In particular, fix some Makefiles so the include
paths are passed to lint.
1998-08-01 11:22:51 +00:00
veego
1b46ebe1d9
Add elf_machdep.h to the INCS list.
1998-07-12 17:53:29 +00:00
thorpej
639cc899cf
Basic elf_machdep.h for m68k; doesn't include relocations, yet.
1998-07-12 01:17:58 +00:00
thorpej
6fa49323d7
Put VMEbus RAM on a lower priority free list, since it's much slower (because
...
the MVME-147 doesn't cache access to any VMEbus space).
1998-07-08 04:40:28 +00:00
cgd
651b44e211
Rework the way kernel include files are installed. In the new method,
...
as with user-land programs, include files are installed by each directory
in the tree that has includes to install. (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change. Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
thorpej
c0cfbf8d7d
Make MACHINE_NEW_NONCONTIG non-optional.
1998-03-18 07:07:11 +00:00
scw
d38d12d85a
Whoops, cgd's pmap_map change got lost! Put it back.
1998-02-21 19:22:00 +00:00
scw
0e88177c0b
Implement changes for MACHINE_NEW_NONCONTIG and UVM.
1998-02-21 19:03:25 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
scottr
f49dd3ef30
Avoid declaring the "astpending" and "want_resched" globals in cpu.h,
...
as this breaks C++ code that happens to indirectly include this header.
Both Matthias Scheler and I noticed this, independently.
This problem notably does not affect the atari and sun3/sun3x ports,
which have already implemented a similar solution.
1998-02-13 07:41:45 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
perry
6f57e5c573
multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
1998-01-09 22:23:44 +00:00
thorpej
61567b54de
Garbage-collect pm_stchanged; it's not used by anything.
1998-01-06 07:02:58 +00:00
thorpej
d11b109f2b
Garbage-collect use of the PCB's copy of the user segment table pointer.
1998-01-06 06:51:40 +00:00
thorpej
b9f1b716f3
Now that all ports have pmap_activate(), and it has an identical interface,
...
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej
dd966fca05
Change an argument name to PMAP_ACTIVATE() to more accurately describe the
...
semantics of the argument.
1998-01-01 20:05:23 +00:00
thorpej
287b63b321
- Make pmap_activate() and pmap_deactivate() take a struct proc *.
...
- Define active_user_pmap() and use it in the appropriate places (from hp300
port).
1998-01-01 19:52:50 +00:00
thorpej
6e1637f157
asm volatile -> __asm__ __volatile
1997-11-05 04:05:00 +00:00
scw
01e0c4c896
Move MACHINE_NONCONTIG from std.mvme68k to <machine/vmparam.h> as per
...
Jason's request.
1997-10-12 15:39:35 +00:00
scw
2dde7e366d
Added support for VMEbus RAM cards via MACHINE_NONCONTIG.
...
The kernel should still compile and run without it, but I've
put the config option in std.mvme68k so it's built like this
as standard.
1997-10-09 21:39:16 +00:00
leo
ef6f3f7e25
Move the definition of MSGBUFSIZE up to the machine-arch level if
...
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:08:24 +00:00
leo
d4713d24c2
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
perry
ad1710ce1e
update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
1997-07-12 16:18:36 +00:00
veego
1450ec3f1b
Restore the define of NPTEPG.
1997-07-10 08:23:03 +00:00
scw
b471de3926
Deleted m68k_round_seg and m68k_trunc_seg. They're in common m68k/param.h now.
1997-06-21 11:05:34 +00:00
mrg
dc6a98e92c
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:09:23 +00:00
veego
6304388ee4
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 18:47:21 +00:00
veego
931d90fcee
Use the MI <m68k/param.h> include.
1997-06-10 07:54:35 +00:00
thorpej
6649814b0e
Machine-dependent crash dump header - just pulls in <m68k/kcore.h>
1997-04-25 01:45:31 +00:00
gwr
5485e1ff75
Need a common <m68k/pcb.h> for gdb.
1997-03-31 21:39:51 +00:00
thorpej
73a0fb50d2
Get rid of __BDEVSW_DUMP_OLD_TYPE and __BROKEN_INDIRECT_CONFIG.
1997-03-18 21:17:18 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
thorpej
0e3acd811d
bootdv -> booted_device
1997-01-31 01:53:06 +00:00
gwr
55d81fe0c2
Adapt to the new version of dev/ic/z8530*
...
(Note: now define zsc_softc here.)
1996-12-17 22:26:07 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
christos
e37692f04d
backout previous kprintf change
1996-10-13 03:29:05 +00:00
christos
9beb92aad7
printf -> kprintf, sprintf -> ksprintf
1996-10-10 23:32:59 +00:00
cgd
e36e19cf1e
repoint at shared aout_machdep.h, not exec.h
1996-10-08 13:07:26 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
thorpej
feb8b586ed
Do the extern song and dance.
1996-09-12 06:14:04 +00:00
thorpej
399b0e0f68
- Use MVME "machine options" to associate MVME models with CPU
...
options (a'la the hp300 port).
- Declare a "machineid" extern.
- Define constants for machineid, which match the Bug's idea
of MVME model numbers.
1996-09-12 05:26:37 +00:00
thorpej
054bd4e4d0
Prototype badaddr().
1996-09-12 05:01:47 +00:00
thorpej
a437d4f6cb
Use <m68k/cpu.h>.
1996-09-11 00:23:47 +00:00
thorpej
de5110f41e
Use <m68k/exec.h>.
1996-09-08 01:00:35 +00:00
thorpej
0794023752
RCS id police.
1996-08-30 17:43:56 +00:00
chuck
ac46d3b779
add to fix boot generic problem
1996-05-29 02:32:21 +00:00
chuck
208aa439bf
move rb_nosym/rb_sboot here
1996-05-19 20:08:55 +00:00
chuck
0f68df580b
import Theo's prom.h from OpenBSD. includes my recent changes.
1996-05-16 17:55:54 +00:00
chuck
6c21c38077
add some comments to explain what is going on here
...
also add enough info to enable the kernel to create
a valid disklabel without help from wrtvid.
1996-05-16 17:52:51 +00:00
chuck
3b6dd2f647
change maxpart to 8 to be compat with prev binaries
1996-05-07 23:23:34 +00:00
chuck
81fc59565a
cpu.h: add prototypes (from jason)
...
disklabel.h: new disklabel format (from Dale Rahn)
param.h: new delay stuff (from sun3 port)
vmparam.h: nuke eiomap for new autoconfig (from jason)
z8530var.h: for MI driver (from jason)
1996-04-26 19:40:53 +00:00
chuck
4d91dc7c18
pull in ieeefp.h from m68k common area
1996-04-12 18:38:00 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
cgd
1c5d7babe5
Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE.
1996-03-01 23:30:08 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
mycroft
ce000f04ef
Remove deprecated cpu_setstack().
1995-12-21 05:01:32 +00:00
mycroft
6cc376290b
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:27:11 +00:00
chuck
0b036e11bf
mvme68k port -- for the motorola vme147 m68030 card
1995-07-25 23:11:53 +00:00