mycroft
a3f011655d
profclock() takes a pointer to clockframe.
1994-02-04 23:02:03 +00:00
mycroft
e61823b6c0
Fix comments
1994-02-04 22:56:17 +00:00
mycroft
17f893cc17
Pass a frame pointer to profclock(), too.
1994-02-04 22:55:23 +00:00
mycroft
c7368afa03
Pass a pointer to hardclock()...
1994-02-04 22:19:28 +00:00
mycroft
5b6b8b1361
Add appropriate DDB calls on startup.
1994-01-31 17:09:33 +00:00
mycroft
f129143885
Use esym now. Note this *requires* using the NetBSD boot block.
1994-01-30 21:18:16 +00:00
mycroft
f2d8e8807d
Add a missing ${.CURDIR}.
1994-01-30 20:02:56 +00:00
mycroft
91c1305a51
Don't rely on esym being passed in until I am impressed enough with the new
...
boot program to switch.
1994-01-30 19:50:21 +00:00
mycroft
19d75d46d4
Remove functions that are defined in libkern or m68k/copy.s.
1994-01-30 19:15:48 +00:00
mycroft
1ef3aa2cc7
Fix Theo's typos.
1994-01-30 18:42:47 +00:00
mycroft
106118de0d
Remove bogus declaration.
1994-01-30 18:30:45 +00:00
mycroft
eeef378067
Update for current exec code.
1994-01-30 18:21:47 +00:00
jtc
5235180083
Fix spelling error in Copyright notice
1994-01-28 23:43:26 +00:00
mycroft
ed3beef088
.
1994-01-27 15:24:36 +00:00
cgd
c9c3b2abbe
HP300 -> MACHINE
1994-01-27 02:12:44 +00:00
brezak
2ddd5dfb45
Fix silly typo for rd disks.
1994-01-26 14:28:56 +00:00
cgd
fe65a36342
.PATH in ${S}/stand
1994-01-26 04:17:23 +00:00
brezak
ea5b3930f9
Deal with DDB symbol table loaded by bootstrap
1994-01-26 02:43:43 +00:00
mycroft
11af788baa
Clean up deleted files.
1994-01-26 02:39:06 +00:00
brezak
b001602018
hp300 stanealone bootstrap program ported to use CMU libsa
1994-01-26 02:38:16 +00:00
mycroft
9daf893372
Someone should fix his damned tabs after pasting code.
1994-01-25 13:10:21 +00:00
brezak
5aba563da8
Rudimentary disklabel support.
1994-01-25 03:19:15 +00:00
brezak
6c6ec2e13b
Set text address at 0
1994-01-25 03:18:23 +00:00
deraadt
87568b1c96
delete RMP code
...
ether_input() takes ether_type in net byte order now
1994-01-24 00:25:21 +00:00
cgd
36a23c4ad8
stub
1994-01-23 00:23:02 +00:00
brezak
042650fe85
Fix uninitialized variable.
1994-01-20 02:17:17 +00:00
mycroft
d72e7068e5
Add a variable (currently unused in this port) to make DDB happy.
1994-01-13 23:49:13 +00:00
mycroft
5358c47ee5
Allocate exec_map.
1994-01-13 13:56:20 +00:00
mycroft
efdb9fa688
*strategy functions return void.
1994-01-11 17:19:37 +00:00
mycroft
99e02ea4e5
Get rid of indirection, and change return type of strat functions.
1994-01-11 16:41:37 +00:00
mycroft
8698f35d76
Change return type of strat functions.
1994-01-11 16:40:19 +00:00
mycroft
0aa5118f9f
Nuke args to newvers.sh.
1994-01-10 02:34:51 +00:00
mycroft
ebc818a088
Make trap_types a variable, so it can be imported by DDB.
1994-01-09 22:50:11 +00:00
mycroft
832cebd4cf
Enable DDB.
1994-01-09 21:38:05 +00:00
mycroft
24aa7f14b4
Turn panic button into a debugger trap if DDB.
1994-01-09 21:36:55 +00:00
mycroft
11eb822fdf
Add DDB hook.
1994-01-09 19:58:47 +00:00
cgd
849b864238
stub
1994-01-09 16:35:32 +00:00
mycroft
ec0fa1f388
Use NULLVP, just for Correctness (tm).
1994-01-08 16:06:04 +00:00
cgd
2079970043
SHM_LOCK and SHM_UNLOCK aren't just HPUXCOMPAT
1994-01-08 15:09:01 +00:00
cgd
b38fa5acf8
stubs which pint to m68k include
1994-01-08 12:41:41 +00:00
cgd
9e3b9d9bdd
oops; forgot the new first arg to NEW_VMCMD()
1994-01-08 12:25:25 +00:00
mycroft
150f1034c9
Clean up deleted files.
1994-01-08 11:11:50 +00:00
cgd
0e515ae1bd
code reorg, and killing of common files
1994-01-08 11:11:46 +00:00
cgd
166622ffab
trim files which are now common.
1994-01-08 11:08:28 +00:00
cgd
957ce06f24
far reaching but relatively minor cleanup and slight reorg of exec code
1994-01-08 07:14:24 +00:00
mycroft
91b246d5be
Fix some compiler warnings.
1994-01-08 06:34:01 +00:00
mycroft
56dde9c46c
hpuxsysent -> hpux_sysent, hpuxnssysent -> nhpux_sysent
1994-01-07 00:45:37 +00:00
mycroft
0bbaf2a5e8
Partial cleanup. Needs more work.
1994-01-07 00:43:39 +00:00
mycroft
8658309e1b
Implement procfs stubs.
1994-01-06 23:55:40 +00:00
mycroft
566f233507
Clean up formatting.
1994-01-06 23:55:37 +00:00
mycroft
d74cd05c88
Implement procfs stubs.
1994-01-06 23:55:17 +00:00
mycroft
40b7801fa6
Don't know why LOAD_ADDRESS was ever here, but it's toast.
1994-01-06 17:29:59 +00:00
mycroft
734aca027a
Okay, so it *really* works now, or at least compiles.
1994-01-06 17:23:56 +00:00
mycroft
30efe4707c
Make ptrace() actually work now.
1994-01-06 17:16:34 +00:00
mycroft
ed95321df9
Still need old #defines for now.
1994-01-06 17:05:34 +00:00
mycroft
0e716894cd
Garbage collection.
1994-01-06 16:57:59 +00:00
mycroft
f76fdd7722
Implement `struct reg'.
1994-01-06 16:50:13 +00:00
mycroft
f7b0ee1881
Bleah.
1994-01-05 17:52:01 +00:00
mycroft
9030d70fd3
Change ptpage to flag, for new VM code.
1994-01-04 14:11:05 +00:00
brezak
a6d85089cd
Add pseudo-device vn
1993-12-21 05:30:14 +00:00
brezak
23868240aa
Use machine independant vn.c
1993-12-21 05:28:31 +00:00
mycroft
e69c5b3268
Implement ptrace(), copied from the Amiga port.
1993-12-08 23:11:40 +00:00
mycroft
f67ccd2bf0
Move #define of NIPCREG outside #fidef.
1993-12-08 22:46:15 +00:00
mycroft
f573b79d43
Make sure min values are correct when used at a larger size.
1993-12-07 20:44:28 +00:00
mycroft
42aa5d6c25
Change the address calculations in icode to match current as.
1993-12-06 14:19:44 +00:00
mycroft
3c2111ec4e
Dummy clockattach() for new config.
1993-12-06 13:30:52 +00:00
mycroft
fc1d105e0a
Dummy iteattach() for new config.
1993-12-06 13:27:49 +00:00
mycroft
12bd3cc33c
Fix a couple of compiler warnings.
1993-12-06 13:14:16 +00:00
mycroft
73f2af0512
Add quad support.
1993-12-06 07:35:56 +00:00
mycroft
e52bc1d4f0
Add quad stuff, etc.
1993-12-06 07:25:07 +00:00
cgd
638c145efa
add MACHINE_ARCH
1993-12-04 02:20:11 +00:00
cgd
76dbc1192b
new specfs.h and fifo.h locations
1993-11-12 05:54:12 +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
cgd
6f2e9c9325
fix one warning, and add (very bogus) ptrace_* functions until
...
i (hopefully) get real ones from somewhere
1993-10-13 09:36:43 +00:00
cgd
5387d8cb1b
deal with libkern
1993-10-13 08:29:45 +00:00
cgd
1957319559
add "sysarch()", as a fn returning ENOSYS, here, where it belongs
1993-10-13 08:19:03 +00:00
cgd
ca99ee2862
md signal context.
1993-10-13 07:58:39 +00:00
cgd
944e753f33
get rid of #ifndef KERNEL around inclusion of cdefs.h
1993-10-13 07:51:09 +00:00
cgd
24e6bb5b6f
do the virtual space hoop-jumping for the new vfs_bio;
...
still need to adjust 'buffers'.
1993-09-30 21:41:20 +00:00
mycroft
15567ab7a7
Add missing arg to vm_mmap() call in grfmmap().
1993-09-06 02:24:08 +00:00
cgd
76b9770c58
update for new exec; this (hp300 change) hasn't been checked, but is
...
just naming changes and addition of comments...
a couple of XXX's:
* XXX what are the special cases for the hp300?
* XXX why is this COMPAT_NOMID? was something generating
* hp300 binaries with an a_mid of 0? i thought that was only
* done on little-endian machines... -- cgd
1993-09-05 01:31:14 +00:00
mycroft
0b3f240c49
Ditto.
1993-09-02 19:05:40 +00:00
mycroft
e4f1378e00
For some reason I don't understand, a change disappeared from the CVS tree.
1993-09-02 19:04:41 +00:00
deraadt
a87b4a30bd
pagers are now options, not pseudo-devices
1993-08-30 07:09:20 +00:00
deraadt
9aed375ba3
tty XXstart() routines return void
1993-08-29 13:46:31 +00:00
mycroft
59bd26aec5
Double data size limits to make GCC happier.
1993-08-24 17:56:21 +00:00
mycroft
5c2721a0c3
Add old ZMAGIC handling, as in i386 port.
1993-08-19 14:35:46 +00:00
mycroft
4a5baa80a0
Remove cpu_exec_makecmds() macro and declare it as a function. Also, wrap
...
everything in `#ifdef KERNEL'.
1993-08-19 14:34:25 +00:00
mycroft
5aa52f5be0
Set USRTEXT to NBPG.
1993-08-19 14:32:24 +00:00
mycroft
8fe0af721f
Add COMPAT_NOMID.
1993-08-19 14:29:28 +00:00
jtc
c41b22b4f6
Removed CLK_TCK, it's value is not machine dependant.
...
It's supposed to be defined in <time.h>, not <limits.h> anyway.
1993-08-18 00:22:44 +00:00
mycroft
39715a6423
Remove *netbsd, not *vmunix.
1993-08-16 16:23:38 +00:00
mycroft
a5b04640d7
Adjust DBL_MIN so it doesn't underflow.
1993-08-15 15:46:35 +00:00
mycroft
8c11b590fb
Adjust DBL_MAX so it doesn't overflow.
1993-08-15 15:45:51 +00:00
mycroft
fe6336fe02
The NetBSD assembler seems to want the old icode. Don't ask me.
1993-08-14 14:46:08 +00:00
mycroft
e1d0c2d3a6
Note new location of pte.h.
1993-08-14 14:26:19 +00:00
mycroft
395c4e2bed
Note new location of pte.h, and don't strip kernel by default.
1993-08-14 14:20:08 +00:00
mycroft
a770c59274
Set MID_MACHINE to MID_M68K4K.
1993-08-14 02:46:00 +00:00
mycroft
f2490de185
Clean up deleted files.
1993-08-10 00:17:16 +00:00
mycroft
0e521097ea
Rename my kernel config.
1993-08-10 00:17:15 +00:00
mycroft
697610ba7f
Add ALIGNBYTES.
1993-08-09 04:45:30 +00:00
mycroft
b5181de827
Move pte.h to /usr/include/machine, like it is in other ports.
1993-08-09 04:44:11 +00:00
mycroft
bf1b2d0f97
Clean up deleted files.
1993-08-09 04:44:06 +00:00
mycroft
42f5032320
Just comment out undefined hilq_to_b (for now).
1993-08-08 03:44:10 +00:00
mycroft
fbde833e5f
Avoid `e-' in numeric constants.
1993-08-08 03:42:35 +00:00
mycroft
e57b84a1a2
Slight restructuring to avoid relying on the tty structure associated with
...
an ITE until we're sure it's allocated.
1993-08-08 03:35:26 +00:00
mycroft
9033342b47
Trampoline code is now stored in a different place.
1993-08-08 00:11:06 +00:00
mycroft
d3268a7616
Modified to use disklabels. Needs more work, but this at least boots.
1993-08-07 20:48:38 +00:00
mycroft
79704012eb
This seems to fix the calculation of the file name and arg string pointers
...
in icode.
1993-08-07 20:47:35 +00:00
mycroft
1ce54d77ca
Add PANICWAIT.
1993-08-07 18:52:43 +00:00
mycroft
02883d892a
bufpages multiplier is CLBYTES, not NBPG.
1993-08-07 16:24:41 +00:00
mycroft
450aa63575
Add RCS identifier.
1993-08-07 16:23:47 +00:00
mycroft
e67a273bb2
Add config file for my test machine.
1993-08-07 16:23:26 +00:00
cgd
d8b362e8f2
this lets it get through autoconfig
1993-08-07 08:54:02 +00:00
cgd
d0aa5a0b99
squish KGDB options
1993-08-07 07:29:45 +00:00
cgd
e1443b1923
add definition of mountroot()
1993-08-07 05:14:00 +00:00
cgd
18a419e9bb
some more ring buffer -> clist changes
1993-08-07 04:42:15 +00:00
mycroft
4862b84c92
Add RCS identifiers (this time on the correct side of the branch), and
...
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft
690cae8181
Add RCS indentifiers.
1993-07-31 15:17:49 +00:00
mycroft
3be4221095
Change tty code to use clist interface, but with ring buffer implementation.
...
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:36:53 +00:00
deraadt
7afa674eb4
the "struct tty *cn_tty" field in cons.c wasn't being used by anything
1993-07-07 11:12:26 +00:00
cgd
837c11c730
deal with make/shell strangenesses, and fix newvers problem
1993-07-07 07:49:09 +00:00
cgd
608b09065c
function definition changes...
1993-07-07 07:20:03 +00:00
cgd
2aeaba37fd
cpu_exit() returns void
1993-07-07 07:09:32 +00:00
cgd
f8827cb076
get rid of extraneous inclusion of seg.h
1993-07-07 07:08:47 +00:00
cgd
bd0c8f83d5
changes for ring buffers vs. clists.
1993-07-07 07:07:20 +00:00
cgd
3e210908e7
sd and st are "device-driver" under new scheme
1993-07-07 06:36:30 +00:00
cgd
640761aa1c
everybody needs a vnode pager...
1993-07-07 06:35:37 +00:00
cgd
db63cd6b23
get rid of extra strcmp definition
1993-07-07 06:26:59 +00:00
cgd
119ad60ccf
add MID_MACHINE #defined to be MID_HP300
1993-07-04 02:27:30 +00:00
cgd
3117628f3c
strcmp's args are supposed to be "const"...
1993-07-04 02:27:14 +00:00
cgd
f98105c8ce
use ringb rather than clist
1993-07-04 02:26:54 +00:00
mycroft
941652ff62
This has got to be a bug.
1993-07-01 18:04:16 +00:00
cgd
f1b8c74730
make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
...
don't conflict w/ansi prototypes...
1993-06-06 23:04:42 +00:00
cgd
20ed989018
fix stupid missing ||
1993-06-04 01:12:04 +00:00
cgd
53f34e4d5b
add support for a macro to be called from execve to check a_mid type
1993-06-03 01:28:36 +00:00
cgd
eff5542792
machine-dependent exec stuff
1993-06-02 02:46:58 +00:00
cgd
5e4f134585
fix for t_raw, rather than t_rawq for the tsleeps...
1993-05-29 19:41:40 +00:00
cgd
e27fa2003d
fix for dynamic tty allocation; was being used in a #define...
1993-05-29 19:41:03 +00:00
cgd
d37811a76c
update for "arch"
1993-05-29 19:25:17 +00:00
cgd
e8d8fcff7a
make it work with new config. still needs some cleanup
1993-05-29 19:21:06 +00:00
cgd
1628a9913a
change kernel names where necessary, also, other minor hacks
1993-05-29 19:15:31 +00:00
deraadt
a17c1c267a
-DKERNEL in same place as i386
1993-05-27 11:37:20 +00:00
deraadt
4659879b5f
compile directory has moved, relative paths change
...
-DKERNEL in Makefile, not in genassym.c, same as i386
1993-05-27 11:36:25 +00:00
deraadt
2032b7529e
Changes to hp300 code to support two things:
...
1. dynamic tty allocation
2. use ring buffers instead of clists
Of course, I can't test it :-)
1993-05-27 09:35:10 +00:00
cgd
fe1802950b
add include of select.h if necessary for protos, or delete if extraneous
1993-05-22 11:40:42 +00:00
cgd
30177b538f
add rcsids to everything and clean up headers
1993-05-22 07:56:12 +00:00
deraadt
e34f239662
First cut at cpu independent disklabels.
...
There will be niggly little details no doubt..
1993-05-20 22:48:23 +00:00
cgd
8d6c77881c
make kernel select interface be one-stop shopping & clean it all up.
1993-05-18 18:18:40 +00:00
cgd
477a97590b
pseudo-update for new config changes
1993-05-18 10:36:06 +00:00
cgd
259cf0dbca
make sure hp300/compile stays in the distribution
1993-05-17 09:20:49 +00:00
cgd
1ffe55b9c2
add from net2. was symlink to ../../tahoe/tahoe/ns_cksum.c
1993-05-13 20:36:25 +00:00
cgd
a3219ac4fa
add from net2. were symlinks to ../../vax/include/*
1993-05-13 20:35:11 +00:00
cgd
0e180f179d
add from net/2 sources. was symlink to ../../tahoe/include/endian.h
1993-05-13 20:34:47 +00:00
cgd
6dedb5151c
add hp300 kernel files. generic kernel files might need some help...
1993-05-13 13:56:20 +00:00