agc
ac649ec457
When reading the PLIST file, don't abort everything if you don't
...
recognise an '@' command - just flag the line as being unrecognised,
and move to the next line.
1998-03-27 12:16:26 +00:00
jtc
6351dbac24
Rename initialization and termination functions from __init() and
...
__fini() to _init() and _fini(). The linker sets the DT_INIT and
DT_FINI .dynamic section entries based on the latter names.
1998-03-27 09:11:33 +00:00
scottr
a1c2154bd6
Add (commented out) ALTXBUTTONS option.
1998-03-27 06:12:32 +00:00
scottr
57191652f3
Don't map Opt-{1,2,3} to mouse buttons unless the ALTXBUTTONS option is
...
specified. (Doing so breaks German keyboards!) Fixes PR 4929.
1998-03-27 06:10:54 +00:00
cgd
066f971d37
copy from libc:
...
limits.h if user-land, machine/limits.h if kernel or standalone
1998-03-27 05:35:47 +00:00
cgd
4da39bc7c1
limits.h if user-land, machine/limits.h if kernel or standalone
1998-03-27 05:34:15 +00:00
hubertf
babf21e12e
Update usage string for [-cs]; pointed out by Soren S. Jorvang <soren@t.dk>
1998-03-27 02:40:38 +00:00
thorpej
b436157e65
Make proc0 use the statically-allocate vmspace0 again, and make it use
...
the kernel's pmap, since proc0 (and other that share its address space)
are kernel-only processes, and should never contain userspace mappings.
This makes it easier to detect errors, like entering user mappings
for kernel processes, in pmap modules, and makes some sense, considering
that kernel processes are really just "thread contexts" for the kernel.
1998-03-27 01:52:01 +00:00
thorpej
b65c510879
Split uvmspace_alloc() into uvmspace_alloc() and uvmspace_init(). The latter
...
can be used for initializing a pre-allocated vmspace.
1998-03-27 01:47:06 +00:00
thorpej
6e89972d82
Split vmspace_alloc() into vmspace_alloc() and vmspace_init(). The latter
...
can be used for initializing a pre-allocated vmspace.
1998-03-27 01:46:20 +00:00
cgd
b3d285e625
add -nostdinc to CPPFLAGS, so that /usr/include won't be used
1998-03-27 01:32:53 +00:00
cgd
33b3e7101b
sync with libc
1998-03-27 01:29:58 +00:00
cgd
e989882802
add bcopy.c to KSRCS, to sync with charles's libkern changes
1998-03-27 01:29:47 +00:00
ross
2ce8cda3e5
Get rid of a /* in a comment.
1998-03-27 01:17:18 +00:00
cgd
da6ee39cde
copy from src/lib/libz:
...
if _STANDALONE or _KERNEL, don't include standard headers and pull
in libkern.h instead. (That doesn't even appear to be necessary,
but it's the 'standard' thing to do.)
1998-03-27 01:11:07 +00:00
cgd
d376f961fd
if _STANDALONE or _KERNEL, don't include standard headers and pull
...
in libkern.h instead. (That doesn't even appear to be necessary,
but it's the 'standard' thing to do.)
1998-03-27 01:10:43 +00:00
cgd
72a24defa2
use machine/limits.h if _KERNEL or _STANDALONE
1998-03-27 01:01:54 +00:00
thorpej
b1e15c2005
Add some robustness to pmap_alloc_physpage(): Instead of panic'ing if
...
we can't get a page, find an inactive pmap and pmap_collect() it,
freeing up a few pages. Go ahead and die if we can't allocate a page
after 5 tries.
1998-03-27 00:52:43 +00:00
sakamoto
2467110095
Change commented out default baudrate(38400 to 9600) of serial console.
1998-03-27 00:11:07 +00:00
sakamoto
94a783a350
allow use of new wscons code.
1998-03-27 00:07:53 +00:00
cgd
372e996fc3
when deciding whether to use standard system include files or libkern.h,
...
check _STANDALONE as well as _KERNEL. _KERNEL is incorrect for use when
building boot blocks, and it looks like the rest of the code is already
using _STANDALONE for this purpose.
1998-03-26 23:53:36 +00:00
cgd
ef8dc9789a
don't actually compile any code if building in a _STANDALONE environment
...
(e.g. libkern for boot blocks), since profiling support doesn't make
sense there.
1998-03-26 23:52:38 +00:00
sakamoto
f9133e686e
Change default console. pc -> wscons
1998-03-26 23:51:08 +00:00
sakamoto
6143f6a20e
Allow to use the new VGA and keyboard controller drivers as console
1998-03-26 23:45:59 +00:00
sakamoto
a46fb646ee
add entries for the new wscons stuff
1998-03-26 23:43:43 +00:00
sakamoto
a81efa33bc
tell drivers that this port knows about the new wscons code
...
(and generates the NWSCONS etc include files)
1998-03-26 23:42:53 +00:00
sakamoto
3334a0d040
Add bus_space_copy_region_N().
1998-03-26 23:41:51 +00:00
mycroft
ab8a4c5234
Allow a non-RTLD_GLOBAL object to refer to symbols in itself.
1998-03-26 23:33:12 +00:00
thorpej
b86884a71a
Give pmap_collect() some substance: when called, a process is being
...
swapped out, so remove all of the physical mappings the process has
in order to free up the page table pages.
Since the pmap module is allowed to "forget" mappings, pmap_collect()
may be called in other situations where the memory situation is desperate,
although it's more likely that the pages will simply be needed again the
next time a process runs.
1998-03-26 22:18:36 +00:00
chuck
db81cc9c76
update per-process rusage fault counters (ru_majflt/ru_minflt) under UVM
1998-03-26 21:50:14 +00:00
chuck
3d3a01805a
correctly count ru_majflt. the fix pulled in from pr#1397 is incorrect.
...
calling vm_pager_get() doesn't count as a "majflt" unless the pager
returns VM_PAGER_OK. when walking an object chain we can get VM_PAGER_FAIL
(indicating that the requested data does not reside in this object
and we must continue to walk the chain) -- we don't want to count this
as a majflt.
i also added code to count ru_minflt.
1998-03-26 21:41:16 +00:00
mark
653457f11b
Remove the variable oldtm from diagnostic printf() statement as this
...
variable no longer exists.
1998-03-26 21:27:12 +00:00
mark
35dc347724
Bring this more up to date.
1998-03-26 20:43:02 +00:00
mark
8003976152
The ehbug option is dead now the etherH driver has been replaced with
...
an NE2000 attachment.
1998-03-26 20:42:34 +00:00
mark
cd0f9898b5
Fix problems with microsecond timestamping in microtime().
...
Remove some old dead code.
1998-03-26 20:07:18 +00:00
mark
26634e5f83
Cleaned up the IOMD access macros.
1998-03-26 20:05:49 +00:00
mark
6fa49296d7
Include machine/asm.h. Removed un-necessary .req directives. Use the
...
ENTRY() macro for declaring function entry points.
1998-03-26 20:05:13 +00:00
mark
c6b5400405
Add a couple of missing brackets in the arm_byte_to_page and
...
arm_page_to_byte macros.
1998-03-26 19:57:13 +00:00
mark
47ec7dab23
This file is no longer included by anything and is out of date. All
...
podule definitions can be found in the podulebus subdirectory.
1998-03-26 19:55:53 +00:00
chuck
5f8c3edfed
add pmap_dump as a DEBUG function
1998-03-26 19:49:51 +00:00
christos
f46f2d693e
PR/5210: Hauke Fath: make core dumps with .SHELL
...
Unfortunately this revealed a deeper problem with the brk_string code.
To fix it:
- remove sharing of the buffer between brk_string invocations
- change the semantics of brk_string so that the argument array
starts with 0, and return the buffer where the strings are
stored
1998-03-26 19:20:36 +00:00
thorpej
531db9e0d3
Sanity check the virtual addresses in the kernel and non-kernel cases
...
of pmap_enter() (and pmap_kenter_*()). Remove diagnostic check for
kernel pmap in pmap_alloc_asn().
1998-03-26 19:06:28 +00:00
thorpej
040f7cbc70
Remove references to pmap.old.h - It should have just been pmap.h, but
...
that isn't necessary, either, since <vm/vm.h> is already included.
1998-03-26 18:17:13 +00:00
pk
f3d6050987
Typo in initial interrupt register mapping code.
1998-03-26 16:11:40 +00:00
tv
eae870f3f6
PR #3512 by Ty Sarna: add parsing of ${RCS_LOCALID} make variable to set
...
the local id. This matches the variable used in the cvs-current pkg and
the (unsubmitted, but used by third parties) rcs-5.7 pkg.
1998-03-26 13:56:42 +00:00
tsubai
3ff4af3e9e
Add MIPS_INT_MASK_FPU definition and remove unnecessary code.
1998-03-26 13:15:01 +00:00
jonathan
6b2d0fa8a0
* Create /sys/arch/mips/include/intr.h, with extern declaration of
...
interrupt-callout vector from mips locore dispatch code to port code.
* Move branch-emulation declaration to mips/include/trap.h.
* Garbage-collect pmax/pmax/trap.h.
Not needed now pmax/pmax_trap.c is gone, and after above tidy-up.
1998-03-26 12:46:33 +00:00
jonathan
01be9f533f
Add extern declaration of old "systype" global variable holding model type,
...
until all pmax code uses platform support.
1998-03-26 11:44:28 +00:00
jonathan
4d3f17a9f7
Garbage-collect oldstyle model-select options from GENERIC.
1998-03-26 11:35:42 +00:00
jonathan
9376fa1a1b
Commit MIPS_INT_MASK_FPU change: use MD symbol to check for pending FPU
...
interrupts.
1998-03-26 09:21:05 +00:00