deraadt
776e071fd0
sys/dev/scsi -> sys/arch/sparc/scsi.
1993-10-27 18:09:38 +00:00
deraadt
a397cbe66a
more hacks to my private config file
1993-10-27 18:07:44 +00:00
deraadt
3098ee5fbe
baseline scsi from torek.. mailed to me N>4 months ago.
1993-10-27 17:48:31 +00:00
mycroft
757af3406e
isa_discoverintr(): Also check ipending, in case the interrupt is being shared.
...
Use delay() for timeout rather than timer channel 2.
1993-10-27 17:45:40 +00:00
deraadt
4d451a6072
slightly better syscall diagnostics.
1993-10-27 17:29:31 +00:00
mycroft
ebe64b7361
Reenable interrupts in ipending before resetting it.
1993-10-27 08:00:40 +00:00
mycroft
651d86ab91
Arrange that IF is on but we are at splhigh() during autoconfig. Clear
...
ipending in isa_flushintrs().
1993-10-27 06:48:39 +00:00
phil
2801e221f5
Final changes for RD_SIZE -> RAMD_SIZE.
1993-10-27 06:31:06 +00:00
cgd
436e431478
BSDI official patch #15 :
...
SUMMARY:
"panic: vrele: null vp", the problem seems to be that two renames are
moving the same source, and the second one can't do it.
ALSO:
in sync, check that rootfs is non-null before using it.
1993-10-27 02:33:40 +00:00
cgd
299ff91b14
BSDI official patch #14 :
...
SUMMARY:
Here is a patch for a kernel hang that can be provoked with a write
or send of a negative amount. The talk program is capable of exercising
this bug. This patch also includes a fix for a bug that caused data
to be delivered to TCP in smaller chunks than desired, and which caused
TCP to send a short packet when starting up. Finally, there is a bug
fix for MSG_PEEK with an oobmark pending.
1993-10-26 22:36:25 +00:00
cgd
889b512ea4
if you try to allocate a buffer larger than MAXBSIZE, panic.
1993-10-26 19:38:55 +00:00
brezak
b92626678c
Cleanup LDT/GDT defines
1993-10-26 15:53:54 +00:00
brezak
5be77b1847
Fix for new ZMAGIC. Define start address.
1993-10-26 15:52:55 +00:00
mycroft
32ee2e4e3f
Stylistic change to IDT initialization.
1993-10-26 15:45:18 +00:00
mycroft
79682dc7fe
Replace a %s with %x.
1993-10-26 14:22:41 +00:00
mycroft
118cdf4851
Clean up deleted files.
1993-10-26 13:15:17 +00:00
mycroft
787c131944
Remove bogus port for pccons. Remove ACCOUNTING.
1993-10-26 12:19:38 +00:00
mycroft
4d9cffef5e
Hard-wire the timer IRQ.
1993-10-26 12:18:28 +00:00
mycroft
08f5f6a6fa
Add MADDRUNK.
1993-10-26 12:16:35 +00:00
mycroft
3883efe0da
Fix IDT initialization bug. Don't allow IRQ 0 to be autoconfigured.
1993-10-26 12:10:01 +00:00
phil
a7a10ca319
Dealing with the "broken" _VA_LIST_ stuff.
1993-10-26 07:15:56 +00:00
cgd
13ca4d98c7
it's correct to return EACCES if FS is mounted MNT_NOEXEC.
1993-10-26 01:42:56 +00:00
cgd
c7582cbd4f
use copyinstr rather than strcpy to copy in the saved shell-script
...
name from userland. From Markus Wild, mw@lamp
1993-10-26 00:32:29 +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
paul
899963d591
Latest version of isolan driver.
...
Replaced all static arrays with malloc'ed memory.
Added code so that debug ioctl actually does something.
1993-10-25 03:30:54 +00:00
davidg
16a520e7ed
* Revision 2.11 1993/10/23 04:21:03 davidg
...
* Novell probe changed to be invasive because of too many complaints
* about some clone boards not being reset properly and thus not
* found on a warmboot. Yuck.
*
* Revision 2.10 1993/10/23 04:07:12 davidg
* increment output errors if the device times out (done via watchdog)
*
* Revision 2.9 1993/10/23 04:01:45 davidg
* increment input error counter if a packet with a bad length is
* detected.
*
* Revision 2.8 1993/10/15 10:59:56 davidg
* increase maximum time to wait for transmit DMA to complete to 120us.
* call ed_reset() if the time limit is reached instead of trying
* to abort the remote DMA.
*
* Revision 2.7 1993/10/15 10:49:10 davidg
* minor change to way the mbuf pointer temp variable is assigned in
* ed_start (slightly improves code readability)
*
* Revision 2.6 93/10/02 01:12:20 davidg
* use ETHER_ADDR_LEN in NE probe rather than '6'.
1993-10-23 04:59:41 +00:00
cgd
9f8465b49c
use obj.${MACHINE} dirs to compile into
1993-10-23 02:33:12 +00:00
mycroft
3810963ed5
Add at_setup_dmachan(). Minor cleanup.
1993-10-22 20:24:14 +00:00
mycroft
4b7f8b8a62
It does not make sense to mask a fastintr.
1993-10-22 19:33:13 +00:00
mycroft
0c9ce6ed1f
New file with interrupt-handling code. Add intr_fasttrap().
1993-10-22 19:27:40 +00:00
mycroft
f1dda6c852
Add intr.c.
1993-10-22 19:17:32 +00:00
cgd
ce7108c729
slightly clean up ws's original patch to this file for the sense
...
of wait vs. nowait. this patch from torek.
1993-10-22 02:48:35 +00:00
cgd
1b8b52c8c5
mapping the mem or kmem devices is *very* dangerous with the current
...
vm system. Don't allow it.
1993-10-21 23:55:02 +00:00
jtc
79591d04bc
So many files in arch/i386 have been changed I might as well run my
...
remove unecessary trailing whitespace script.
1993-10-21 01:48:14 +00:00
jtc
823c36577c
Change instances of LIBC_RCS back to LIBC_SCCS. If we are going to change
...
th LIBC_RCS, the entire source tree should be updated at once.
Remove && !defined(lint) from conditionals around rcs id's. No one is
ever going to pass a *.s file through lint.
1993-10-21 01:39:55 +00:00
cgd
80a3179079
vanquish the tree of the last traces of /dev/acct
1993-10-21 00:29:03 +00:00
cgd
a65ca356db
oops
1993-10-21 00:15:47 +00:00
cgd
e75ed9019d
no more subr_acct.c
1993-10-21 00:14:34 +00:00
phil
d5540a64d1
Added support for making libkern.a.
1993-10-20 23:53:26 +00:00
cgd
430d001c1a
get rid of ACCOUNTING option. it's mandatory, and there's no define any more.
1993-10-20 23:04:52 +00:00
cgd
f784b878c2
ACCOUNTING define doesn't exist any more...
1993-10-20 23:04:33 +00:00
jtc
97ad548bc0
Replaced instructions with immediate operands with compatible alternatives
...
saving a few bytes while the cycle count remains the same --- could
actually be faster, depending on the cache, prefetch queue, etc.
1993-10-20 18:50:15 +00:00
cgd
9ceb615f82
add some timeout_t typedefs
1993-10-20 00:53:34 +00:00
cgd
982b84038f
revert to net/2
1993-10-20 00:52:58 +00:00
cgd
fc8ee7437c
knf'ify, clean up some, move sysacct() args out of function declaration.
1993-10-20 00:45:34 +00:00
cgd
287eb9a50e
delete my '/dev/acct'-style accounting in favor of the version written by
...
Mark Tinguely (tinguely@plains.NoDak.edu ). It's the 'standard' way
of doing accounting, rather than a wacky one.
1993-10-20 00:16:40 +00:00
cgd
2ff9ed5060
fix my last change; for some reason i thought that 'p' was defined
...
in these functions. use curproc instead.
1993-10-19 23:41:44 +00:00
cgd
ddd610e422
from Mark Tinguely, with mods by davidg and then fially fixed by cgd.
...
do the space-used integration, over time, for processes.
1993-10-19 23:37:50 +00:00
deraadt
9b363afc2d
Define the {QUAD,UQUAD}_{MIN,MAX} things here.
1993-10-19 09:03:41 +00:00
cgd
215649adeb
from Mark Tinguely (tinguely@plains.NoDak.edu): record when processes are
...
swapped...
1993-10-19 02:54:09 +00:00
cgd
dfaa02a09b
pay for block i/o. slightly different than how done by Mark Tinguely.
1993-10-19 02:47:56 +00:00
cgd
27bc255b86
kill accounting.
1993-10-18 23:22:56 +00:00
cgd
d7498e64da
fix the 'size allocated vs. MAXBSIZE' check for buffers. Instead
...
of making vfs_bio *and* machdep.c deal with it, just deal with it
here, where we actually allocate the physical memory for pages.
1993-10-18 23:14:13 +00:00
cgd
1411cfbd47
byte-order fixes, and bunch of debug printfs...
1993-10-18 23:01:13 +00:00
cgd
238d7de281
byte-order fixes
1993-10-18 22:59:56 +00:00
cgd
20d926b4e9
change ni_rdir to ni_rootdir in #ifdef PARANOID. from rgrimes
1993-10-18 22:42:14 +00:00
mycroft
9eafd05204
Add I486_CPU.
1993-10-18 16:25:42 +00:00
pk
f0c6138247
Made "start" the entry point (for consistency with other "ld" lines).
1993-10-18 14:41:31 +00:00
pk
f8b564f223
Fixed typo.
1993-10-18 14:35:45 +00:00
pk
14ba800a2f
Provided entry point (_boot1) to ld.
...
Use DESTDIR when installing.
1993-10-18 13:34:26 +00:00
deraadt
0e9ecd46ec
fix a typo
1993-10-18 13:28:19 +00:00
deraadt
3af6e429f4
decl of ttrstrt isn't here anymore.
1993-10-18 11:49:16 +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
pk
593a6c40ef
Explicit entry point specified in kernel link command.
...
(so far, we've been lucky only because vers.o doesn't contain text)
1993-10-17 20:56:09 +00:00
mycroft
107d011b19
Add KBR_EXTENDED.
1993-10-17 14:04:15 +00:00
mycroft
7620c96e5d
Make atdevbase an int.
1993-10-17 14:03:54 +00:00
mycroft
6067dc9ea8
Minor cleanup.
1993-10-17 05:34:23 +00:00
deraadt
0f39e223a2
use RCONSOLE; whee
1993-10-17 04:41:34 +00:00
deraadt
64a71293dc
fbio.h, mailed from Torek. This file is from Sprite, and clearly an
...
extensively modified SunOS file. *sigh*.
(ie. Feel free to rewrite it from scratch...)
1993-10-16 11:14:51 +00:00
cgd
bf4b776381
total overhaul. still needs a lot of cleanup though...
1993-10-16 07:57:36 +00:00
mycroft
7e8063835d
Use `swap generic'.
1993-10-16 07:48:04 +00:00
cgd
29988603d4
add a header file with some protos...
1993-10-16 07:32:22 +00:00
deraadt
53402794da
mountroot is defined in vfs_conf.c
1993-10-16 07:23:10 +00:00
mycroft
2ce6de16d5
Add isa_establish(), for all it's worth (which is to say, nothing).
1993-10-16 05:25:21 +00:00
mycroft
c73d85d341
Panic if DMA with odd length attempted on a 16-bit channel.
1993-10-16 03:55:59 +00:00
phil
5df59aabeb
Changes for ram disk specification.
1993-10-15 22:46:46 +00:00
cgd
d3731177f7
rename nfsboot.c, and add boot_tftp.c, which isn't done yet.
1993-10-15 13:52:26 +00:00
cgd
4bcf529b86
oops; forgot to move these definitions over, before...
1993-10-15 13:47:22 +00:00
cgd
ca91b52083
get rid of extra variable, and move to boot_nfs.c
1993-10-15 13:43:16 +00:00
cgd
fba9bbc5d9
add back the bufpages limit
1993-10-15 11:55:39 +00:00
deraadt
6ecda95b8a
rebuilt from syscall.master: {get,set}domainname change
1993-10-15 11:29:13 +00:00
deraadt
ef0d3bd5cb
fix sun_getdents()
...
fix sun_mmap()
Note: delete the "struct dirent" in here when sys/dirent.h is created.
1993-10-15 11:28:29 +00:00
deraadt
fc55b2487e
use the standard {get,set}domainname stuff
1993-10-15 10:58:42 +00:00
cgd
2193c056b8
add strncmp to anything
1993-10-15 08:41:12 +00:00
cgd
acbf63a86b
add __main()
1993-10-15 06:20:46 +00:00
cgd
dd818c7cd0
get rid of __main() -- it's going into libkern
1993-10-15 06:16:22 +00:00
deraadt
ab2ddd1c05
we now handle SunOS NMAGIC executables
1993-10-15 06:13:17 +00:00
deraadt
cefac63158
actually put something in a previously empty file.
...
__LDPGSZ should now be defined here!
1993-10-15 06:01:06 +00:00
deraadt
c6003607ba
arch/sparc/sparc/sys_machdep.c is non optional; there is more in
...
there than just TRACE
1993-10-15 05:59:28 +00:00
deraadt
091c24de94
No need to allocate clists.
1993-10-15 03:37:33 +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
cgd
8bf3fac77c
comments need ... '/'s at the end of them!!!
1993-10-14 22:35:26 +00:00
mycroft
4f94812b29
New file with DMA code from isa.c, modified to check for some errors.
1993-10-14 05:22:57 +00:00
mycroft
5448e175cf
Only include isa/dma.c if a driver which needs it is configured.
1993-10-14 05:17:24 +00:00
glass
e74dea9259
upgraded the critical bits to 'bootbootp' version 0.3.
...
added file to describe bootbootp -> netboot integration, though it does so
badly and without much detail.
1993-10-14 04:53:34 +00:00
glass
392149b053
this is the disgusting temporary hack to assist people booting over nfs via
...
hacked structures until netboot works.
the word "abortion" comes to mind.
1993-10-14 03:05:02 +00:00
cgd
aed90a8659
make user define debug variable. get rid of the COMMON_ETHER
...
define; always require a machdep_common_ether routine, which
may do zip if no common enet addr
1993-10-13 21:22:27 +00:00
cgd
b6a7521043
separate globals, add the bootinfo.c file to the lib
1993-10-13 16:33:55 +00:00
cgd
c141ecaada
fix lbl revision number, and update to latest lbl source (fix bug)
1993-10-13 13:55:38 +00:00
cgd
c667517e13
punt on doing minimal work in favor of less output in 'happy' case.
1993-10-13 12:19:37 +00:00
deraadt
8ebe5e2c2c
add ps_usertramp to to struct sigacts.
...
SunOS compatibility; libc sigtramp
1993-10-13 12:10:20 +00:00
cgd
6592c78474
slight cleanup, also, use correct directory...
1993-10-13 11:36:28 +00:00
cgd
0f46396502
define COMMON_ETHERADDR
1993-10-13 11:31:32 +00:00
cgd
78c33b3965
add mini standalone libc, to be filled in as necessary.
1993-10-13 11:16:19 +00:00
cgd
ccca0093a2
add mini standalone libc, to be filled in as necessary. strip extra gunk
1993-10-13 10:58:41 +00:00
deraadt
2c5972e86b
de-POSIX'ify sendsig() and sigreturn().
...
Eventually when we get POSIX signals, we will want to back out of this
change.
1993-10-13 10:05:03 +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
deraadt
d03d6e0acd
move sysarch() to sys_machdep.c
1993-10-13 09:01:07 +00:00
cgd
5387d8cb1b
deal with libkern
1993-10-13 08:29:45 +00:00
cgd
0eabc3bc13
sysarch() belongs in sys_machdep.c
1993-10-13 08:25:57 +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
a1c3bf517a
use the new location for libkern, auto-depend on it, and include
...
the right one, for profiling or non-profiling.
1993-10-13 06:43:17 +00:00
cgd
2fcc3cd764
add a bunch of .NOTMAINs
1993-10-13 06:17:16 +00:00
cgd
15f1203e06
slight cleanup, and ... (gasp) add comments
1993-10-13 05:55:19 +00:00
mycroft
a56ad85df4
Clean up deleted files.
1993-10-13 05:42:10 +00:00
cgd
2d4295eb29
move 'boot' and 'libkern' into 'lib'. generally clean up 'kernel library'
...
building and dependencies.
1993-10-13 05:40:23 +00:00
deraadt
9b8b095ea1
fix typos
1993-10-13 03:27:52 +00:00
deraadt
c52686ddb3
from magnum branch: nbqd() was broken
1993-10-13 03:15:57 +00:00
deraadt
ecb833f678
initialize d_ttys and d_stop properly
1993-10-13 02:38:16 +00:00
deraadt
2ab4b5e978
fixups for dynamic tty allocation:
...
cdevsw[]->d_ttys must be initialized
XXstop() functions must be callable from cdevsw[]->d_stop
the console tty is used before vm system is up, and must
allocate it's own clists..
1993-10-13 02:36:39 +00:00
deraadt
4a2a17c2f1
rebuild files from syscalls.master
1993-10-13 02:32:36 +00:00
deraadt
bb5626a7c8
Add a stub auditsys() system call that does nothing.
...
SunOS /sbin/fsck calls it..
1993-10-13 02:31:47 +00:00
jtc
799c55f316
Moved _POSIX2_VERSION macro from <limits.h>.
1993-10-12 21:58:49 +00:00
glass
428bb7f594
netboot is now in the tree. the argument that finally resulted in it being here
...
will also keep netboot from compiling until fixes are made.
1993-10-12 06:02:08 +00:00
glass
b9e5a43208
sun3 port updated. netboot integrated.
1993-10-12 05:27:46 +00:00
glass
8585a64107
sun3 port updated. netboot integrated.
1993-10-12 05:17:41 +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
jtc
9770032514
Make C++ safe by wrapping in __BEGIN_DECLS, __END_DECLS.
1993-10-11 18:28:04 +00:00
phil
b43476d41c
Changing a bsd => bsr.
1993-10-11 18:23:17 +00:00
jtc
9064bd694b
Move forward declaration of struct rusage into !_POSIX_SOURCE conditional.
1993-10-11 18:18:10 +00:00
deraadt
13c7bc2156
machdep.c: setregs() adjusts the stack correct and warns about problems
...
cpu_exec_aout_makecmds() that understands sunos ZMAGIC.
trap.c: just Theo's debugging stuff, delete later.
1993-10-11 10:53:26 +00:00
deraadt
2521f66843
setregs():
...
%sp needs to be offset +sizeof(struct rwindow)
warn if %sp isn't double-word aligned, it MUST be.
1993-10-11 04:26:33 +00:00
deraadt
c147fc9845
various: timeout parms typecast properly
...
net-posted patches from torek
sys-fbio.h -> machine/fbio.h
1993-10-11 02:49:44 +00:00
deraadt
a851f1b5f1
bwtwo.c, cgthree.c: sys-fbio.h -> machine/fbio.h
...
if_le.c: #ifdef MULTICAST some things, and do arp the old way
1993-10-11 02:45:49 +00:00
deraadt
b3147a8677
various changes, suffice to say that 4.4 syscalls do not look like ours
1993-10-11 02:44:06 +00:00
deraadt
2e78184935
cons.c, zs.c: tty->t_stop doesn't exist here. I think it goes through d_stop
...
automatically now, but have not checked.
l_ioctl() has no last parameter 'p'
fb.c: move sys/fbio.h to machine/fbio.h
various: typecast parms for timeout() properly
zs.c: extra level of indir in cdevsw[]->d_ttys
1993-10-11 02:36:38 +00:00
deraadt
d5b0b3dffa
New location for libkern, fixes for many paths.
...
+ lots of temp changes to be backed out later!
DEBUG=-g always, use gcc, link with libgcc.a, include dirs in
a weird place for my development environment.
1993-10-11 02:33:25 +00:00
deraadt
7ee2311b78
stdarg.h, varargs.h, psl.h, autoconf.h: posted patches from torek
...
cpu.h: cpu_adjstack() won't work well in the NetBSD execve - need a
different model, stub enablertclock() for now..
exec.h: a netbsd-type exec.h file (ie. empty)
param.h: add MID_MACHINE
pmap.h: delete kernel_pmap hack - it doesn't work for us, + two proto's
vmparam.h: VM_MIN_ADDRESS = 0!
1993-10-11 02:28:23 +00:00
deraadt
ed575390ee
pmap.c, machdep.c, autoconf.c, cpu.c, intr.c, : net-posted patches from Torek
...
autoconf.c: mountroot kludges that need fixing later
clock.c: two volatile decls
conf.c: stategy()'s return void, *tty[] not tty[], __P()'d xxdump() calls,
add mem_no, *constty[] not &cons.
genassym.c, machdep.c: sys/vmmeter.h needed
intr.c: make kernel writable temporarily in intr_fasttrap()
intr.c: do not use NETISR_ARP
locore.s: icode maps at 0 so do not relocate, don't define __main here.
machdep.c: don't have sysctl.h (yet), use vm_page_free_count for freemem,
setregs() sets pc/npc/stack, note: signal delivery code needs
fixing, add various other NetBSD function stubs.
pmap.c: do kernel_pmap/kernel_pmap_store the old way, delete
vm_page_startup_initialized weirdness.
swapgeneric.c: everything about mountroot needs fixing, help.
trap.c: sunsys -> sun_sysent, etc.
vm_machdep.c: don't use cpu_coredump() for now.
1993-10-11 02:16:12 +00:00
cgd
e98e3183fc
get rid of a few ref's to buffer_map
1993-10-11 02:11:28 +00:00
deraadt
d9ead6b6f5
TDR: config file i'm testing with
...
files.sparc.newconf: a files file that works
files.sparc: old name for above file, might as well delete
1993-10-10 11:19:26 +00:00
deraadt
5dbfa8c726
need these
1993-10-10 11:18:03 +00:00
rgrimes
d466119aa4
Convert space to tabs on the trapframe and sigframe lines
1993-10-10 07:23:34 +00:00
rgrimes
4119b752e0
Add symbols KERNSIZE and PDRSHIFT so that they can be used along with
...
KERNBASE to caclulate several constants in locore.s used for setting
up the vm system.
1993-10-10 07:07:52 +00:00
cgd
f017d3a03f
deal with the libc "arch" change
1993-10-10 01:53:09 +00:00
mycroft
4cbf1951c1
Put back assembler versions of setrq() and remrq(). GCC 2 is just too lame.
1993-10-09 22:49:29 +00:00
mycroft
c8431a9508
Add locore2.c as standard.
1993-10-09 22:17:36 +00:00
mycroft
99e736549a
Remove `device-driver' flags.
1993-10-09 08:55:24 +00:00
cgd
7b64280a28
patch from rod grimes:
...
Fix definitions to be in terms of a minimum number of constants by
using the SHIFT value as the basis for the other values, for example
instead of:
#define NBPG 4096
#define PGSHIFT 12
use:
#define PGSHIFT 12
#define NBPG (1 << PGSHIFT)
1993-10-09 01:35:50 +00:00
cgd
f51618137b
genassym needs a dependency...
1993-10-09 00:31:21 +00:00
cgd
3ae2c70acd
sometimes we want a profiled libkern. i can't ever see wanting a
...
PIC one...
1993-10-07 19:40:36 +00:00
cgd
0b9f50897e
make an arch directory in libc, and move all machine dirs into it
1993-10-07 00:17:24 +00:00
cgd
13a840d756
generalize kernacc() to any protections in the function "kerncheckprot()",
...
and prototype it.
1993-10-06 23:38:19 +00:00
cgd
fa29c74cd0
fix the mmap of kmem somewhat, but it's still not perfect...
...
(or, at least, it crashes the machines in some situations where
i don't think it should...)
1993-10-06 23:37:09 +00:00
cgd
d4435d2bd4
get rid of excess target line for machdep.o
1993-10-06 21:19:11 +00:00
mycroft
004534e441
Add FASTLINKS.
1993-10-06 12:15:33 +00:00
mycroft
501c1b99ad
Add cy.
1993-10-06 12:14:31 +00:00
mycroft
8cc28d314c
Merge changes from trunk.
1993-10-06 12:09:35 +00:00
mycroft
e9b92335b0
Add DRQUNK and IOBASEUNK.
1993-10-06 12:09:25 +00:00
andrew
81a9642670
Added entry for Cyclades Cyclom-{4/8/16}Y multiport async serial board
...
driver.
1993-10-06 09:31:30 +00:00
andrew
e256404adc
Cyclades Cyclom-{4/8/16}Y multiport async serial board driver.
1993-10-06 09:30:16 +00:00
andrew
13a48b8263
Goes with the new cy driver.
1993-10-06 09:27:27 +00:00
cgd
a84055b552
use the ALIGN macro to align the stack, rather than rounding up
...
by a (char *). the former is safe, even on strange machines
(read: sparc).
1993-10-06 07:27:58 +00:00
cgd
714fa4716b
changed the Debugger() call, which not all kernels have, to panic(),
...
but only when DIAGNOSTIC is defined.
1993-10-06 07:24:21 +00:00
cgd
f09334ef6c
we need the buffer hack again, now that we have a real vfs_bio...
1993-10-06 02:06:49 +00:00
phil
61a498a571
Fixing the SCSI DMA EOP problem.
1993-10-05 21:37:02 +00:00
phil
46cc20d10e
Fixed bug in calculation of nbuf and bufpages.
1993-10-04 16:09:28 +00:00
cgd
a92b57431b
make nbuf = bufpages, now that vfs_bio can do the rational thing.
1993-10-04 04:57:09 +00:00
cgd
772436479d
new, improved, and rationally-implemented vfs_bio. no more serious
...
structural changes should happen, as it now does the right thing
w.r.t. buffer resizing and having lots of buffers vs. relatively
little buffer space. Ports can now "do the standard thing", re:
nbuf and bufpages, which is make nbuf = bufpages by default.
1993-10-04 04:56:28 +00:00
pk
3387aa5184
Defined exec header flag for dynamically linked executables and shared objects.
1993-10-02 20:08:19 +00:00
deraadt
4588caefaa
Chris Torek's sparc port. Missing lots of things.
1993-10-02 10:22:00 +00:00
mycroft
9a1fcf008b
Update after fixing syscalls.master.
1993-10-02 09:55:09 +00:00
mycroft
c05111e593
Put back the $'s in the RCS id that the last commit removed.
1993-10-02 09:51:40 +00:00
mycroft
614a71039d
Call output routine redundantly to possible avoid some hangs due to missed
...
interrupts.
1993-10-02 09:28:04 +00:00
mycroft
188ab15167
Ignore carrier if not using hardware carrier detect (i.e. CLOCAL is set).
1993-10-02 08:55:16 +00:00
cgd
174c25bd21
add mmmmap (mem device mmap routine). possible problems:
...
(1) the 'physmem' constant has a value which i don't think is
correct
(2) not sure what happens if you mmap a region of kmem which is
not in the kernel's address space...
1993-10-02 00:16:24 +00:00
cgd
95e5868ee2
allow an offset to *really* be passed in for mmap's on devices.
...
From Julian Elischer.
1993-10-02 00:00:21 +00:00
mycroft
ee70c53e3f
Display a less cryptic message when the ring buffer overflows.
1993-10-01 23:12:04 +00:00
mycroft
f969ea9aa8
Fix probe routine to work for multiple controllers.
1993-10-01 23:07:27 +00:00
phil
b8234df3d9
Catching up with NetBSD current.
1993-10-01 23:01:01 +00:00
mycroft
018d1230b2
Read ethernet address correctly on NE1000 boards.
1993-10-01 22:59:57 +00:00
phil
404b011213
Updating to current versions. Still not working.
1993-10-01 22:59:31 +00:00
cgd
e27f6e3ea0
patch from Christoph Badura <bad@flatlin.ka.sub.org> to fix credential
...
use by read-ahead blocks. This fixes those weak NFS authentication
messages, and allows us to use BSDI NFS servers again...
1993-10-01 21:47:11 +00:00
mycroft
4d4bfb2287
*** empty log message ***
1993-10-01 04:00:45 +00:00
davidg
892a4681ae
* Revision 2.5 93/09/30 17:44:14 davidg
...
* patch from vak@zebub.msk.su (Serge V.Vakulenko) to work around
* a hardware bug in cheap WD clone boards where the PROM checksum
* byte is always zero
*
* Revision 2.4 93/09/29 21:24:30 davidg
* Added software NIC reset in NE probe to work around a problem
* with some NE boards where the 8390 doesn't reset properly on
* power-up. Remove initialization of IMR/ISR in the NE probe
* because this is inherent in the reset.
*
* Revision 2.3 93/09/29 15:10:16 davidg
* credit Charles Hannum
*
* Revision 2.2 93/09/29 13:23:25 davidg
* added no multi-buffer override for 3c503
*
* Revision 2.1 93/09/29 12:32:12 davidg
* changed multi-buffer count for 16bit 3c503's from 5 to 2 after
* noticing that the transmitter becomes idle because of so many
* packets to load.
*
* Revision 2.0 93/09/29 00:00:19 davidg
* many changes, rewrites, additions, etc. Now supports the
* NE1000, NE2000, WD8003, WD8013, 3C503, 16bit 3C503, and
* a variety of similar clones. 16bit 3c503 now does multi
* transmit buffers. Nearly every part of the driver has
* changed in some way since rev 1.30.
1993-10-01 02:01:43 +00:00
mycroft
fcb280ab19
Add FS_CLEANFREQ.
1993-10-01 01:47:10 +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
e57ef97529
Add LKM.
1993-09-30 20:15:25 +00:00
mycroft
83f32ad82b
Add needs-flag (or needs-count for tty devices) to all driver in the
...
switch tables. Remove ancient ethernet drivers.
1993-09-30 20:14:55 +00:00
mycroft
845512b39a
TEST: Enable com ports.
...
files.i386.newconf: Add needs-count to com.c for now.
1993-09-30 17:30:32 +00:00
cgd
b5f2079163
delete bogus kernel files/binaries, and add a .keep_me
1993-09-30 01:25:44 +00:00
mycroft
81c776a8e4
Enable mms.
1993-09-29 15:24:41 +00:00
mycroft
c27a6e4acf
Fix TIMEZONE specs; add DST.
1993-09-29 06:57:10 +00:00
briggs
8ae7f8bceb
The current MacBSD architecture sub-directory for NetBSD-0.9--more or
...
less. It needs some help to get to be -current. Support for minimal
hardware on the SE/30, II, IIx, and IIcx exists.
1993-09-29 06:08:37 +00:00
mycroft
5085e2ca53
files.i386: Defunct.
...
files.i386.newconf: Remove lpa.
TEST: Enable lms and lpt.
*: Change all lpa's to lpt's. Change fd[0-3] to fd* and wd[0-3] to wd*.
Remove all explicit irq's.
1993-09-29 05:37:29 +00:00
cgd
ff24138e60
get rid of an "#if 0", and allocate buffers here.
1993-09-29 04:51:12 +00:00
cgd
1d0f22a29a
convert to use the buffers which are (now) statically allocated at
...
startup in machdep.c... buffers are now *never* allocated after boot.
currently, the limitation that says bufpages must cover nbuf*MAXBSIZE
still exists, but this is one step closer to removing that limitation.
1993-09-29 04:49:15 +00:00
cgd
4a21fe3648
ifdef out the ttyfree()'s, so that fill_eproc doesn't panic when
...
a process's session still holds a ref to a tty which has been deallocated
and reused.
1993-09-29 02:36:21 +00:00
cgd
b85a24ec4e
get rid of stray printfs (turn them into "lprintf"s)
1993-09-28 21:26:59 +00:00
mycroft
cd216b5938
Make Ctrl-Space input a NUL and Ctrl-/ input a ^/ (undo in Emacs).
1993-09-28 04:55:17 +00:00
andrew
ef83446787
Exports the pccons ioctls.
1993-09-28 03:26:17 +00:00
andrew
ceb2a05027
Added keyboard typematic rate adjustment ioctl. Rudimentary support for
...
entering DDB from X11 by means of the F12 key (when XSERVER_DDB is
defined).
1993-09-28 03:25:01 +00:00
mycroft
10cd570bcb
Oops. Remove ancient and now defunct comment.
1993-09-28 03:07:55 +00:00
mycroft
6d09f2d446
Add new quad types alongside old ones so quad stuff in libc will compile.
1993-09-28 03:04:37 +00:00
jtc
ba0ef7cf93
POSIX.1 says ssize_t should be defined in here.
1993-09-25 01:51:31 +00:00
jtc
3d4092d798
Don't define anything if compiling in an strict ansi environment.
1993-09-24 18:29:49 +00:00
jtc
e7ecd24ac3
Do not provide quad constants if compiling in a strict ansi or a strict
...
posix environment.
1993-09-24 18:22:31 +00:00
mycroft
06c199bb44
Renamed from clock.h.
1993-09-24 09:04:56 +00:00
mycroft
054e0b73bc
clock.c: Finish conversion. Make rtcput() work if VRT bit not set. Speed up
...
time conversion in delay().
fd.c: Minor changes to autoconfig. Use dv_parent rather than storing another
pointer to the fdc_softc in each fd_softc. Change disk label stuff for our
kernel.
icu.s: Make splx() and splnone() return previous cpl for now.
isa.c: Minor autoconfig changes.
isa.h: rtcin() is now nvram() and is declare in nvram.h. Make isaphysmem a
caddr_t.
pccons.c: XXXX: Maybe we should insist they open /dev/io now.
timerreg.h: #define TIMER_NPORTS.
wd.c: Delete unused wdnoreloc() and wddospart(), and use remaining two bits in
unit number. struct disk --> struct wd_softc. struct board --> struct
wdc_softc. Still needs much work.
1993-09-24 08:49:21 +00:00
mycroft
3540378534
GENERIC, TEST: Remove all irqs.
...
std.i386: Re-add clock0 and timer0.
1993-09-24 08:45:03 +00:00
cgd
6c5f49d135
if __P is already defined, undef it.
1993-09-23 23:44:09 +00:00
mycroft
00e8bf23cd
Add `#ifdef DIAGNOSTIC' around check for dirty pages in persistent objects.
1993-09-23 22:20:29 +00:00
mycroft
c179e54a04
Ignore TS_CARR_ON when CLOCAL is set.
1993-09-23 22:16:15 +00:00
cgd
2dc346f0d1
add accounting
1993-09-23 21:31:56 +00:00
phil
893cab1278
Adding ../libkern.a to the link phase.
1993-09-23 18:25:14 +00:00
phil
7f7f472580
Adding pc532 stuff to libkern.
1993-09-23 18:16:47 +00:00
jtc
cad0f3bd0f
Added _SC_* and _CS_* constants used by POSIX.2.
1993-09-21 21:50:37 +00:00
brezak
4212e64961
Include sys/signal.h instead of machine/signal.h
1993-09-21 20:51:12 +00:00
brezak
b54c7ce913
Be sure to get sys/signal.h
1993-09-21 13:43:15 +00:00
brezak
a9f5756dd2
In resettodr() handle rtcget() failure.
1993-09-21 13:09:10 +00:00
brezak
39804a17e5
Remove unneeded saving of segment regs for USER_LDT.
1993-09-21 13:08:34 +00:00
cgd
94ac210002
rewrite biodone to the spec in the daemon book, and to account for
...
the fact that buffers with B_CALL set shouldn't be brelse()'d.
1993-09-21 00:40:02 +00:00
brezak
d0b8b43cf2
Add USER_LDT option.
1993-09-19 19:11:24 +00:00
brezak
42f1476a71
Changes for per-process/user settable LDT and full sigcontexts
1993-09-19 19:00:44 +00:00
brezak
90add535c9
Add tISP offset
1993-09-19 18:59:35 +00:00
brezak
a3e9fd6947
Add per-process LDT slot.
1993-09-19 18:59:17 +00:00
brezak
044ac34c5a
Define signal frame here.
1993-09-19 18:58:39 +00:00
brezak
66f540572a
Defines architecure dependant syscalls.
1993-09-19 18:58:14 +00:00
brezak
5413da0ff5
Machine dependant signal.h. Defines sigcontext and sig_atomic_t for i386 port.
1993-09-19 18:57:48 +00:00
brezak
8c7d2d17e2
Make sigcontext and sig_atomic_t machine dependant.
1993-09-19 18:56:21 +00:00
brezak
1905040ad2
Add sysarch() syscall.
1993-09-19 18:55:38 +00:00
mycroft
085d8cf4fd
Reverse part of the quad changes; this should only be in the branch.
1993-09-17 03:35:48 +00:00
cgd
0145d113ae
get rid of the #ifndef KERNEL around the include of sys/cdefs.h,
...
a la 4.4, because it seriously breaks things otherwise, given
inclusion of endian.h in types.h
1993-09-17 01:44:08 +00:00
cgd
cf6729f6fe
patch from ws via brezak, to fix the "don't panic, but can't see
...
anything in subdirs" problem.
1993-09-17 01:21:46 +00:00
cgd
4f10c7ead8
kill volatile warning.
1993-09-16 22:08:30 +00:00
ws
51a962e341
Bug fix in compare routine for correct sorting order.
...
But at the same time disable sorting optimization,
as there are a lot of CDs with incorrectly sorted directory records.
1993-09-16 16:54:09 +00:00
mycroft
dd964a65fd
Add quad_t and u_quad_t, fix qaddr_t, nuke quad and u_quad.
...
Also, #include <machine/endian.h> (a la 4.4).
1993-09-16 06:03:45 +00:00
mycroft
a46b224043
Add constants for quad support.
1993-09-16 06:01:11 +00:00
mycroft
111aecd0a9
Add an #ifndef _POSIX_SOURCE...
1993-09-16 05:59:43 +00:00
brezak
cb098b5eb0
Changes to use a trap frame for syscalls.
1993-09-16 03:24:13 +00:00
mycroft
606544f20d
Add _QUAD_HIGHWORD and _QUAD_LOWWORD for Torek's quad stuff.
1993-09-16 02:25:45 +00:00
cgd
9c32bc786a
make allproc be volatile, and cast things accordingly.
...
suggested by torek, because CSRG had problems with reordering
of assignments to allproc leading to strange panics from kernels
compiled with gcc2...
1993-09-15 22:30:32 +00:00
cgd
a3b397dd18
compile boot blocks with -O6. this makes them "fit". this is sick.
1993-09-15 22:17:54 +00:00
brezak
ff02097496
No need to lospecifiy load address at 1M, now the default for any kernel.
1993-09-14 20:01:19 +00:00
mycroft
fd156a97fa
New i386 code.
1993-09-14 17:28:06 +00:00
ws
019b759766
Fix a bug in local (non-NFS) directory reading
1993-09-14 13:13:45 +00:00
mycroft
40222e846f
Fix from Noriyuki Soda <soda@sra.co.jp>:
...
recvmsg(2) always returns -1 with errno==EMSGSIZE, when trying
to pass file descriptors through UNIX domain socket.
1993-09-14 03:35:08 +00:00
jtc
236d597f4d
I forgot that someone may want to use a profiled libkern...
1993-09-13 21:01:09 +00:00
jtc
80c05334ec
Allow libkern to be installed by a non-root user.
1993-09-13 19:53:18 +00:00
brezak
5823e758f1
Remove SYMTAB_SPACE from config so that boot symbols are used.
1993-09-13 18:19:26 +00:00
brezak
7d2eb9e6b6
Default LOAD_ADDRESS at 0xfe100000 (1M)
1993-09-13 15:28:23 +00:00
brezak
b119f3ec4f
Add MACHINE_NONCONTIG option
1993-09-13 14:22:42 +00:00
brezak
b4940ad7a0
Wrap iprintf, vm_object_print, vm_map_print to allow passing a printf function.
1993-09-13 14:10:35 +00:00
brezak
4881cb0d51
Call vm_map_print and vm_object_print with func ptr to db_printf. Add DDB_MACHINE_COMMANDS from Mach 3.0 version.
1993-09-13 14:08:54 +00:00
phil
3b4c805248
Various changes, including new ptrace support and modified exec support.
...
Some clean-up of code is done.
1993-09-13 07:26:47 +00:00
phil
5e277797c4
A change for new ptrace support.
1993-09-13 07:25:44 +00:00
phil
663f916d6d
Getting past a bug that caused a "free: multiple frees" panic.
...
This should not be final code.
1993-09-13 07:25:06 +00:00
phil
d3da2305a5
following changes in ????pager stuff.
1993-09-13 07:23:45 +00:00
glass
0c9ec05f20
check return codes on copyout()s, panic if they fail.
1993-09-12 07:56:22 +00:00
phil
23830f084c
Getting the correct MID value.
1993-09-12 06:26:13 +00:00
jtc
c3f643cd8a
Remove NEED_* defines, as they are now satisfied by libkern.
1993-09-11 00:16:40 +00:00
jtc
0d2e8f0fcb
Link with libkern.
1993-09-11 00:14:13 +00:00
jtc
cab4d78107
Removed functions moved to libkern: strcpy, strlen, ffs, etc.
1993-09-11 00:12:56 +00:00
jtc
c9dca7f48a
Removed functions moved to libkern: scanc, skpc, locc.
1993-09-11 00:09:25 +00:00
jtc
070f4a7f50
Removed functions moved to libkern: strcpy, strcmp, strlen, ffs, etc.
1993-09-11 00:08:03 +00:00
jtc
8173ef3c7f
Compile libkern too.
1993-09-10 23:33:02 +00:00
jtc
46994ea76a
Install libkern.a in sys/arch/${MACHINE}/compile.
1993-09-10 23:32:17 +00:00
deraadt
042a6b6653
MID_PC532 -> MID_NS32532. All of these machines have 4K page sizes.
1993-09-10 21:27:35 +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
phil
de69711383
These changes are due to a mismatch with user functions prototyped as
...
func(short) and the fact the the kernel uses full ints. This caused
problems on the pc532 port. These fixes take the good 16 bits passed
by the user program and converts them into the correct form for the
kernel.
1993-09-09 22:03:59 +00:00
mycroft
c87683c012
Make various macros work if outb() is being inlined.
1993-09-09 15:16:14 +00:00
davidg
a5f8e1f738
added include of select.h to bpfdesc.h because it now has a reference to
...
struct selinfo.
1993-09-09 09:43:18 +00:00
davidg
1c880d62bf
As of this revision, all known bugs have been fixed. Some of the fixes include:
...
1) fixed 3c503 lock-up if the thinwire cable was disconnected at boot time
2) 8013EBT boards now work (quite well!) in 16bit/16k mode
3) ED_NO_DOUBLE_BUFFERING flag now works
4) slightly higer performance (about 3%) with 16bit WD/SMC boards
5) support for WD8013WC (10BaseT) boards
Additionally, the probe code has been reorganized to be much cleaner. This
revision of the driver is 1.25. The release notes have been updated as well.
1993-09-09 09:40:56 +00:00
mycroft
64540d3533
Patch from David Greenman to reduce CPU usage during network transmit.
1993-09-08 21:12:49 +00:00
jtc
aabddf622f
STDC -> __STDC__
1993-09-08 16:55:17 +00:00
cgd
84a8fbe900
ws forgot two backslashes (so it tossed his 'cookies')
1993-09-07 20:02:19 +00:00
ws
053f138dae
Changes to VFS readdir semantics
...
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
mycroft
6409dcaef1
Trivial stylistic change.
1993-09-07 07:35:41 +00:00
mycroft
0230178143
Clean up deleted files.
1993-09-07 02:25:20 +00:00
deraadt
a6b1318c68
Adding the (non-optional) option MACHINE_NONCONTIG
1993-09-07 00:56:05 +00:00
mycroft
515949e42e
Add a bunch more shit that was missing.
1993-09-07 00:36:27 +00:00
mycroft
5be4167214
Rearrange SCSI probing to actually work.
1993-09-07 00:25:50 +00:00
mycroft
0dc9a11469
Rearrange ethernet probing in the vain hope that maybe, just maybe, the ne0
...
probe's effect on ed0 will be reversed when the latter is reset.
1993-09-06 23:35:19 +00:00
mycroft
8c7f0d2e48
Comment out we0 and ec0, and add equivalent ed0 and ed1.
1993-09-06 23:31:33 +00:00
mycroft
5e532f3f9f
Add a generous dose of comments.
1993-09-06 23:29:33 +00:00
mycroft
07e57f53a2
Put back printf() for entry point. It certainly fits.
1993-09-06 22:09:45 +00:00
mycroft
58f1a7c3cd
Make nfs_timer() return void.
1993-09-06 21:25:20 +00:00
mycroft
a75978c2e0
Change `NFS' to `NFSSERVER,NFSCLIENT'.
1993-09-06 21:15:56 +00:00
mycroft
229a34c6b3
Correct I/O ports for mice.
1993-09-06 18:37:56 +00:00
mycroft
0535b6089e
Avoid clash of struct ns_addr with #define ns_addr.
1993-09-06 18:30:39 +00:00
mycroft
84c634662f
Move the `#include "bpfilter.h"' to a more logical and easy to find place.
1993-09-06 18:27:22 +00:00
mycroft
bec04754dc
Update for new select(), and fix another `struct arpcom.ac_enaddr'.
1993-09-06 18:24:35 +00:00
mycroft
e591f2882f
Declare frame_reject(), rej_routine(), free_iframes() as static.
1993-09-06 18:09:55 +00:00
mycroft
f2a8151b46
Move pk_flowcontrol() up and declare it static void.
1993-09-06 18:08:02 +00:00
mycroft
9548a87f3c
p_netservice is a u_char. There is no imaginable reason to check it < 0.
1993-09-06 18:05:06 +00:00
mycroft
eee6903080
Make snpac_age() and esis_config() return void to eliminate warnings.
1993-09-06 18:02:44 +00:00
mycroft
80d54c4ba8
Declare old_to_new() and new_to_old() as static, to eliminate warnings.
1993-09-06 17:43:33 +00:00
mycroft
29c396142a
Update for new select() mechanism.
1993-09-06 17:41:45 +00:00
mycroft
91b8683f3e
Make Ctrl-Space and Ctrl-2 send a NUL, even without XSERVER defined.
...
(This has annoyed me for a while, and people are complaining about it.)
1993-09-06 05:52:33 +00:00
mycroft
15567ab7a7
Add missing arg to vm_mmap() call in grfmmap().
1993-09-06 02:24:08 +00:00
mycroft
526dbecdb2
A little more cleanup; 0 --> FALSE and 1 --> TRUE.
1993-09-06 02:06:34 +00:00
mycroft
cc054a83e7
De-ANSIfy and re-KNFify.
1993-09-06 02:03:03 +00:00
mycroft
9cd4c25c2a
Second wd0 should be wd1.
1993-09-05 22:34:12 +00:00
mycroft
29aea147e8
Add \n to end of error message.
1993-09-05 22:07:31 +00:00
deraadt
25ea1dc489
add possibly working sparc libkern stuff
1993-09-05 21:50:41 +00:00
deraadt
0b7eb3ad09
add possibly working sparc libkern stuff
1993-09-05 21:39:52 +00:00
mycroft
59d53ecfbf
Check some boundary conditions is cursor movement and scrolling.
1993-09-05 17:56:58 +00:00
deraadt
7c8271a011
I give up. Clearly, SYMTAB_SPACE is required at the moment to build a
...
kernel that doesn't go foom in locore.s
1993-09-05 16:42:54 +00:00
sef
b477be52eb
Yet more of the ptrace() reorg; now ptrace_setregs() and ptrace_getregs()
...
are present, along with PT_GETREGS and PT_SETREGS ptrace commands.
1993-09-05 03:53:52 +00:00
cgd
15359c9f59
enable loadable execution handlers. need to do something better re:
...
how much of the file to pass in the exec package, but i think the
solution to that will be to pass e.g. a disk block's worth, or whatever;
if exec handlers really need more, they've got the damned vnode.
1993-09-05 01:36:28 +00:00
cgd
83aeee1bc0
there now exists an "exec switch". break the a.out code into another
...
module, and tidy up the interface so that other object formats are
more easily supportable.
1993-09-05 01:33:35 +00:00
cgd
5384291866
add kern/exec_aout.c as a standard file.
1993-09-05 01:31:59 +00:00
cgd
9840b0b7af
update for new exec; a few name changes and (*gasp*) addition of comments.
1993-09-05 01:31:39 +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
cgd
a05bd46763
patch from Szabolcs Sziget <pink@bagira.fsz.bme.hu> to load lkm device
...
drivers properly.
1993-09-05 00:55:57 +00:00
cassidy
40c0c0a558
Add definition for reverse address resolution protocol.
1993-09-05 00:52:15 +00:00
cassidy
660c5a501a
Add definitions for RARP request and reply.
1993-09-05 00:46:54 +00:00
cgd
59a008c712
change maximum stack size to 8M.
1993-09-04 22:21:28 +00:00
sef
fddf2c7605
ptrace_single_step() and ptrace_set_pc() should return errors if
...
necessary. (Mainly because the SPARC can't easily single step, so
it should return EINVAL, and then ptrace() should return that to the
user.)
1993-09-04 08:46:36 +00:00
cgd
3aa99f85dc
better ptrace() support from Sean Eric Fagan <sef@kithrup.com>
1993-09-04 05:32:18 +00:00
cgd
37e8d5291e
get rid of bogosities of the form "vm_maxsaddr + MAXSSIZ", and replace
...
them with USRSTACK. the former was a hack by wfj to accomodate his screwy
execve() implementation. the latter is a (minor) reversion to net/2.
1993-09-04 01:29:22 +00:00
cgd
2403a33987
decouple MAXDSIZ and MAXSSIZ. MAXSSIZ now is 2M; shouldn't need more,
...
and saves time in exec.
1993-09-04 00:38:47 +00:00
cgd
6a474f29e2
get rid of maxdmap, and seperate MAXDSIZ and MAXSSIZ in rlimit checking.
1993-09-04 00:37:54 +00:00
jtc
4475f55d8f
Include systm.h to get prototypes (and possibly inlines) of *max functions.
1993-09-04 00:02:48 +00:00
jtc
9c00bc072d
Include systm.h to get prototypes (and possibly inlines) of *max functions.
...
Change mbinit() to match prototype.
1993-09-04 00:01:43 +00:00
jtc
f7b7d95850
include systm.h to get prototypes (and possibly inlines) of *max functions.
1993-09-04 00:00:19 +00:00
jtc
f1fd37d722
Include systm.h to get prototypes (and possibly inlines) of *max functions.
1993-09-03 23:57:21 +00:00
jtc
845813ef01
Inline max, min, imax, and imin if using GCC.
1993-09-03 23:53:09 +00:00
jtc
ca642ba3a4
Pull list of port dependant functions from ${MACHINE}/Makefile.inc.
...
Pull list of arch dependant functions from ${ARCH}/Makefile.inc.
1993-09-03 19:05:59 +00:00
jtc
cb00e61145
Files needed for HP300 port
1993-09-03 19:04:47 +00:00
jtc
e2d94bde8f
Files needed for i386 port
1993-09-03 19:04:23 +00:00
jtc
1142cb8b4f
Assembly routines common to all m68k ports.
1993-09-03 19:03:23 +00:00
cgd
fb0dffe28a
new byte-order-independent isofs patches from mw
1993-09-03 04:37:52 +00:00
cgd
90fe4cc799
make the EJUSTRETURN return in the lookup function be #ifdef __bsdi__,
...
because they did some strange hacks in vfs_lookup...
1993-09-03 04:36:25 +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
mw
3b2546cf2e
new source release integrated from amiga-release.
1993-09-02 18:05:24 +00:00
mw
f208f36711
Update of arch/amiga tree, includes
...
- realtime clock support for a2k and a3k
- scsi drivers for a2091 and gvp-II controllers in a2k
- working ethernet driver for a2065/ameristar lance-controllers
1993-09-02 16:52:31 +00:00
mw
9ecae8d2e1
Initial revision
1993-09-02 16:52:30 +00:00
mw
7dac6517f1
Update of arch/amiga tree, includes
...
- realtime clock support for a2k and a3k
- scsi drivers for a2091 and gvp-II controllers in a2k
- working ethernet driver for a2065/ameristar lance-controllers
1993-09-02 16:52:13 +00:00
paulus
3ecb88ccbc
Fixed bug in if_ppp.c so that received IP packets are passed correctly to BPF.
1993-09-02 12:10:59 +00:00
cgd
c10d5aa752
get rid of bogus #define of resettodr(); now setting time actually works!
1993-09-02 02:10:35 +00:00
jtc
afa3cebb3c
Add stuff for HP300 that "looks" right.
1993-09-02 01:50:22 +00:00
jtc
c0b7ba2878
i386 kernel uses a different setjmp() than the C library does.
1993-09-02 01:01:47 +00:00
jtc
234dcd9a54
Use .PATH: to grab appropriate files from the C library.
1993-09-02 01:00:42 +00:00
cgd
491d6b4b9d
fix problem where exec would lose on shell scripts with symlinks in
...
their names. fix from "James W. Dolter" <jdolter@sawtooth.eecs.umich.edu>.
test script:
#!/bin/csh
mkdir /tmp/foodir
cat > /tmp/foodir/testscript <<EOF
#!/bin/sh
echo "Executing script \$1"
EOF
chmod 755 /tmp/foodir/testscript
(cd /tmp ; ln -s foodir foosym)
echo "Trying full path (w/o symlink) to /tmp/foodir/testscript"
/tmp/foodir/testscript "with out symlink"
echo "Trying full path (w/ symlink) to /tmp/foosym/testscript"
/tmp/foosym/testscript "with symlink"
echo "End of Test"
1993-09-01 21:43:50 +00:00
jtc
4e075d626f
Start of libkern.a
1993-09-01 21:14:13 +00:00
glass
2cb87de98b
fixs long broken 'dequeue' macro which would expand to 'dequeue_head' which
...
is never defined. added fix from my private sources:
#define dequeue_head(queue) remqueue(queue, queue_first(queue))
no one noticed, because everyone used the 'remqueue' interface except me.
1993-09-01 15:55:26 +00:00
glass
5da38538f7
sun3 has scanc support, so it doesn't need the ufs_subr.c version
...
this crud will go away with the usage of libkern
1993-09-01 15:53:42 +00:00
glass
9b5c6f79ab
sun3 like n-other platforms is currently using the empty cpu_disklabel struct
1993-09-01 15:51:21 +00:00
deraadt
20c3896fb4
MID_PC532 (NS32532 w/ 4K pagesize)
1993-09-01 08:56:03 +00:00
deraadt
408a659fa9
pc532 has an empty cpu_disklabel
1993-09-01 08:54:36 +00:00
deraadt
ae8b49f87b
#ifdef pc532 in same places as #ifdef i386
1993-09-01 08:49:45 +00:00
mycroft
73c9dd61b0
Add ed2, as per GENERICAHA.
1993-09-01 05:36:33 +00:00
mycroft
3db4b24245
Add ed2 at 0x300, irq 10, 0xcc000, which people can configure by hardware.
1993-09-01 02:31:10 +00:00
deraadt
28c37a0949
fixed a little /lib/cpp boo-boo
1993-08-31 13:46:31 +00:00
cgd
d365662684
ok, initialize that errno, to make theo and gcc2 happy...
1993-08-31 01:52:34 +00:00
cgd
518f7c78d6
a program being exec'd *must* cause *some* exec commands to be invoked;
...
if it doesn't there's a problem in the kernel, because a program
with no exec commands run will have no address space except the stack,
and i don't think it's valid to have a "run from stack only" exec type,
so panic. if need for that case comes up later, it can be changed...
1993-08-31 01:46:36 +00:00
paulus
d71061b357
Modified if_ppp.c and if_ppp.h to add priority queueing for "interactive"
...
traffic (done in a similar fashion to if_sl.c), and BPF support.
1993-08-31 00:05:27 +00:00
brezak
5bce7d4176
Add prototype for pmap_bootstrap().
1993-08-30 18:09:57 +00:00
deraadt
2700f4771d
add ppp
...
tty_ring.c -> tty_subr.c
vfs__bio.c -> vfs_bio.c
1993-08-30 07:30:35 +00:00
deraadt
a87b4a30bd
pagers are now options, not pseudo-devices
1993-08-30 07:09:20 +00:00
deraadt
86d51ac6f8
pagers are not options, not pseudo-devices
1993-08-30 07:07:53 +00:00
deraadt
6fce70ed63
blast it, i forgot two ('s
1993-08-30 06:25:10 +00:00
deraadt
9aed375ba3
tty XXstart() routines return void
1993-08-29 13:46:31 +00:00
deraadt
a14da75496
add MID_SPARC
1993-08-29 13:25:25 +00:00
deraadt
bab3a9ce58
added two __P() macros
1993-08-29 13:16:04 +00:00
brezak
aaf4f8dbc5
Changes for boot loading of symbols.
1993-08-29 12:48:10 +00:00
brezak
7f550be7fd
Remove prototype for pmap_bootstrap()
1993-08-29 12:12:20 +00:00
mycroft
d48a7d8497
There is no longer any good reason to allocate a small number of ptys.
...
Increased to 32 so people will not bitch at me next time around.
1993-08-29 01:54:22 +00:00
cgd
b1eacffd69
print more DIAGNOSITC info, and startrtclock early on the mac (like i386)
1993-08-29 01:50:49 +00:00
cgd
405b084fe6
return some errors other than EIO from swstrategy()
1993-08-29 01:50:20 +00:00
glass
4ec9b1bdc3
some more comments
1993-08-28 23:21:47 +00:00
glass
9ee18a34de
last few notes
1993-08-28 16:11:51 +00:00
glass
be4748c4d8
last snapshot before uploading
1993-08-28 15:40:22 +00:00
glass
a2133ea268
last snapshot before uploading. we still have serious clock problems
1993-08-28 15:35:16 +00:00
cgd
468c5f5158
put PROCFS in pain...
1993-08-28 11:00:35 +00:00
brezak
cbb8694148
Add func protos for shm*() syscalls.
1993-08-28 02:05:42 +00:00
brezak
966d7491cc
Changes: Boot omagic kernels (like Mach), pass cnvmem, extmem, and esym args, load symbol table into memory, enable kbd clock.
1993-08-28 01:18:43 +00:00
brezak
534b51feac
Declare find_isadev() function.
1993-08-28 00:13:55 +00:00
brezak
62164fe535
Add find_isadev() and have sysbeep() use common defines.
1993-08-28 00:13:00 +00:00
brezak
548e9c5a3f
Remove warnings.
1993-08-28 00:11:33 +00:00
brezak
db43439bb0
i386 Machine dependant changes to handle non-contiguous memory.
1993-08-28 00:02:45 +00:00
brezak
a54d809cd8
Need LOAD_ADDRESS for depend pass.
1993-08-27 23:58:20 +00:00
brezak
42484186e9
Load at 1M and turn-on MACHINE_NONCONTIG option.
1993-08-27 23:55:28 +00:00
brezak
4aca3365cc
i386 Machine dependant changes to handle non-contiguous memory.
1993-08-27 23:52:22 +00:00
brezak
15c3400ffe
Machine independant changes to VM for handling non-contiguous memory.
1993-08-27 23:45:55 +00:00
mycroft
bc2088820b
+ #if defined(INET) && NETHER > 0
...
+ #endif
Around the:
/* XXX -- Temporary fix before changing 10 ethernet drivers */
so you can compile a kernel with out INET and ETHERNET support.
1993-08-27 10:26:08 +00:00
pk
dd119ec84b
Implement setattr: mode for process entries; mode + uid/gid for the
...
PROCFS root directory.
Fixed omission in pfs_root() which came to light as a result of the above:
hold on to vnode for root dir.
1993-08-26 19:01:00 +00:00
pk
0732d8a8b1
Added VPROC to vprint()'s vnode type representation array.
1993-08-26 18:57:02 +00:00
cgd
4c54aa0ce8
yup, that's right folks, we're now working on 0.9a...
1993-08-26 10:59:16 +00:00
deraadt
538e35852c
ugh.
1993-08-26 09:52:16 +00:00
cgd
225917bfe6
0.9 "official" patch 001:
...
(1) added support for ed1 in both generic kernels at:
device ed1 at isa? port 0x250 net irq 9 iomem 0xd8000 vector edintr
(2) brought if_ed.c up to DG's 1.19 rev.
1993-08-26 00:26:50 +00:00
mycroft
ac815031d0
Um, last change was wrong. Instead, add 3 to the number of inodes (forget
...
about the root directory, too).
1993-08-25 14:41:19 +00:00
mycroft
b3f22bcdcc
Subtract to from the free count for `.' and `..', to maintain the fiction that
...
this is a real file system.
1993-08-25 14:35:20 +00:00
pk
1e37ac6db4
Fixed improperly initialized nfsnode in pfs_lookup()
1993-08-25 09:28:39 +00:00
mycroft
c5e6262e4e
Add ACCOUNTING and GATEWAY options.
1993-08-24 21:39:35 +00:00
glass
8a49818de4
snapshot. starts nfsmountroot but doesn't seem to emit any packets
1993-08-24 20:26:48 +00:00
mycroft
59bd26aec5
Double data size limits to make GCC happier.
1993-08-24 17:56:21 +00:00
pk
8dc35fb5d6
Fill inode fields in procfs_statfs(), in stead of block fields
1993-08-24 17:49:16 +00:00
pk
834a44f21f
copyright update.
1993-08-24 16:47:23 +00:00
pk
2741511a98
Added Rcs Id.
1993-08-24 16:29:29 +00:00
pk
0cbe77737a
Rcs Id added.
1993-08-24 16:25:07 +00:00
mycroft
ece0d82f04
Make mfs_print() return a void to prevent a warning from GCC.
1993-08-24 14:54:14 +00:00
pk
498189f379
Initial version of a proc filesystem.
1993-08-24 12:59:09 +00:00
pk
d18c6d88d0
Support added for proc filesystem.
1993-08-24 12:56:22 +00:00
pk
691f917c0d
ioctl definitions for procfs.
1993-08-24 12:55:11 +00:00
pk
cc64019e82
Added support for proc filesystem.
1993-08-24 12:53:50 +00:00
pk
6b29756e78
Add files for proc filesystem.
1993-08-24 12:52:29 +00:00
mycroft
22ab556e04
If ospeed is set to 0, SIGHUP the session leader (if any).
1993-08-23 16:36:42 +00:00
mycroft
742dcd5655
RLIMIT_OFILE --> RLIMIT_NOFILE
1993-08-23 16:01:56 +00:00
cgd
4543c1ebfd
changes from 0.9-ALPHA2 to 0.9-BETA
1993-08-23 04:59:38 +00:00
glass
6041363205
gets past enablertclock(), now time to deal with the mountroot mess
1993-08-22 21:26:15 +00:00
glass
dc22f15a6d
snapshot. for uploading. gets lost in swtch after enablertclock()
1993-08-21 02:16:07 +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
andrew
4e65827b6c
Moved vm_map_create()'s out-of-maps panic to a more appropriate place.
1993-08-19 03:13:24 +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
jtc
35fdf4ad74
Declare ntohl, ntohs, htonl, and htons functions.
...
Use GCC's inline assembly iff we are using GCC.
Use bswap instruction if using gcc and defined(KERNEL) &&
((defined(I486_CPU) || defined(I586_CPU)) && !defined(I386_CPU))
1993-08-16 18:30:35 +00:00
glass
2b5ecfd1ab
cute bug that mycroft fixed in the hp300 stuff
1993-08-16 16:36:47 +00:00
mycroft
39715a6423
Remove *netbsd, not *vmunix.
1993-08-16 16:23:38 +00:00
glass
ce39daad77
'clock' is now part of the standard config system instead of being done
...
early and in a hacked way. the movement of startrtclock() to below
cpu_startup() allows this.
1993-08-16 10:42:37 +00:00
glass
a5a10a9e7c
'clock' is now part of the standard config system instead of being done
...
early and in a hacked way. the movement of startrtclock() to below
cpu_startup() allows this.
1993-08-16 10:42:19 +00:00
glass
8ff8fa8046
runs up to and including configure().
...
todo: exceptions, interrupt support, make isrs affect vector table
kernel/user stacks
1993-08-15 23:01:58 +00:00
deraadt
49de25e741
remove the "#ifdef XXXFS" type things
1993-08-15 21:24:05 +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
fbd4257135
Put `#ifdef notyet' around some code which is currently defunct.
1993-08-14 10:02:30 +00:00
deraadt
af6c95dd23
sigh..
1993-08-14 07:31:28 +00:00
deraadt
3604916e13
ppp from paul mackerras
1993-08-14 06:29:28 +00:00
mycroft
a770c59274
Set MID_MACHINE to MID_M68K4K.
1993-08-14 02:46:00 +00:00
mycroft
38239524ee
Absolutely unimportant change to RCS identifier stuff.
1993-08-14 01:29:36 +00:00
glass
0d15daad8a
added chksum support from hp300, removed bad stub
1993-08-13 22:37:56 +00:00
glass
7ffaf186bb
baseline revision
1993-08-13 22:00:55 +00:00
glass
7318599b7c
snapshot of intergration of torek's config
1993-08-13 13:19:41 +00:00
glass
9c18e650a2
snapshot. ready to call configure(), partial integration of torek's config
...
stuff, i.e it looks to do the right thing but we haven't written any code
yet :)
1993-08-13 13:16:11 +00:00
glass
f94a1c2f10
snapshot. ready to call configure(), partial integration of torek's config
...
stuff, i.e it looks to do the right thing but we haven't written any code
yet :)
1993-08-13 13:16:07 +00:00
cgd
8a761f189a
brought in fixed/renamed/matching MS-DOS FS code, from Jeff Polk
...
<polk@bsdi.com>. His notes are as follows:
------------------------------------------------------------------------------
July 22, 1993
- Changed name of entire package from PCFS to MSDOSFS
- Fixed bugs:
root directory size in clusters instead of bytes
growing directory didn't update in-core size
link, symlink, mknod didn't free locked parent (deadlock)
lookup returned real error on create and rename instead of EJUSTRETURN
rename changed `.' entry in child instead of name entry in parent
rename removed `.' entry in child instead of removing entry in
parent when moving a directory from one dir to another
createde() left new node locked when write of parent failed (deadlock)
removede() decremented refcount even on error (rmdir's which failed
due to write errors left in-core cache entries inconsistent)
changed validation for filesystem to not check for the boot signature
since some disks (e.g., mtools) aren't bootable
directories are always show current time as modify time
(needed for NFS export since DOS never updates dir mod times --
ctime is true create time).
- Added support for cookies changes to the readdir() vnode
interface (#ifdef __bsdi__)
- Punted on the whole problem of inode generation numbers. This means
that there's a chance of using a stale file handle to access a new
file, but it doesn't appear to be the common case, and I don't see
how to generate reasonable generation numbers without changing something
on the disk (which is the way the SVR4 filesystem survival kit guys
did it). I don't think it would be very safe to change the on-disk
format.
Jeff Polk (polk@BSDI.COM )
------------------------------------------------------------------------------
1993-08-13 11:35:58 +00:00
mycroft
d06308f7e2
Clean up deleted files.
1993-08-13 11:35:49 +00:00
cgd
54eb3b1f88
brought in fixed/renamed/matching MS-DOS FS code, from Jeff Polk
...
<polk@bsdi.com>. His notes are as follows:
------------------------------------------------------------------------------
July 22, 1993
- Changed name of entire package from PCFS to MSDOSFS
- Fixed bugs:
root directory size in clusters instead of bytes
growing directory didn't update in-core size
link, symlink, mknod didn't free locked parent (deadlock)
lookup returned real error on create and rename instead of EJUSTRETURN
rename changed `.' entry in child instead of name entry in parent
rename removed `.' entry in child instead of removing entry in
parent when moving a directory from one dir to another
createde() left new node locked when write of parent failed (deadlock)
removede() decremented refcount even on error (rmdir's which failed
due to write errors left in-core cache entries inconsistent)
changed validation for filesystem to not check for the boot signature
since some disks (e.g., mtools) aren't bootable
directories are always show current time as modify time
(needed for NFS export since DOS never updates dir mod times --
ctime is true create time).
- Added support for cookies changes to the readdir() vnode
interface (#ifdef __bsdi__)
- Punted on the whole problem of inode generation numbers. This means
that there's a chance of using a stale file handle to access a new
file, but it doesn't appear to be the common case, and I don't see
how to generate reasonable generation numbers without changing something
on the disk (which is the way the SVR4 filesystem survival kit guys
did it). I don't think it would be very safe to change the on-disk
format.
Jeff Polk (polk@BSDI.COM )
------------------------------------------------------------------------------
1993-08-13 11:35:13 +00:00
andrew
22dff5862a
Removed the user area protection gunk I painstakingly removed in revision
...
1.9. It has not been necessary since then due to a segment fixup made to
machdep.c that prevents access to anything above MAX_VMUSER_ADDRESS.
1993-08-13 03:50:02 +00:00
glass
c644c0979f
snapshot of existing config 'files', + torek's distributed one
1993-08-13 01:05:10 +00:00
glass
e548bebda8
new file for interrupt handling
1993-08-10 08:50:34 +00:00
glass
a1d3be118e
fixed problem that caused two consecutive segments to be using the same
...
pmeg unknowingly. still too many printfs, not sure how many are actualy
in the machine dependent code. reaches cpu_startup() where it stops
deliberately. next project: autoconfig(), maybe kgdb
1993-08-10 08:42:34 +00:00
deraadt
4ed4b0d387
delete a reference to the old 'as' device driver.
1993-08-10 08:42:25 +00:00
glass
2824cc586e
fixed problem that caused two consecutive segments to be using the same
...
pmeg unknowingly. still too many printfs, not sure how many are actualy
in the machine dependent code. reaches cpu_startup() where it stops
deliberately. next project: autoconfig(), maybe kgdb
1993-08-10 08:42:16 +00:00
deraadt
342e987d36
Theo runs ppp
1993-08-10 04:01:03 +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
deraadt
645baf642a
MID_MACHINE values for 4K and 8K m68k machines. Please use.
1993-08-09 05:55:39 +00:00
deraadt
b7fcd001c8
add an additional suser() check.
...
regular users should not be able to change slip interface characteristics!
1993-08-09 05:11:52 +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
deraadt
13b002b9d3
suser() was being called in the old 4.3 way
1993-08-09 01:19:38 +00:00
glass
3cdabf7870
lots of changes, too many printfs
1993-08-08 12:21:50 +00:00
glass
3b87958501
various changes
1993-08-08 12:18:27 +00:00
glass
e15d5c21d8
stuff to make them compile properly
1993-08-08 12:17:37 +00:00
glass
f62f42a80a
make config -g work, add timesink config
1993-08-08 12:16:57 +00:00
mycroft
0940a6873b
Change di_urdev and va_rdev back to u_longs for now.
...
(NOTE: You must completely rebuild your kernel!)
1993-08-08 12:10:05 +00:00
cgd
e5ea45d312
there are some devices out there which use... NO I/O PORTS!
1993-08-08 09:54:23 +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
mycroft
681bf3f675
Add RCS identifier.
1993-08-07 09:32:14 +00:00
cgd
d8b362e8f2
this lets it get through autoconfig
1993-08-07 08:54:02 +00:00
cgd
cd56dd1638
merge in changes from netbsd-0-9-ALPHA2
1993-08-07 07:53:27 +00:00
cgd
d0aa5a0b99
squish KGDB options
1993-08-07 07:29:45 +00:00
cgd
ea4defd6da
do the Net/2 thing with startrtclock() for non-i386 architectures.
...
i386's startrtclock should be moved down, as well, but i believe it
does some magic...
1993-08-07 06:25:43 +00:00
cgd
acf8d8b584
deal with ddb bogosities
1993-08-07 06:03:02 +00:00
cgd
f5ec218873
the swtch() calls here should not need to be splclock() protected,
...
and certainly don't need to be bracketed by splclock()/splnone(),
the latter of which is a jolitz invention.
1993-08-07 05:16:38 +00:00
cgd
e1443b1923
add definition of mountroot()
1993-08-07 05:14:00 +00:00
cgd
26817f18ab
fix prettyprinting changes that caused the kernel to not link if you
...
defined DIAGNOSTIC but not DDB...
1993-08-07 05:08:11 +00:00
cgd
18a419e9bb
some more ring buffer -> clist changes
1993-08-07 04:42:15 +00:00
glass
7e7509f5ff
gets to consinit() and blows up
1993-08-05 23:09:17 +00:00
brezak
67dfce6728
Normalize play_msf changes with 386bsd patch.
1993-08-04 19:33:44 +00:00
brezak
930ac1c94f
Normalize play_msf changes with 386bsd patch.
1993-08-04 19:33:38 +00:00
brezak
80a965ba28
Add play_msf command and MSF variants. This is SCSI2 stuff and is needed for many flavors of player utilities.
1993-08-04 17:26:20 +00:00
mycroft
d7080696e9
Put RCS ids back...
1993-08-04 00:42:51 +00:00
glass
461002f91d
it links with out any unresolved symbols, last few are just stubs
...
because we aren't likely to get near execing init for a while
1993-08-03 22:37:04 +00:00
mycroft
63c0a317bb
Add ALIGNBYTES for new fts().
1993-08-03 21:51:10 +00:00
brezak
f21b797b62
Bring to rtc clock code from Mach. Provides resettodr().
1993-08-03 12:33:17 +00:00