matthias
781cd59dd4
* Enlarge kernel virtual memory space. The pc532 kernel now runs at
...
0xf8000000. When the kernel was running at 0xfe000000, the INSTALL
kernel would not run on a 32mb machine.
1996-12-07 09:24:37 +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
jtc
9da5f60715
PROF -> GPROF
1996-11-30 02:48:57 +00:00
matthias
58dc92f52e
* Prototyping tweaks.
...
* Changes to support the new softint mechanism.
1996-11-24 13:34:45 +00:00
matthias
591a6794e2
* A few changes to support the new softint mechanism.
1996-11-24 13:34:44 +00:00
matthias
9f82b6d4d1
* New file. Defines the structure describing config arguments passed to
...
match/attach functions.
1996-11-24 13:34:42 +00:00
jtc
16b48272c4
Define _BSD_CLOCKID_T_ and _BSD_TIMER_T_
1996-11-15 22:38:45 +00:00
matthias
a95805b41f
* Define the ALTENTRY macro.
1996-11-07 07:33:28 +00:00
matthias
1a81564477
* Declare reserve_dumppages and pmap_activate.
1996-10-23 07:30:57 +00:00
matthias
1731660b98
* Declare kvtop.
1996-10-23 07:30:54 +00:00
christos
7c9b908394
use in_addr_t and in_port_t
1996-10-13 03:12:38 +00:00
matthias
f8c337b300
* Remove intr_disable/intr_enable stuff.
...
* Reduce softint latency.
1996-10-09 07:28:52 +00:00
matthias
f673492195
* redefine MAXPHYS to 128k to support DAT-tapes with a
...
very large blocksize.
1996-10-09 07:28:50 +00:00
matthias
b5542a0938
* The expression to which ICU_CLK_HZ is defined has to be
...
protected by parentheses.
1996-10-09 07:28:47 +00:00
matthias
0a6d52bb21
* Make it work for NetBSD (and not mach). Most of
...
this was done by Phil Budne.
* Delete unused macros.
* Define a few things to support kgdb.
1996-10-09 07:28:44 +00:00
matthias
b1bd20fbe2
* Delete define for DELAY.
...
* Add prototype for delay()
* Add prototypes for functions from various
machine dependent files.
1996-10-09 07:28:43 +00:00
matthias
1ebd4878ae
* Include profiling prologue not only when PROF is
...
defined but also when GPROF is defined.
* Provide _ENTRY and _ASENTRY to make it possible to
define functions that should not be profiled.
1996-10-09 07:28:40 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
phil
dba4d32f68
Initial check-in of the ieee fp support for the pc532.
...
ieee fp support by Ian Dall, NetBSD/pc532 integration by Matthias Pfaller.
Includes setjmp/longjmp added to locore.s.
1996-04-04 06:36:03 +00:00
phil
e7b9b54ea3
Remove __SWAP_BROKEN.
1996-03-28 04:53:17 +00:00
jtc
2ce5f1478b
Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1.
1996-03-16 01:31:45 +00:00
phil
6d5bf6a3ea
Support for move to MI ncr5380 driver.
1996-03-11 20:56:48 +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
christos
b3666297b1
Oops, meant to delete the declaration completely.
1996-02-12 21:28:18 +00:00
christos
a9996b4780
pmap_page_index returns int
1996-02-12 21:27:32 +00:00
mycroft
9d9a70a5a2
Fix #includes.
1996-02-02 18:05:36 +00:00
mycroft
88e512b693
LOCORE -> _LOCORE
1996-02-01 22:28:24 +00:00
phil
63d5234cbf
Integration of many changes from Matthias Pfaller plus some of mine.
...
Several had: _MACHINE_ICU_H_ -> _NS32K_ICU_H_
cpu.h * Removed definition of cpu_swapout.
* Added definition of cpu_wait.
frame.h * added struct switchframe
icu.h * tweeked ints_off
param.h * More derived constants.
* Alot of things taken over from i386/include/param.h.
pcb.h * Removed pcb_flags (was unused) and pcb_pl.
The current priority level is now stored
in the switch frame by cpu_switch.
pmap.h * Taken over from i386/include/pmap.h.
psl.h * Add USERMODE definition
trap.h * T_INTERRUPT -> T_AST
types.h * Remove __FORK_BRAINDAMAGE
vmparam.h * Taken over from i386/include/vmparam.h.
Added definition of INTSTACK.
1996-02-01 00:03:25 +00:00
phil
9b68d7d99e
Clean up of some assembly files.
1996-01-26 08:10:10 +00:00
phil
6bffbf4ca9
New file needed for Matthias Pfaller rework of pmap.c to sync it with
...
the 386 version.
1996-01-26 08:06:40 +00:00
phil
45d22f23ed
New file from Matthias Pfaller.
1996-01-26 05:37:16 +00:00
mycroft
cd8fe86bcb
Make the type of __builtin_va_list a long.
1995-12-26 01:16:24 +00:00
mycroft
0c00214737
Use __builtin_va_alist.
1995-12-26 00:19:09 +00:00
mycroft
fa887628d8
Stylistic changes.
1995-12-25 23:15:31 +00:00
mycroft
d1de691efb
Stylistic changes.
1995-12-25 22:22:02 +00:00
mycroft
0199e002ad
Update for GCC 2.7, and fix bugs.
1995-12-25 21:41:08 +00:00
mycroft
292120bf63
Define __FORK_BRAINDAMAGE.
1995-12-09 04:41:41 +00:00
phil
03fa08025b
Major update: Many changes from Matthias Pfaller.
...
* conf/DEFAULT: new file, default install kernel
* conf/INSTALL: +MSDOSFS, +NO_INLINE_SPLX, +RD_SIZE=2mb, +scn4/5
* conf/KLONDIKE: cosmetic changes
* conf/STEELHEAD: cosmetic changes
* conf/files.pc532: rd got a file of it's own
* dev/lpt.c: changes to support lower interrupt latency, packet input/output
is now done at spl0
* dev/ncr.c: changes to support the most recent atari version of the ncr5380
driver
* dev/ncr5380.c, dev/ncr5380reg.h: upgraded to most recent atari version,
memcpy -> bcopy.
* dev/rd.c: ramdisk driver
* dev/scn.c: by patching scndefaultrate, the kernel's default baud rate can
be changed with gdb
* include/psl.h: struct iv now protected by !LOCORE && _KERNEL
inlining of splx can be prevented with new kernel option NO_INLINE_SPLX
splx_di is like splx but leaves processor interrupts disabled
* pc532/autoconf.c: cosmetic changes
* pc532/conf.c: with rd entries
* pc532/intr.c: changes to support splx_di
* pc532/locore.s: ramdisk is no longer initialized
not splx, but rett is now used to reenable CPU interrupts when leaving the
interrupt service routine. This is necessary to prevent recursive interrupts.
* pc532/sys_machdep.c: memcpy -> bcopy
* pc532/mem.c: moved ramdisk to dev/rd.c
* stand/Makefile: boot is now loaded at 0x3eb800 instead of 0x363800
Use current form of libsa and libkern.
* stand/inflate.c: emit twiddle every 8k and not every 1k
* stand/rd.c: ramdisk starts at 0x288000
1995-09-26 20:15:57 +00:00
phil
7ed7d6148f
Move the C struct to the properly protected place.
1995-09-22 23:19:30 +00:00
phil
d9c05825be
Changes for gdb from Matthias Pfaller.
1995-08-29 22:37:41 +00:00
phil
441cd76f8f
Changes by Matthias Pfaller for generic support and dumping.
1995-08-25 07:52:18 +00:00
mycroft
6cc376290b
Replace splnet() with splsoftnet(). Add splnet().
1995-08-13 00:27:11 +00:00
phil
dad0b0a94c
Work towards getting gdb working by Craig Ruff.
1995-07-28 08:00:17 +00:00
cgd
479fb9e45b
add <sys/cdefs.h> inclusions. namsspace-protect physadr, label_t
...
def'ns against _POSIX_SOURCE and _ANSI_SOURCE.
1995-07-06 03:39:32 +00:00
cgd
c83f9c5568
remove unused cpu_exec() definitions. moved "broken swap" markers, for
...
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
jtc
1d65cdd4ab
#include <sys/cdefs.h>.
...
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
phil
8142065452
Updating to be like i386 version.
1995-06-18 07:13:46 +00:00
phil
29db7c74b1
Changes from Matthias Pfaller: lpt driver changes, clock code similar
...
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)
1995-05-16 07:30:30 +00:00
jtc
8aa6c376b6
KERNEL -> _KERNEL
1995-05-11 16:52:54 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
jtc
ac3b1189c1
ns32k specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.).
1995-04-28 22:01:25 +00:00
jtc
7fea99983f
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-28 21:58:57 +00:00
phil
042a0e2c63
remove warnings in pmap.c
1995-04-27 07:19:09 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
jtc
71ab4ed9dc
KERNEL -> _KERNEL
1995-03-28 18:13:48 +00:00
jtc
f86410093b
Changed name of __weak_reference() to __indr_reference(). They really
...
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
phil
3a293934a9
Increase the VM limits and initial sizes limits.
1995-02-14 18:52:29 +00:00
jtc
830a53e394
ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
...
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
jtc
d7a8b2964f
Only define sig_atomic_t when _ANSI_SOURCE is defined.
1995-01-10 19:01:00 +00:00
phil
0ad6b56de9
Fix it to work correctly with weird structures.
1994-12-29 19:43:52 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
phil
51aa2cad2b
USPACE change.
1994-12-05 19:27:20 +00:00
cgd
dafacba9d5
new RCS ID format.
1994-10-26 08:23:50 +00:00
cgd
d4bf824ec2
update for new syscall args description mechanism
1994-10-20 05:17:21 +00:00
jtc
8c34217adb
The ns32k uses IEEE, not vax, floating point arithmetic.
...
Adjusted constants appropriately.
1994-10-18 00:25:27 +00:00
cgd
f501e4e128
make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.
1994-10-15 04:57:29 +00:00
cgd
49c34d3337
move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
1994-10-14 18:26:22 +00:00
jtc
badcc17a6d
Add constants required by XPG3
1994-10-05 17:16:29 +00:00
jtc
47b84c16db
asm -> __asm (PR #463 ).
1994-09-10 01:19:45 +00:00
phil
3ef27456a5
patches from Matthias Pfaller.
1994-08-01 19:32:52 +00:00
cgd
3fbc338a62
define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi
1994-07-20 05:44:19 +00:00
phil
9ccf79aae9
param.h: make #include conditional on KERNEL
...
vmparam.h: remove MINFREE ...
1994-07-01 04:25:20 +00:00
deraadt
50b13742e4
_MACHINE_VARGS_H_
1994-06-29 00:45:01 +00:00
phil
dc474fc5fe
new init
1994-05-31 21:53:31 +00:00
phil
9a848c126d
4.4 integration
1994-05-25 00:02:24 +00:00
phil
a69b1b6104
Change defines so they won't conflict with other things.
1994-05-20 06:43:46 +00:00
phil
54b24193e2
The "kitchen sink" update ... proc.h, signals, profile, setrq=>setrunqueue ...
1994-05-17 17:31:03 +00:00
cgd
9b78e48fcf
(almost) upgrade to latest versions, for phil
1994-05-17 02:12:16 +00:00
phil
cbe2aab3b2
changes for shared libs and fast ntoh*/hton* routines.
1994-05-03 07:29:37 +00:00
phil
b7685a8087
changes for shared libs ... now saving sb register (as I should have all along)
1994-04-19 17:11:16 +00:00
phil
e983a66a6c
New format for shared libs.
1994-04-17 07:53:25 +00:00
cgd
f5a57afb87
add basic integral types (a la sparc port) that new nvi wants.
1994-03-14 02:11:32 +00:00
phil
8fbd63c63c
Twiddles to keep the pc532 port compiling.
1994-02-02 08:02:45 +00:00
jtc
5235180083
Fix spelling error in Copyright notice
1994-01-28 23:43:26 +00:00
phil
cb8ca38d99
Catching up with current. Basically a new file.
1994-01-28 03:44:07 +00:00
pk
24e4cb4bad
move varargs stuff to arch/<machine>/include.
1994-01-27 00:18:18 +00:00
phil
951bc35247
added the missing semicolon.
1994-01-14 09:03:59 +00:00
phil
3a66f5a68b
New file for ptrace support. Will have something in it someday.
1994-01-14 08:12:05 +00:00
phil
06a5cd70ad
Changes for quad library and new ptrace stuff.
1994-01-14 08:09:15 +00:00
phil
424b944426
Adding MACHINE_ARCH and changing MACHINE.
1993-12-05 06:50:39 +00:00
phil
1859a602ad
Adding extra relocation information for the pc532.
1993-11-02 21:14:10 +00:00
phil
a7a10ca319
Dealing with the "broken" _VA_LIST_ stuff.
1993-10-26 07:15:56 +00:00
phil
a47d7aceed
Adding the proper stuff that I forgot. (POSIX/ANSI)
1993-10-25 06:18:47 +00:00
phil
493236e982
making the "#ifndef _MACHINE_FILE_H_" more complete and consistent.
1993-10-25 06:11:58 +00:00
pk
14e6ea89aa
Put definition of __LDPGSZ and `struct relocation_info' where they belong:
...
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
phil
b8234df3d9
Catching up with NetBSD current.
1993-10-01 23:01:01 +00:00
phil
5e277797c4
A change for new ptrace support.
1993-09-13 07:25:44 +00:00
phil
23830f084c
Getting the correct MID value.
1993-09-12 06:26:13 +00:00
phil
b8dd804aaf
Changed MID_NS32K to the correct MID_PC532.
1993-09-10 20:02:11 +00:00
phil
e401483244
Adding the src/sys/arch/pc532 tree.
1993-09-09 23:53:45 +00:00