jonathan
b2c7420e5a
Fix performance bug in pmax MachFlushDCache(). Old code disabled icache
...
and wasn't unrolled. This code runs cached and unrolled, giving an order
of magnitude improvement in some cases (e.g., DMA-capable network devices).
In use at Stanford DSG since late January 1995.
1995-04-28 23:17:51 +00:00
jonathan
026a077a5d
Check in source code actually containing changes in previous log message--
...
fixes to turbochannel-based DECstation interrupt enabling.
(I hate network firewalls that break rsh and remote CVS.)
1995-04-28 22:50:29 +00:00
jonathan
523e8bccbc
Fix hardware interrupt-mask setup in the 5k/240 (3max)+ interrupt handler.
...
(A similar fix needs to be applied to the 3min and xine handlers.
This fixes a long-standing problem when booting with a card that
wants to interrupt (e.g., a network interface) would have interrupts
enabled before a handler was set up.
Add interrupt-counting code to model-independent interrupt handler,
and 3max (5k/200) and 3max+ (5k/240) md handlers, for vmstat -i.
Similar changes for 3min and xine are obvious but not done.
Add code for 5k/240 to read, and latch, the current value of the
IOASIC bus-cycle counter at each timer interrupt. The latched
counter is needed to accurately interpolate the bus-cycle counter value
as a high-resolution clock.
1995-04-28 21:48:11 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
jonathan
07992ead4b
Add memory-mapped address of the IO ASIC TurboChannel bus-cycle counter,
...
as present on 5k/2xx and Alpha IOASICs. Older machines may or may not
have the hardware counter. To be used as a high-resolution DECstation clock.
1995-04-28 04:44:21 +00:00
jonathan
ef8023a47b
Check in changes suggested by Ralph Campbell: update variable names
...
to use turbochannel slot numbers, add a couple of extra slots, just
in case.
1995-04-28 03:10:41 +00:00
mellon
59f33bea48
Add sfb device driver
1995-04-27 20:52:39 +00:00
mellon
1992309f8b
Fix a few compat code casualties
1995-04-25 19:16:43 +00:00
mellon
3eca8117f7
Fix up args to scdebug_{call,ret}
1995-04-25 05:30:14 +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
mellon
71d223dc04
Add dummy fb device driver reference for compatibility with conf.c changes
1995-04-21 23:58:36 +00:00
mellon
acc8d94430
Oops, still need to set waittime...
1995-04-21 23:04:32 +00:00
mellon
88603eca8f
Use vfs_shutdown to sync disks...
1995-04-21 22:16:01 +00:00
mellon
92509d125f
Add support for clean flag
1995-04-21 20:54:04 +00:00
mellon
6a233c363c
Fix up tty struct change from conf.h
1995-04-21 01:24:26 +00:00
mellon
07a0117e2a
Fix up tty struct changes
1995-04-21 01:21:06 +00:00
mellon
8da89a0fc3
Fix leioctl declaration mismatch
1995-04-19 18:06:03 +00:00
mycroft
7945dde65c
leinit() returns void. Prototype more functions. Garbage collect some things
...
in leattach().
1995-04-19 16:23:11 +00:00
cgd
3ff27e09e2
fixes (mostly) from Jonathan Stone, to make this driver match the
...
state of the world as expected by the networking headers/mi code.
i changed one or two things in his patch slightly (do the lestart()
proto the right way, actually delete the if_output assignment line).
1995-04-19 06:56:21 +00:00
mellon
db8fd32d53
Add cpu_exec.c, rcons.c
1995-04-12 20:08:40 +00:00
mellon
a3c29d62df
Use _KERNEL, not KERNEL
1995-04-12 01:55:35 +00:00
mellon
30bad269b8
Fix bogus declaration for mm and chrtoblktbl
1995-04-12 00:01:01 +00:00
jtc
32a6db8a76
Mips specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.).
1995-04-11 18:20:46 +00:00
jtc
600a989fb6
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-11 18:18:35 +00:00
mellon
7baeefcfb5
Make TOCCATA support the new console regime
1995-04-11 10:52:33 +00:00
mellon
ef6295229a
Raster Console pseudo-device driver
1995-04-11 10:23:32 +00:00
mellon
4b8e4e1a20
Smart Framebuffer driver
1995-04-11 10:21:51 +00:00
mellon
10ed38a4df
Add rcons pseudo-device
1995-04-11 10:14:52 +00:00
mellon
94f146ad0f
Console initialization code
1995-04-11 10:08:42 +00:00
mycroft
fecbe784d6
Oops; finish that last change.
1995-04-10 12:45:53 +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
mycroft
127e0761c9
Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
...
needed. Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
9da61beca9
map --> mmap
1995-04-10 07:31:22 +00:00
mycroft
7ccad2faec
Update for conf.h.
1995-04-10 07:29:42 +00:00
mycroft
9e5184dfec
Add dummy cnstop(), more return types.
1995-04-10 07:14:33 +00:00
mellon
404e6bc5c9
Put endif COMPAT_09 inside function definition
1995-04-10 04:47:47 +00:00
mellon
23023327a2
Move cpu-specific exec support to cpu_exec.c; Support 4.4BSD a.out
1995-04-03 04:38:04 +00:00
jtc
8ba211cde0
Added #define _KERNEL
1995-03-28 18:37:27 +00:00
jtc
71ab4ed9dc
KERNEL -> _KERNEL
1995-03-28 18:13:48 +00:00
cgd
fa2133533d
invoke ktrsyscall with (vp, code, argsize, args) as args.
1995-03-26 08:03:29 +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
jtc
d57fb977bb
Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
1995-03-23 19:46:18 +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
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
mellon
2368e7c469
Added DECwrl networking TC options
1995-02-01 04:53:13 +00:00
mellon
ca69d7e138
Add Jonathan's T3 device driver...
1995-02-01 04:49:40 +00:00
mellon
d1d5ee421f
Fix up callv references
1995-02-01 04:43:52 +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
cgd
2ef4ca1f3d
vn -> vnd renaming, for consistency
1995-01-25 04:48:07 +00:00
mellon
f3933f8a6a
Undo argument change to cnopen
1995-01-23 18:39:30 +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
mellon
ca985c53b6
Many changes from Jonathan Stone and a few from me to make small boot blocks and handle NetBSD a.out
1995-01-18 06:53:36 +00:00
mellon
8f24f1259a
Write out new-style core files
1995-01-18 06:52:46 +00:00
mellon
9e9d8e5a78
Ultrix pcb_regs compatibility, reorder interrupt handlers (probably futile), use new callv naming
1995-01-18 06:51:46 +00:00
mellon
07fcdf4578
Add partial sfb support, ELF and 4.4BSD a.out support, Ultrix-compatible pcb_regs, fix sigcontext, probably more
1995-01-18 06:49:12 +00:00
mellon
13301513c1
Add conditional gp support; add interrupt disable before setting or clearing soft ints
1995-01-18 06:45:29 +00:00
mellon
2c8e2a0818
Update clock initialization/updating for interoperability with Ultrix (still some problems with this, though
1995-01-18 06:43:47 +00:00
mellon
834d6abd93
Add definition for tc_enable_interrupt for future reference
1995-01-18 06:42:56 +00:00
mellon
4e0b8e9b63
break mullo and mulhi out of gp regs in sigcontext
1995-01-18 06:42:01 +00:00
mellon
14f5639dca
Make register definitions compatible with Ultrix
1995-01-18 06:40:12 +00:00
mellon
09f6d5d141
Make pcb_regs structure compatible with Ultrix
1995-01-18 06:39:43 +00:00
mellon
faf867c2b2
Support for alternate compilers and file formats
1995-01-18 06:38:57 +00:00
mellon
b9a71d25d2
Add NUMBOOT for benefit of disklabel program
1995-01-18 06:37:55 +00:00
mellon
714099f07a
Add arch/pmax/pmax/elf.c as a standard file
1995-01-18 06:37:01 +00:00
mellon
6919eac432
Make it easier to use different compilers (we hope)
1995-01-18 06:36:13 +00:00
mycroft
40073dc687
Clean up deleted files.
1995-01-18 06:19:31 +00:00
mellon
c19690fb69
Start code for boot loader (under new name with some changes)
1995-01-18 06:19:01 +00:00
mellon
2dd8487ae4
Support for loading ELF on NetBSD/pmax - to be combined with elf loader under sys/compat later
1995-01-18 06:16:33 +00:00
mellon
3a011804a6
ELF format (to be combined with elf header in sys/compat later)
1995-01-18 06:15:38 +00:00
mellon
20a4f723d7
4.4BSD binary format
1995-01-18 06:14:58 +00:00
mellon
355685bb12
Configuration for a MAXine
1995-01-18 06:14:27 +00:00
jtc
d7a8b2964f
Only define sig_atomic_t when _ANSI_SOURCE is defined.
1995-01-10 19:01:00 +00:00
hpeyerl
45a2b7262c
Change majour for rz to 21. (From Jonathan Stone)
1995-01-03 22:42:03 +00:00
hpeyerl
f2c558b59b
microtime() returns void.
1995-01-03 22:37:41 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
mycroft
a42208fd05
More underscores...
1994-12-15 17:48:39 +00:00
mycroft
c32023e792
More underscores...
1994-12-15 17:02:08 +00:00
mycroft
487dab2ff9
Make a new macro _C_LABEL(), which prepends an underscore to the argument unless
...
NO_UNDERSCORES is defined. Use it in the *LEAF() and END() macros.
1994-12-15 15:26:26 +00:00
mycroft
db904fa0d4
Remove underscores from uses of *LEAF() and END(). Use _C_LABEL() in explicit
...
symbol references.
1994-12-15 15:18:29 +00:00
mycroft
d42a8b725e
Remove extra arg to d_open.
1994-12-14 19:10:08 +00:00
dean
c0b7039208
removed ifdef XXX
1994-12-12 19:34:59 +00:00
dean
ec60b72f58
Put Ultrix disklabel compatability back in.
1994-12-08 18:33:19 +00:00
dean
a056ea67c9
get disk and block size when opening device rather than probe time
...
(From Ralph Campbell)
1994-12-05 19:11:59 +00:00
dean
50c5dd6f0d
fix problem with disconnects (Ralph Campbell)
1994-12-05 19:11:12 +00:00
dean
ba0ac0e803
added missing #ifdef DEBUG
1994-12-01 16:41:05 +00:00
dean
fcf0991366
new asc.c from Ralph Campbell
1994-11-28 19:05:54 +00:00
dean
2a5cfe5b41
fix from Jonathan Stone
1994-11-28 18:45:39 +00:00
dean
1e9a7e3573
some fixes and Ultrix compat stuff from Jonathan Stone.
1994-11-28 18:42:21 +00:00
dean
363152617f
Ultrix compat stuff from Jonathan Stone.
1994-11-28 18:41:31 +00:00
dean
5b1da4bc9b
Removed fp.S
1994-11-28 16:28:20 +00:00
dean
15cf365b55
more patches from Jonathan Stone
1994-11-24 17:50:49 +00:00
dean
b123b45ce0
changed fp.s to fp.S
1994-11-23 23:06:43 +00:00
dean
fc16452217
Ultrix compatable device numbers (from Jonathan Stone)
1994-11-23 22:33:46 +00:00
dean
e5d5a6cf17
thread_wakeup wants (void *) not (int)
1994-11-23 20:46:20 +00:00
dean
91ed53db13
more changes from Jonathan Stone
1994-11-23 18:13:58 +00:00
dean
342f9cd185
more underscore changes (from J. Stone)
1994-11-23 17:47:53 +00:00
dean
5eef1840c0
catching up with other changes
1994-11-22 18:59:57 +00:00
dean
907abf89c7
put #ifdef DEBUG around call to debug routines
1994-11-22 18:58:43 +00:00
dean
4deb1cf175
run locore.S and fp.S through cpp
1994-11-22 18:57:25 +00:00
mycroft
2c274e6ac8
Clean up deleted files.
1994-11-21 23:32:58 +00:00
dean
e7558eafd1
put #ifdef KERNEL around CLK_TCK define
1994-11-15 19:00:49 +00:00
dean
393ee3693c
Surrounded call to debug routine with #ifdef DEBUG
1994-11-15 18:59:40 +00:00
dean
705ee976cf
Prepended underscores
1994-11-14 23:48:58 +00:00
dean
add2031dcf
Prepended underscores
1994-11-14 23:33:46 +00:00
christos
40abc70ce2
changed open prototype
1994-11-14 05:55:23 +00:00
cgd
a63beafc2b
new RCS ID format.
1994-10-26 21:08:38 +00:00
cgd
70d91988ab
update for new syscall args description mechanism
1994-10-20 05:34:04 +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
mycroft
fd536b8545
vmunix --> netbsd
1994-09-17 00:24:06 +00:00
glass
a0bba56f2a
add USPACE
1994-08-23 19:13:54 +00:00
cgd
92da9d2f33
can't do ptr math on void *
1994-08-18 22:09:35 +00:00
deraadt
9f6d99b3e2
get ether_type byte order correct
1994-08-17 01:33:15 +00:00
cgd
cefdccbf31
changes for the new sys_process.c, and some cleanup
1994-08-15 16:37:04 +00:00
glass
acb695e52e
make nfs diskless work in trunk
1994-07-24 23:46:40 +00:00
glass
6187f00477
make diskless work
1994-07-24 23:04:32 +00:00
cgd
3fbc338a62
define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi
1994-07-20 05:44:19 +00:00
glass
c06d6459bb
fix cpu architecture.
1994-07-05 21:25:07 +00:00
glass
f8fa8176cf
another bad include
1994-07-05 04:24:14 +00:00
deraadt
50b13742e4
_MACHINE_VARGS_H_
1994-06-29 00:45:01 +00:00
glass
f6143cedc0
assembler problem
1994-06-25 07:05:12 +00:00
glass
5ed96e480a
ultrix compat by default
1994-06-22 03:45:26 +00:00
glass
2d77dbfd70
oops
1994-06-21 23:10:13 +00:00
glass
bd3ae321b9
ufs --> ffs...basically back out a pre-fs change
1994-06-16 05:11:06 +00:00
glass
eff56c22fa
much works but untested w/new fs. expect more tomorrow
1994-06-15 05:18:38 +00:00
mycroft
51c7c774de
Clean up deleted files.
1994-06-15 05:18:33 +00:00
glass
57642fb485
much works but untested w/new fs. expect more tomorrow
1994-06-15 05:18:01 +00:00
glass
04a3735652
remove temporary hacks now that the new filesystem stuff is in
1994-06-14 02:47:36 +00:00
glass
e501fd2ea1
fix a guess...someone tried to boot it on a 240.
1994-06-02 21:27:50 +00:00
mycroft
1d82b81e32
Clean up deleted files.
1994-06-02 06:20:39 +00:00
glass
5e54277664
fix a few integration bugs, add vmfault debugging, more ultrix stuff
1994-06-02 06:14:56 +00:00
glass
8f22e98c12
VM_MIN_ADDR -> 0
1994-06-01 18:51:16 +00:00
glass
d58065c17b
the evil -G 0 must be used on locore too
1994-06-01 07:38:51 +00:00
glass
8b1cefa2ee
cpu_exec_ecoff_hook() returns a errno
1994-06-01 04:50:30 +00:00
glass
61cb3f2f8f
new filesystem stuff isn't in yet
1994-05-30 07:26:19 +00:00
glass
54088756f8
last bit of MDP_ULTRIX
1994-05-30 06:39:18 +00:00
glass
9cf6b07329
add typecast, will compile
1994-05-30 06:12:07 +00:00
glass
db35f66457
forgot a compile directory
1994-05-30 05:07:21 +00:00
glass
af77c1caf2
more likely to work now, probably less knf...thats the next project
1994-05-28 20:21:30 +00:00
glass
6b63c739f3
bsd 4.4-lite pmax port as ported to NetBSD
1994-05-27 08:57:32 +00:00
glass
814f4529f3
upgrade to bsd 4.4-lite code base. only mod is rcsids
1994-05-27 08:40:50 +00:00
glass
377b097932
upgrade to bsd 4.4-lite code base. only mod is rcsids
1994-05-27 08:39:00 +00:00
cgd
05a7ffd00c
fix rlimit calls for ultrix compat; untested, but should work
1994-05-05 03:31:07 +00:00
mycroft
14232eac12
Clean up deleted files.
1994-04-16 08:38:29 +00:00
cgd
c6c2201156
kill symbols.{raw,sort}; no longer necessary, with kvm dbs.
1994-04-16 08:38:22 +00:00
cgd
e937bc9bfd
convert vm system to use new queues. I'll never write code w/queues again.
1994-04-15 07:04:03 +00:00
cgd
d64461d7d3
add basic integral types (a la sparc port) that new nvi wants.
...
mark old 'basic integral types' as XXX -- they should be squished
when whoever gets this port working.
1994-03-14 02:12:06 +00:00
deraadt
db6b4cc739
RMP goes away
1994-01-24 00:48:15 +00:00
deraadt
b2c0b0a0c8
add a pmap_kernel() function
1994-01-16 00:58:07 +00:00
deraadt
6db422de7f
cpu_exit returns void
1994-01-16 00:53:44 +00:00
deraadt
7c98e17fdb
add sysarch() stub
1994-01-16 00:52:47 +00:00
deraadt
405bf3d48d
use SYS_syscall instead of SYS_indir
...
and turn off the 64 bit syscall interface
1994-01-16 00:49:47 +00:00
deraadt
376a5f4108
pullin vm_statistics.h
1994-01-16 00:42:16 +00:00
deraadt
18b8ee0b5c
prototyped callvec (ripped from stand/libsa/callvec.c)
...
#ifdef RB_MINIROOT support
our setregs() takes a stack pointer argument
netbsd-ify sendsig/sigreturn code, ie. alternate stacks
add dummy stubs for ptrace
1994-01-16 00:41:17 +00:00
deraadt
e04b358332
cleanup
1994-01-16 00:34:10 +00:00
deraadt
aa7ced4bd5
intrframe -> clockframe
1994-01-15 18:46:00 +00:00
mycroft
3fab097f5f
Clean up deleted files.
1994-01-15 02:15:38 +00:00
deraadt
7b7ccf8500
new; pretty much straight from net/2
1994-01-15 02:04:56 +00:00
deraadt
ecefae0672
don't pull in arch/pmax/stand/libsa/callvec.c -- it's a silly idea.
1994-01-14 21:19:27 +00:00
deraadt
0cbd1c6d6e
netbsd-ify
1994-01-14 19:50:45 +00:00
deraadt
6b8ee3c10f
various small netbsd-ifications
1994-01-14 05:05:17 +00:00
deraadt
d22f586c29
everything is now in sys/arch/pmax; and delete 4.4isms we don't do
1994-01-14 05:00:07 +00:00
deraadt
44663395d2
s/vmunix/netbsd/
1994-01-14 04:57:44 +00:00
mycroft
f8100bd977
Clean up deleted files.
1994-01-14 04:53:43 +00:00
deraadt
9fd56d82c3
some pmax updating (Terry Friedrichsen is helping on this now).
1994-01-14 04:53:37 +00:00
deraadt
96faaf5809
sign extension bug fix from <rick@snowhite.cis.uoguelph.ca>
1993-11-08 03:39:21 +00:00
deraadt
f51bf630eb
default is to have nbuf = 0 and bufpages = 0
1993-10-15 03:00:56 +00:00
deraadt
56cc97cb80
update from rick, tarfile of Oct 11 10:46
1993-10-15 02:56:33 +00:00
deraadt
63a052d489
fixed two icky rcs-log's.
1993-10-12 03:48:52 +00:00
deraadt
fe806afec2
pmax code from <ralphc@pyramid.com> & <rick@snowhite.cis.uoguelph.ca>
1993-10-12 03:22:19 +00:00