Commit Graph

565 Commits

Author SHA1 Message Date
mycroft 81f3a84289 Add USPACE. 1995-04-12 15:27:48 +00:00
mycroft 6ad0e4cf93 More UPAGES --> USPACE. 1995-04-12 08:30:40 +00:00
mycroft 0e218b6169 Change some usages of UPAGES to USPACE. 1995-04-12 08:18:56 +00:00
mellon df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +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 d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft 3f22df0746 Declare all return types. 1995-04-10 01:56:41 +00:00
mycroft a9e1bbb0c7 Add no-op open and close functions. 1995-04-10 01:23:19 +00:00
mycroft 374185caff Most of the console functions return void. 1995-04-10 01:01:40 +00:00
mycroft 0ed4893351 mmmap --> mmmmap 1995-04-10 00:59:33 +00:00
mycroft 5ca64d4b70 hilmap --> hilmmap 1995-04-10 00:58:36 +00:00
mycroft 0323181eb1 Switch grfmap and grfmmap. 1995-04-10 00:58:10 +00:00
mycroft 1b8aff7880 map --> mmap 1995-04-10 00:55:57 +00:00
mycroft 84de5b1135 Update to make con[fs].h. 1995-04-10 00:50:50 +00:00
mycroft e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
mycroft 25b58554cb Update. 1995-03-31 18:27:30 +00:00
hpeyerl 217531ad26 Update to reflect reality. 1995-03-28 23:57:20 +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 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 dc3d752c6c Fix last arg to scdebug_ret(). 1995-03-09 08:59:45 +00:00
mycroft add762f71c Panic if the emulation type is invalid. 1995-03-08 06:49:22 +00:00
mycroft e518635e13 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Remove old notimp() kluge; replaced by a better mechanism.
Add some of the SunOS compat hooks.
1995-03-08 06:39:06 +00:00
mycroft 6c30f4a892 Remove file systems. 1995-03-05 23:04:25 +00:00
mycroft 3af978980c Make the dump code more consistent with i386. Mostly cosmetic. 1995-03-05 22:19:26 +00:00
mycroft 30a80c01af Make these consisteny with i386. Mostly cosmetic. 1995-03-05 22:06:42 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft b39bd2f2d3 Move common code for finishing a buffer into a separate function. 1995-02-23 22:23:40 +00:00
mycroft ae95dc7533 More disks, tapes, MSDOSFS... 1995-02-23 22:22:07 +00:00
mycroft f96a1945c5 Remove `nboot' completely. 1995-02-21 09:16:34 +00:00
mycroft 85eb2facec Use the libsa exec(). 1995-02-21 09:06:13 +00:00
mycroft 28983f9e3f Tweak to make the twiddler look better. 1995-02-21 06:39:01 +00:00
mycroft e9685fc52f Don't define netif_debug here. 1995-02-20 00:19:43 +00:00
mycroft 30b00f8878 Slight rearrangement. 1995-02-20 00:15:06 +00:00
mycroft 19a789aae8 Update to the new RCS id convention. 1995-02-20 00:12:09 +00:00
mycroft 6cd040ac12 Don't stall if we get packets back-to-back. 1995-02-19 23:54:18 +00:00
mycroft 388209113e Don't panic if the battery is dead. 1995-02-19 23:53:19 +00:00
mycroft 2fd9d0abfb Add unfinished netboot code, and reorganize the Makefile somewhat. 1995-02-19 19:17:01 +00:00
mycroft d045c68f75 Update for split fu/su functions. 1995-02-08 14:53:33 +00:00
mycroft b500256b0f Remove [fs]ui{byte,word}(). 1995-02-08 14:52:31 +00:00
mycroft e732893c41 Remove fu/su functions. 1995-02-08 14:51:08 +00:00
mycroft 44965e0438 Include common m68k version of copy.s. 1995-02-08 14:22:30 +00:00
mycroft 19ff4e7205 Don't include copy.s from here. 1995-02-08 14:20:06 +00:00
mycroft 86dbbad738 Use common m68k version of copy.s. 1995-02-08 14:18:04 +00:00
mycroft 04695541bb Clean up deleted files. 1995-02-08 14:16:40 +00:00
cgd 2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
hpeyerl 3fc42a912d NULLFS 1995-01-24 14:01:28 +00:00
hpeyerl 83865999ab options GATEWAY. 1995-01-23 15:14:33 +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
mycroft 96d96ccc04 Do not allow opening a device which is not `alive'. 1995-01-18 10:02:43 +00:00
mycroft baf132fa75 Display the correct diagnostic on a coprocessor exception. From Masaru Oki. 1995-01-18 07:37:06 +00:00
mycroft 6f1144b29d Make sure to unlock when aborting. 1995-01-09 11:16:50 +00:00
mycroft 7af86b7eb7 Copy physlock code from SPARC port, and some minor cleaning. 1995-01-09 09:13:09 +00:00
mycroft 770773f4ad Add mt. 1995-01-07 22:54:16 +00:00
mycroft 923bbe6e3b Various diffs from Mike Hibler; necessary for mt driver. 1995-01-07 10:30:10 +00:00
mycroft 81ec9ebcef Add LKM stuff. Some general cleanup. 1995-01-05 21:06:36 +00:00
hpeyerl 2d28f622d7 Make the LEDS blink like Jason's heart. from <thorpej@cs.orst.edu> 1994-12-30 07:22:21 +00:00
mycroft b5e0ae3fc4 microtime() returns void. 1994-12-29 03:48:38 +00:00
cgd e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
hpeyerl cff8a14e10 so machines with only an rd or sd will compile. from Thorpej. PR#610. 1994-12-20 06:53:45 +00:00
mycroft 9614f9bb82 Add mt and pollc stuff. 1994-12-16 04:14:13 +00:00
mycroft 2012971fa4 Fix typo in previous. 1994-12-16 04:00:21 +00:00
mycroft a7393f95f3 Remove fp arg to d_open. 1994-12-14 18:52:32 +00:00
mycroft b0e55a5994 Add dummy itestart(), and use ttrstrt() rather than a local version of the same. 1994-12-13 14:20:33 +00:00
christos 40abc70ce2 changed open prototype 1994-11-14 05:55:23 +00:00
mycroft 38d3366f0f Fix type of `code' arg to sendsig(). 1994-11-08 04:22:39 +00:00
mycroft f875a9efe6 Allocate pv_pages differently. 1994-11-08 01:17:19 +00:00
cgd d4510670f1 fix for bug 559, as reported by Jason Thorpe. (fix by me) 1994-11-06 21:49:08 +00:00
cgd 132b41434c new RCS ID format. 1994-10-26 07:22:45 +00:00
mycroft 0ec2e0b85c Attempt to deal with trace exceptions from single-stepping a trap instruction. 1994-10-25 15:33:40 +00:00
mycroft 79e18619fb Add a cpu_cleanup() function, to support some experimental code. 1994-10-20 22:43:23 +00:00
mycroft d2b4ef0319 Don't try to load p_priority from the run queue head. 1994-10-20 20:47:53 +00:00
cgd 9da8a598cd update for new syscall args description mechanism 1994-10-20 04:38:33 +00:00
mycroft b7c9fb174f Clean up deleted files. 1994-10-20 04:29:36 +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
hpeyerl 3595156bad begone 'softcar' begone!
hello 'ppp'.
goodbye 'ccd'.
1994-10-04 17:32:30 +00:00
mycroft 53c4d8a7e6 Fix byte order problem in multicast filter calculation. 1994-09-29 21:24:12 +00:00
mycroft 9b9fa4f2a0 Fix misguided attempt to reorganize bootdev, and fix a few
other miscellaneous bugs and nits.
1994-09-19 00:23:36 +00:00
mycroft 274730a866 Make genassym depend on genassym.c 1994-09-18 00:57:38 +00:00
mycroft 775fc8b821 Add LED frobnication code, from 4.4-Lite. 1994-09-18 00:43:19 +00:00
mycroft b073160a6c Fix typo. 1994-09-16 21:17:21 +00:00
mycroft c3e6d1057b Add tun. 1994-09-16 21:14:58 +00:00
jtc 23ece5babc asm -> __asm (PR #463). 1994-09-16 02:39:36 +00:00
mycroft c7d5bf7b64 Nuke struct ste, struct ste40, struct pte, and HP_PAGE_SIZE. Use my
pv_entry allocator.  Change pa_index() to pmap_page_index() for consistency
with other ports.
1994-09-09 23:52:49 +00:00
mycroft c7b57907f0 Do a hack similar to the AST optimization for SIRs on syscall exit. 1994-09-09 23:40:15 +00:00
mycroft f66f685ad2 Very simple change to avoid a complete register save/restore pair when handling
ASTs after a syscall.
1994-09-09 03:58:38 +00:00
mycroft 675c4aae2b Remove some functions which are in libkern. 1994-09-09 03:11:31 +00:00
mycroft e0fa548a12 Optimize the run queue frobnication, and add some more DIAGNOSTIC checks. 1994-09-09 02:56:54 +00:00
mycroft d20de15399 Add USPACE. 1994-08-24 19:32:36 +00:00
brezak dd945bf3c1 Don't echo here 1994-08-22 21:41:23 +00:00
brezak 901e645db3 Do echo here just like libsa::gets() 1994-08-22 21:41:07 +00:00
mycroft 1785232aa9 vn --> vnd 1994-08-17 20:16:16 +00:00
mycroft c809e30fcb No COMPAT_HPUX at the moment. 1994-08-17 20:16:07 +00:00
mycroft 8f2482ff3d Fix `make depend' error. 1994-08-15 06:42:04 +00:00
mycroft eade2eabf4 Clean up deleted files. 1994-08-05 23:16:10 +00:00
brezak 62a05786ea Use installboot.sh from 4.4 instead of installboot.c 1994-08-04 19:42:16 +00:00
mycroft a18c0c0d83 Look for errors in the right place in a transmit descriptor, and count
collisions.
1994-07-25 22:54:58 +00:00
mycroft e307d33fdc Clean up deleted files. 1994-07-24 02:10:46 +00:00
mycroft 2b3a0d92f6 MDP_AST is deprecated. 1994-07-19 21:43:57 +00:00
mycroft 993ebf5d8d Clean up deleted files. 1994-07-18 07:15:50 +00:00
mycroft 07a265f1c0 Add some missing options to GENERIC, and rename. 1994-07-18 07:15:45 +00:00
cgd 511df844bb add COMPAT_44 1994-07-18 07:07:17 +00:00
mycroft 3451593ece Dorothy, I don't think we're in Utah any more... 1994-07-18 06:27:12 +00:00
mycroft cf21bbfd5e Make grf truly optional. 1994-07-16 13:15:03 +00:00
cgd b4dc71d3d9 on COMPAT_44, allow execution of 4.4BSD binaries 1994-07-16 06:43:00 +00:00
cgd 930318d5aa get device.h from the right place 1994-07-16 06:24:46 +00:00
mycroft e88e13f3bb Fix a bogon relating to >16-bit addresses that I introduced. Fix up BPF
support for received packets.
1994-07-15 21:20:48 +00:00
mycroft db0e00db86 Clean up a bit. 1994-07-10 17:53:12 +00:00
mycroft 60b6c8c0fe This #endif got truncated... 1994-07-07 01:31:00 +00:00
mycroft f810838a9c Speed this up a bit, do multiple transmit buffers, etc. 1994-07-06 01:36:23 +00:00
mycroft 923bab6d40 HPFPLIB --> FPSP 1994-07-05 18:16:43 +00:00
mycroft 53dacdcce5 Add FPSP magic. 1994-07-05 17:11:21 +00:00
mycroft fc6b5fa682 Redo the interface to FPSP, using the supplied glue code. 1994-07-05 17:08:51 +00:00
mycroft 1d45aaf9e2 Fix a compiation problem. 1994-07-05 17:08:16 +00:00
mycroft 0535e409f8 Clean up deleted files. 1994-07-03 11:44:17 +00:00
mycroft 15814de648 Switch to Motorola emulator. 1994-07-03 11:41:33 +00:00
mycroft 1c1622ca22 Clean up deleted files. 1994-07-03 11:40:39 +00:00
mycroft 86726bc4e3 Switch to Motorola emulator. 1994-07-03 11:40:35 +00:00
cgd a2e313bd42 gen syscall fiels from new syscalls.master 1994-06-30 17:01:45 +00:00
cgd bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
hpeyerl 73485a0035 Why was DESTDIR= here? From Dave Carrel <carrel@cisco.com 1994-06-27 04:00:52 +00:00
hpeyerl 83daee43dd woops. Not OLD_DISKLABEL 1994-06-27 03:20:08 +00:00
mycroft 81c61dc857 Clean up deleted files. 1994-06-24 14:09:07 +00:00
hpeyerl 97562c208d Changes for ccd. 1994-06-24 14:00:22 +00:00
hpeyerl ecf10b0a7a additions for ccd driver. 1994-06-24 13:57:01 +00:00
hpeyerl 818c51e6db ufs->ffs. From Jason Thorpe (thorpej@cs.orst.edu) 1994-06-24 13:33:49 +00:00
mycroft b0327583a8 Update an #include. 1994-06-22 03:12:23 +00:00
mycroft c22aab7bbe getdirentries() and getdtablesize() compat. 1994-06-22 03:04:01 +00:00
hpeyerl 48fb64c3f7 hp300/stand stuff from Lite. We can boot hp4xx series nodes now! 1994-06-19 01:49:49 +00:00
hpeyerl 9c8b105c4a Fix for vnode_if 1994-06-16 02:14:26 +00:00
mycroft 3fa62971df Build vnode_if.o. 1994-06-08 07:51:36 +00:00
hpeyerl b3857f73f0 #if out references to cd.c for now. 1994-06-06 14:57:33 +00:00
mycroft 87dcadd3d9 Clean up deleted files. 1994-06-06 14:42:14 +00:00
hpeyerl a4c2978e39 Tell config we need .h files for sd/ct/rd/st 1994-06-03 10:51:31 +00:00
mycroft a031f19ad8 For 4.4 profiling stuff. 1994-05-28 15:41:47 +00:00
mycroft 8b59232a5d Bug fix from Mike Hibler. 1994-05-27 17:20:34 +00:00
mycroft 33e5277208 Update RCS id. 1994-05-27 17:19:38 +00:00
mycroft 0dfc96374d Bug fixes from Mike Hibler. 1994-05-27 17:18:50 +00:00
mycroft 46374cc050 Use 4.4 init bootstrapping method. 1994-05-27 12:51:00 +00:00
deraadt 2f0d61f95f match char->u_char change in tty subsystem 1994-05-25 20:22:54 +00:00
mycroft 072c027a70 Somehow this got truncated by 8 bytes... 1994-05-25 13:13:32 +00:00
mycroft c861fe60b9 Put back faster version, with tiny bug fix. 1994-05-25 12:06:52 +00:00
mycroft 2cc3c47f28 Clean up deleted files. 1994-05-25 11:57:56 +00:00
mycroft 64561e1985 Something else needs COMPAT_OHPUX. 1994-05-25 11:55:06 +00:00
mycroft 9088203173 Revert to previous (slower) version for now. 1994-05-25 11:53:43 +00:00
mycroft 2e156593db Merge with 4.4-Lite. 1994-05-25 11:53:10 +00:00
mycroft 4e24a2c49c Add some stuff. 1994-05-25 11:51:33 +00:00
mycroft b13c6f81a6 Merge with 4.4-Lite. 1994-05-25 11:47:14 +00:00
mycroft 644d09ea38 Optimize these a bit. 1994-05-24 16:37:14 +00:00
mycroft 7f4438062b New copy*() functions, cloned from the appropriate functions in libc. Handles
>64k lengths correctly.
1994-05-24 12:24:11 +00:00
mycroft 031e9700a7 MIN --> min 1994-05-24 11:26:02 +00:00
mycroft a6cc4ebda5 Copy copyinstr() from m68k generic, to deal with len > 64k. XXX I think this
code is buggy.
1994-05-23 12:16:34 +00:00
mycroft a6cdb9aa18 Merge with 4.4-Lite. 1994-05-23 10:17:41 +00:00
mycroft 5dede9ed00 Oops. Missed one. 1994-05-23 09:42:17 +00:00
mycroft 64745810db Small changes to match our tree. 1994-05-23 09:21:16 +00:00
mycroft 648acdf769 Make the kernel text writable for DDB. 1994-05-23 08:42:50 +00:00
mycroft cf4e21af5d Merge with 4.4-Lite. 1994-05-23 08:22:24 +00:00
mycroft 48dd63215d Merge with 4.4-Lite. 1994-05-23 08:03:32 +00:00
mycroft 0c3f5c039d Merge with 4.4-Lite. 1994-05-23 06:21:18 +00:00
mycroft 56c75f2846 Update to match other code. 1994-05-23 06:19:05 +00:00
mycroft f2ec88b045 Merge with 4.4-Lite. 1994-05-23 06:13:52 +00:00
mycroft 057ff5994c Clean up deleted files. 1994-05-23 06:06:00 +00:00
mycroft 374ffaf7a4 Merge with 4.4-Lite. 1994-05-23 06:01:20 +00:00
mycroft 247d9ba6f1 Clean up deleted files. 1994-05-23 05:59:34 +00:00
mycroft c1e1831b84 Merge with 4.4-Lite. 1994-05-23 05:58:16 +00:00
mycroft 735cde792d `clock' is no longer a device. 1994-05-23 05:51:01 +00:00
mycroft ef8c1b6829 From 4.4-Lite. 1994-05-23 05:49:17 +00:00
cgd 7179bc94a1 mark buffer_map as pageable, when it's created. 1994-05-23 02:36:53 +00:00
cgd 188f390137 enable pmap_bootstrap_alloc 1994-05-23 02:36:21 +00:00
cgd 5be66e3d97 vmmeter 1994-05-21 09:22:33 +00:00
cgd 5cdafa6720 struct md_coredump 1994-05-21 09:16:34 +00:00
mycroft 47e0d86386 Add label location overrides. 1994-05-20 18:22:44 +00:00
mycroft 2fa167c047 Kill stupid #ifndef. 1994-05-20 18:21:26 +00:00
mycroft 154fa7b57f Avoid name clash. 1994-05-20 18:19:45 +00:00
mycroft a23ee46b98 More swtch() changes. 1994-05-20 10:44:55 +00:00
mycroft c720dfd781 #ifdef out pmap_bootstrap_alloc() for now. 1994-05-20 10:35:16 +00:00
mycroft 29da7efedd swtch() --> cpu_switch() 1994-05-20 10:31:48 +00:00
mycroft 076a7d70b4 Need vnode.h. 1994-05-20 10:07:52 +00:00
mycroft 9d938a6e1d Fix typos. 1994-05-20 09:59:38 +00:00
mycroft d632dcc41b Add isdisk() and chrtoblk(). 1994-05-20 09:52:15 +00:00
mycroft e3c66a5dde Fix cpu_coredump(). 1994-05-20 07:21:31 +00:00
mycroft 2dbea09686 Gah. Need vnode.h. 1994-05-19 09:03:22 +00:00
mycroft 275380b2e2 Add cpu_coredump(). 1994-05-19 09:01:55 +00:00
cgd f3a6716e70 need vnode.h 1994-05-18 06:50:24 +00:00
cgd da707cc4eb syscall and time stuff 1994-05-17 10:37:09 +00:00
cgd 08124ce51b fix syscall for new names 1994-05-17 10:36:03 +00:00
cgd d339b7f220 prototyping foo, and kill profclock stuff 1994-05-17 10:35:21 +00:00
cgd db2fef4843 fix strcat invocations, and cast lots of args 1994-05-17 10:34:41 +00:00
cgd d4f4f4f021 profiling stuff 1994-05-17 10:34:00 +00:00
cgd 5d40a1394d pmap_bootstrap_alloc 1994-05-17 10:33:21 +00:00
cgd 6b7f802ece iskmemdev and iszerodev 1994-05-17 10:32:53 +00:00
cgd 25bfe2fdc8 cpu_swapin and need_proftick 1994-05-17 10:30:33 +00:00
cgd 0918278c51 splstatclock 1994-05-17 10:29:52 +00:00
cgd 3e4570726f cast 1994-05-17 10:28:30 +00:00
cgd 21280fa872 pass pointer to vm_map, not vm_map 1994-05-17 10:27:49 +00:00