Commit Graph

1590 Commits

Author SHA1 Message Date
thorpej c10a926030 Allow the caller to specify a stack for the child process. If NULL,
the child inherits the stack pointer from the parent (traditional
behavior).  Like the signal stack, the stack area is secified as
a low address and a size; machine-dependent code accounts for stack
direction.

This is required for clone(2).
1999-05-13 21:58:32 +00:00
is 05ae5bbfc1 Add HyperCom 3+/4+ parallel port support 1999-05-10 22:18:47 +00:00
tron 890fa9e9be Regen from "GENERIC". 1999-05-01 10:21:22 +00:00
tron 3420cb646c Add ext2 filesystem. 1999-05-01 10:20:01 +00:00
christos d27f70c075 Include opt_compat_sunos.h 1999-04-29 16:22:03 +00:00
kleink e1529b8f93 Pull in the right generic m68k header. (Where was my mind?) 1999-04-29 14:38:39 +00:00
is 568b328c80 Recognize Linux ext2fs partitions. (Used to be marked as unknown). 1999-04-28 22:35:27 +00:00
thorpej b8073b401b Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
chs 05b971dd5f in pmap_pageable(), rather than marking a PT page as not modified
to trick the pagedaemon into freeing it later, just unmap the page
and free it immediately.  fixes PR 7337.
1999-04-22 04:24:52 +00:00
is bbeb5012d5 Add dummy bus_space_barrier method, like mac68k 1999-04-20 05:48:37 +00:00
kleink ed74932033 Add COMPAT_SVR4 for m68k. 1999-04-19 21:22:56 +00:00
mhitch 70d16931bd Correct the way I was using the transfer length for ATAPI commands. ATAPI ZIP
drives are now usable.
1999-04-17 19:49:24 +00:00
is 3faf133984 Cut-down kernel for miniroot installation.
Leave everything out that isn't needed.
1999-04-17 19:05:19 +00:00
mhitch 46f5ce02e0 Do a REQUEST SENSE when ATAPI operation returns an error. This is needed to clear
the Unit Attention status, i.e. after a media change on a CDROM.
1999-04-17 17:08:12 +00:00
kleink 5e7ff129c8 Normalize path of files.sunos. 1999-04-16 11:13:38 +00:00
mhitch bb2b8c8586 Change reading the ATAPI IDENTIFY data: a ZIP drive responds differently than my CDROM
and will cause the drive to hang on boot.  The ZIP drive still does not work, but the
system no longer will hang,
1999-04-16 03:29:49 +00:00
chs f455dd6596 add a `flags' argument to uvm_pagealloc_strat().
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
tron 4f3bbf516f Regen from "GENERIC". 1999-04-10 21:36:59 +00:00
tron 7be185347a Fix dependences and discard irrelevant "cpp" error message. 1999-04-10 21:36:26 +00:00
tron 92b1de5348 Add commented out declaration for "ipip" interfaces. 1999-04-10 21:23:27 +00:00
is 2ac445044e make the Amiga bootblocks link again. 1999-04-03 09:18:41 +00:00
is 0d8a2e963a snchronize with reality.
Actually, this should have been done months ago, but slipped the cracks.
1999-04-01 20:31:02 +00:00
is 03957f9d56 regenerate 1999-04-01 20:24:29 +00:00
mhitch 94ac6e6084 Show 50ns period instead of 48ns for Ultra. 1999-04-01 17:27:22 +00:00
mhitch f2edf64867 Turn off some ATAPI debugging output. 1999-04-01 16:22:57 +00:00
thorpej 967b8c433c Don't call configure() from cpu_startup(). 1999-04-01 00:17:45 +00:00
mhitch 11cfd11c52 Add CyberStorm MK III. 1999-03-31 02:47:38 +00:00
is 67caec5886 Dont write through a zero pointer (when in probe mode of a2kugettod()). 1999-03-28 21:39:59 +00:00
is 29abee115f Remove 20 lines of register dump from normal operation. 1999-03-28 21:09:54 +00:00
mhitch d28c630840 I had to have been asleep when I changed Ignatios's constants to register symbols.
Use the correct symbols for ODR full bits.
1999-03-28 20:29:51 +00:00
is e657b604f3 Add back the "810" id string. 1999-03-28 20:09:09 +00:00
is c8c6cb17c3 Initialize all 16 elements. We're wide. 1999-03-28 19:39:24 +00:00
is 5ecbda755f The "Phase mismatch, REQ not asserted" error happens on one of my disks
a few times a day. As the driver and system always recovers, when typing
a few c-ontinues, I think not entering the Debugger() won't hurt.
1999-03-28 19:30:07 +00:00
mhitch 037eeb1cf5 Remove ifdef UVM. 1999-03-27 16:56:09 +00:00
mycroft 93768384ee Fix a bug in pmap_collect_pv(), even though nobody currently uses it:
When we put a page on the collection list, we must subtract NPVPPG from the
total free count: one for each pv_entry that's free in that page, and one for
each free pv_entry in other pages that we're going to eat by moving the ones
in the page being collected.
1999-03-27 05:57:02 +00:00
mycroft 9affa543a5 Oops; forgot to change some pmap_enter() calls. 1999-03-27 03:34:08 +00:00
mycroft 9c6b797796 Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.
1999-03-26 23:41:25 +00:00
mhitch 91d0eb55ed More 53c770 stuff: update 53c720/770 register defines and use them in
siop2.c.  Add wide negotiation and Ultra support.  Modify siop.c to match
the siop2.c sync negotiation changes.  The CyberStorm MKIII driver now
supports 15 targets.  Remove some old table-driven sync rate stuff from
the original Zeus driver.
1999-03-26 22:50:22 +00:00
is 669f51ad27 defopt BB060STUPIDROM. 1999-03-26 21:18:49 +00:00
mhitch 96eecff795 Add some ATAPI support. My CDROM drive works, but I don't have other devices to
test.  This should provide interim ATAPI support until the MI wdc driver is used.
1999-03-26 07:00:37 +00:00
is d19d45b897 defopt Amiga graphics console options 1999-03-25 23:20:00 +00:00
is f333be91dc defopt Amiga graphics console options 1999-03-25 23:19:58 +00:00
is c7ad403020 Forgot A2024 1999-03-25 23:16:14 +00:00
thorpej 0193701fcd Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.  Subtract ETHER_CRC_LEN as necessary to get the same values
for these constants as were previously defined locally.
1999-03-25 23:10:53 +00:00
thorpej 962833e128 Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.
1999-03-25 23:10:13 +00:00
is b30a4d19c0 Defopting grf_cc configuration parameters 1999-03-25 21:55:17 +00:00
is 35bbdd4cd2 AGA: VGAonly timing (GRF_AGA_VGA), by Adam Ciarcinski 1999-03-24 22:24:42 +00:00
mrg ca5f9685bb clean up kernel/config files files for machVM lossage. 1999-03-24 06:06:09 +00:00
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
drochner 76fa1751fe Add a macro to check for sufficient pointer alignment in bus.h context,
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
is 2ccf15e5f3 53c810A identification 1999-03-22 19:30:57 +00:00
is be73d82871 Yet more kernel startup debug code 1999-03-19 21:40:24 +00:00
chs ab7269f62a if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
and print a message about it.  this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
is 605bbc6a31 ISDN Master II support added.
Actually, support for this has still to be added to the isdn4bsd release.
1999-03-17 21:44:18 +00:00
sommerfe bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
minoura 9729dbb6ad Pullin m68k/ieee.h. 1999-03-15 12:42:51 +00:00
is ba07737bc0 Use the 1/256s-resolution when reading the DraCo battery backed clock 1999-03-14 22:42:12 +00:00
veego 58d4f7ae24 Add support for future PicassoIV's which use an autoconfig space of 64MB.
The framebuffer base address is then at a different offset.
The patch is from Klaus Burkert.
1999-03-14 09:17:19 +00:00
is bed6716015 Identify the chip type when attaching. 1999-03-13 22:43:30 +00:00
is a02a989bcf The 53c720 and up are really different. For example, the method to determine,
when disconnecting etc., how much data were transferred, has changed.
Symptom: SIOP invalid instructions when doing data transfers to disks that
disconnect.
XXX The bits etc. need to be defined correctly in the siopreg.h file, and
symbolic values used.
1999-03-13 21:30:55 +00:00
is 48c33b2e56 Adjust to match the assembled code 1999-03-13 19:42:52 +00:00
is d662e94812 fix some typos introduced when integrating the driver 1999-03-12 20:17:47 +00:00
is 5cbe57d881 Missing part of CS Mk. III changes 1999-03-09 20:31:34 +00:00
is 0fed7b2d06 The SCSI clock is 50 MHz for this board. 1999-03-09 20:25:46 +00:00
is d88de4e70d Don't predefine anything 1999-03-09 15:14:32 +00:00
is dab82f6dd3 Regenerate. 1999-03-09 15:09:00 +00:00
is 58a9c554c6 Regenerated. 1999-03-09 12:22:13 +00:00
is 75774fd854 Fix language. 1999-03-09 12:20:41 +00:00
is aed99bc63d Pacify CPP. 1999-03-09 12:15:30 +00:00
is 22e4689589 Add an entry for the Cyberstorm Mk. III / CyberstormPPC SCSI driver by
Michael Hitch.
1999-03-09 11:58:56 +00:00
is 6505010dab Added very preliminary version of Symbios 53c7[27]0c driver and Cyberstorm
Mk. III SCSI backend, by Michael Hitch.
XXX No wide transfers supported at the moment.
1999-03-07 22:16:19 +00:00
is 946db35c9b Modifications to aucc.c for more input formats and 14bit stereo output.
By Bernardo Innocenti, submitted as PR 6787.
Some KNF-ifying done by myself, so you might want to blame me instead
if the original patch worked for you.
	-is
1999-03-04 20:45:01 +00:00
tron 6b8842ab8e Include "bsd.prog.mk" earlier so that "CFLAGS" doesn't get clobbered. 1999-03-03 20:32:58 +00:00
tron d897bddc77 Fix creation of keymap files. 1999-03-03 19:54:05 +00:00
is 04e9e604aa Regenerate. 1999-02-28 07:45:13 +00:00
is c3f462a037 Alas, Melody boards don't configure in a DraCo. 1999-02-28 07:42:47 +00:00
is 27fc050f1d Oops.
Forgot to commit this LONG ago.
1999-02-27 20:46:56 +00:00
scottr d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
is f71d843a65 synchronize types, and s/curproc/p/ in one forgotten place 1999-02-26 22:37:57 +00:00
is 84971e3a6f mac68k part of pr 6152 fix, and missing bits for the others 1999-02-25 23:13:39 +00:00
is fde637530e Machine independent part of fix for PR 6152 (gdb doesn't work on machines
with UVM and seperate I&D-Cache). Mostly by Michael Hitch, but pass struct
proc * instead of the pmap. Reason: said machine will need a method to do
the syncing operation for "curproc", too; this way more code can be shared.
1999-02-25 21:54:53 +00:00
is 435f80f928 prepare for gdb fix 1999-02-25 19:51:22 +00:00
is 2c7fa23c38 Fix Copyright dates 1999-02-16 23:34:10 +00:00
is dc068e0d1f Assign my files to The NetBSD Foundation, Inc. 1999-02-16 22:46:55 +00:00
is 83852d7633 regenerate 1999-02-15 19:34:13 +00:00
is 41bc990eca Create a RCS id in the generated configuration file 1999-02-15 19:16:41 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
kleink f69591d12d Use of casts as lvalues is a GNU C extension; rearrange slightly. 1999-02-10 17:03:26 +00:00
is 9332e61aae Define _STANDALONE instead of STANDALONE. 1999-02-06 23:17:07 +00:00
is 892e4f60af One more small step towards a unified m68k pmap:
use the common pmap_copy_page() and pmap_zero_page (copied from Atari).
1999-02-06 22:48:08 +00:00
is 2633b97c02 regenerate from template 1999-02-04 19:19:38 +00:00
is c5e0224025 In the future, the AMIGA and DRACO example files will be generated from
GENERIC by make in this directory. This way, they hopefully will stay
up-to-date.
1999-02-04 19:01:37 +00:00
is 93a62a003d Wrong sign of dialout. 1999-01-31 10:30:22 +00:00
mycroft 3e6e3322d8 Format consistency. 1999-01-24 12:56:51 +00:00
mycroft 082204fa3d Standardize format. 1999-01-22 14:12:07 +00:00
thorpej 2fb041ce0a No need for <sys/mtio.h> 1999-01-19 18:18:41 +00:00
chuck b0289cbb75 MNN is no longer an option 1999-01-16 20:07:37 +00:00
chuck 4dcbe95100 remove old MACHINE_NONCONTIG code 1999-01-16 20:06:47 +00:00
thorpej 8922647c58 Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS. 1999-01-15 23:37:05 +00:00
thorpej c84a74b16b Don't define "mc68020". Nothing uses it. 1999-01-15 23:21:25 +00:00
bouyer dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
is 4d5a26ba82 Make this compile again. 1.5 was committed from the wrong directory.
We apologize for any inconvenience caused.
1999-01-10 19:19:57 +00:00
tron 560ed63047 Don't use void pointer for arithmetic. 1999-01-10 13:35:39 +00:00
tron 738cd778b3 Don't use void pointer for arithmetic. 1999-01-10 13:24:11 +00:00
tron 72a366c304 Don't use void pointer for arithmetic. 1999-01-10 13:22:05 +00:00
tron a2885c9c15 Don't use void pointer for arithmetic. 1999-01-10 13:17:01 +00:00
tron 386665b0cb Don't use void pointer for arithmetic. 1999-01-10 12:56:25 +00:00
tron 4920c92937 Don't use void pointer for arithmetic. 1999-01-10 12:37:17 +00:00
thorpej e598335d1c Garbage-collect `mbutl'. 1999-01-09 22:10:12 +00:00
augustss fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
veego 0e281644ed Enable fdboot again. 1999-01-03 12:46:31 +00:00
is bc72f5a29c Make it table-driven. Besides making adding more devices easier, the resulting
code is 14% smaller (alas, for this file only).
1998-12-26 22:22:58 +00:00
itohy 36416d8500 Added options COMPAT_LINUX and EXEC_ELF32 as comments
to GENERIC configuration files.
1998-12-15 19:50:00 +00:00
itohy c05dadc113 Added COMPAT_LINUX support. 1998-12-15 19:36:36 +00:00
is 920aad33e4 Support for Hypercom 3+ / 4+. Untested yet, but its only some additional
entries in a table.
1998-12-14 20:33:45 +00:00
is 2b1c171400 appease egcs-1.1.1. 1998-12-12 20:05:07 +00:00
mjacob 74bc9f26d5 Update HBAs to incorporate the new max_lun property. 1998-12-05 19:43:33 +00:00
is 0136b1bd69 Add ne (AriadneII). 1998-11-28 21:27:42 +00:00
is 06f7b24f4c Implement softintr_disestablish(). 1998-11-28 16:39:25 +00:00
is b36e0e66ff Fix typo. 1998-11-28 14:46:53 +00:00
is 36ebc2012e Sorry. Hypercom1 and Hypercom3 code is not yet available. 1998-11-28 12:19:44 +00:00
hwr 59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
frueauf 04674130a0 pain(void) -> pain(void *), pointed out by Adam Ciarcinski. 1998-11-25 14:50:14 +00:00
thorpej 5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
mrg db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
oster cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
mhitch f6adcd4690 Some CyberStorm MK I SCSI modules use the same product ID as the Fastlane.
Add a check for that product ID and not a Zorro III address.
1998-11-14 21:48:22 +00:00
is be4fc8e1b9 Simplify program structure to save a few bytes. 1998-11-13 22:12:35 +00:00
oster c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
veego 17509cc037 Add the Ariadne II. 1998-11-11 22:28:32 +00:00
veego 1449b87b11 New driver for the Ariadne II. 1998-11-11 22:26:27 +00:00
is 6b1ed04840 Correct the calls (use AllocVec() and FreeVec()),
in case somebody ever needs free().
1998-11-11 21:43:18 +00:00
is f02a3ccb3e Switch off the cache later.
Apparently, this avoids a problem on DraCos with HyperCom boards.
1998-11-11 20:57:33 +00:00
thorpej 49c62c4336 Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
is 9916260262 - declare method arrays in bus.h
- add interleaved_wordaccess method array
1998-11-08 21:09:27 +00:00
is ba74edf69b Fix typo. 1998-11-07 22:50:25 +00:00
is fd3b226223 We didn't really implement bus_space_{read,write}_stream_N, but
bus_space_{read,write}_region_stream_N. Correct the names.
1998-11-07 22:44:36 +00:00
is 23c04fa375 Add color debug code for DraCos. 1998-11-06 20:08:20 +00:00
frueauf b1122614c3 Add braces to make egcs happy. 1998-11-05 14:13:59 +00:00
is e4d73206ab Make the exec header an automatic variable, instead of malloc()ed space.
Saves 60 bytes of code.
1998-10-31 22:40:27 +00:00
is d103f66935 Switch the Amiga port to UVM. 1998-10-28 22:41:24 +00:00
is 9177fc99a7 Oops. People without I4B should still be able to compile a kernel. 1998-10-24 11:09:29 +00:00
is 4a961f034b All m680?0 User Manuals claim that trap vectors are fetched from the data
cache, if found there (but not allocated in the data cache on trap).
No need to flush the data cache.
1998-10-24 10:48:34 +00:00
is 009398587b This time, really add i4b to cdevsw[]. 1998-10-23 23:03:02 +00:00
is 732bba6038 oops, commit error. undo. 1998-10-23 22:38:26 +00:00
is 8a6428e6be Add entries for i4b devices / placeholders, like in i386 and Atari. 1998-10-23 22:14:27 +00:00
tron b296275bb4 Defopt SYSVMSG, SYSVSEM and SYSVSHM. 1998-10-19 22:09:13 +00:00
itohy 2a9addf6dc Remove unwanted reference to "_trap1" if !defined(COMPAT_13). 1998-10-18 04:42:17 +00:00
drochner 2468738337 change handling of libkern:
-sys/lib/libkern builds as library per default (as it was documented all
 the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
 (for now; should depend on actual "option LKM" or -better- functions
 included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
 by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
is 4e322893fa Make the data pointer of the write_multi, write_region and write_stream
methods const *.
1998-10-12 22:02:43 +00:00
is 842fbdf4d2 - add bus_space_{copy,set}_region_{1,2} support and implementation for
_1 and for _2 in the contiguous and interleaved case.

- while we're here, reorganize bus.h into sections, and use the defined
  convenience functions everywhere.
1998-10-12 21:15:54 +00:00
veego a5eda011ab Include <sys/device.h> for the configure prototype. 1998-10-12 03:51:59 +00:00
chuck 8bef431273 remove unused share map code from UVM:
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
        has been removed)
1998-10-11 23:20:59 +00:00
thorpej 908cdfe4e3 Add scsibus entry points to the cdevsw[]. 1998-10-10 02:00:49 +00:00
thorpej 29d472f53d Garbage-collect the open_target_lu and close_target_lu entry points from
struct scsipi_adapter; they were not used.

Add a scsipi_ioctl entry point to struct scsipi_adapter.  This will be
used to issue ioctl commands to the host adapters.

Inspired by PR #6090, from Matt Jacob.
1998-10-10 00:28:28 +00:00
is 6662b5ed74 - define framework for >8bit transfers
- implement 16 bit contiguous and 16 bit interleaved, both big-endian
1998-10-08 21:46:39 +00:00
thorpej b38544d99e Oops, back out a buglet I didn't intend to commit in the last change. 1998-10-07 18:29:26 +00:00
tron 8362affa14 Add a few "nop" instructions to make the memory size probe more reliable. 1998-10-06 22:26:42 +00:00
thorpej d681cf055a configure() prototype is in <sys/device.h> 1998-10-06 20:50:15 +00:00
thorpej c01f29bdf1 Sigh, we are going to have to burn a vector for Just Sigreturn again,
for now, until we have a more generic {get,set}context().  Update the
comment for trap #3 accordingly.
1998-10-04 23:38:55 +00:00
is 66d6e30a1b Yet another workaround for pmap bugs. Several reports on the port-amiga
list claim this helps with some big-machine situations.
1998-10-02 19:29:49 +00:00
thorpej d15a64c38b Adapt to signal changes. 1998-10-01 02:53:53 +00:00
thorpej 8b220e1148 Define SYS_compat_13_sigreturn13. 1998-10-01 00:29:51 +00:00
thorpej bcf14a99e2 Garbage collect trap #1 and trap #2 handlers; they're moved to
trap_subr.s
1998-09-30 23:47:33 +00:00
thorpej 1e62485c23 If !COMPAT_13, make trap #1 produce an illegal instruction. Fix the comment
for trap #2 to reflect that it's the trace trap.
1998-09-30 23:13:58 +00:00
thorpej a11e6632a8 Pull in opt_compat_netbsd.h 1998-09-30 23:01:28 +00:00
thorpej 35d282c8d5 Make sure SYS_exit and SYS___sigreturn14 are defined. Garbage collect
SYS_sigreturn.
1998-09-30 22:23:13 +00:00
thorpej 38084c6615 Note that trap #1 is compat_13_sigreturn, and give trap #3 to syscalls
which require special handling, e.g. sigreturn on m68k.

This differs from the old sigreturn trap in that we require the syscall
number to be in register d0, just like the regular syscall entry point.
This will allow sigreturn to be versioned in the future without the need
to allocate another trap vector.
1998-09-30 22:14:11 +00:00
is 6eb98a7967 4/NPTEPG is 0. This is a very old editing error. 1998-09-26 19:26:58 +00:00
is 95807e512a Garbage collect unused 3rd parameter to comprobe1(). 1998-09-16 21:30:58 +00:00
mycroft 7b15b3b56d Minor change. 1998-09-13 12:01:41 +00:00
is 283229c668 Fix catastrophic typo. DraCos rev. 3 (or older) would crash on exiting from
the first timer interupt.
1998-09-10 20:45:33 +00:00
thorpej 70e641047c In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
to).
1998-09-09 11:17:24 +00:00
thorpej 8abe0d6b1c Adjust for the new "reaper" kernel thread: do not free the vmspace and
u-area in machine-dependent code.  Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
mhitch 3299eb8c5b Fix error in kernel shadow mapping when kernel is loaded into fastmem on
69040/060 and the number of initial KPT pages is odd.  This would cause
a memofy fault before the 040 trap routines were set up and gave a
misleading trap message.  The odd number of KTP pages would result if
Sysptsize was patched, or if a large amount of Zorro3 space was needed.
1998-09-07 19:50:17 +00:00
is 1fd18c6ecf Define is_draco() inlined.
Corresponds to removal of this function in autoconf.c 1.61.
1998-09-05 21:10:55 +00:00
lukem c9db84ecc9 distclean is a synonym for cleandir 1998-09-05 15:15:14 +00:00
is 0eb25ce882 Add support for Apollo-68060-board-reworked A3000 motherboards.
This is only tested on the original A3000...
1998-09-04 22:00:27 +00:00
is a99b5503f1 Account for the 68060 store buffer. 1998-09-04 21:19:07 +00:00
is c38a877ead Add bus_space_read_region_1/bus_space_write_region_1 to the Amiga bus.h. 1998-09-02 23:00:04 +00:00
is a3ee69c87a Split SMC chipset ARCnet driver into
- machine independent chip driver, in dev/ic/smc90cx6.c/...reg.h,...var.h,
  using bus_space methods
- ZBUS frontend in arch/amiga/dev/if_bah_zbus.c
- added IPL_SOFTNET to arch/amiga/include/intr.h, for this
Implementing the ISA bus frontend is left as an exercise to the reader.
1998-09-02 22:32:06 +00:00
mhitch 7a359022d9 Re-enable mfc and msc serial drivers. Both compile, but only mfc is
currently known to work [I can't test the msc changes].
Add commented-out UVM option (until UVM is standard).
1998-09-01 02:40:36 +00:00
mhitch 1d7e0301d3 Quick fix for TS_WOPEN -> t_wopen change. Compiles, but I can't verify
that it actually works again.
1998-09-01 02:33:32 +00:00
mhitch b741e97082 Quick fix for TS_WOPEN -> t_wopen change. Compiles and works. 1998-09-01 02:30:29 +00:00
is 9948205c5a Prepare for support of Apollo-cpuboard-reworked A3000 mainboard SCSI. 1998-08-21 19:13:27 +00:00
is ae8175cb09 Workaround for the incomplete fastmem loading scheme: put uptbase lots higher,
so that hopefully it doesn't get overwritten by the 1:1 mapped kernel copy.
See line 375 for an explanation.
1998-08-21 18:51:58 +00:00
veego ff2c3adddc Add some braces to stop the new egcs warnings. 1998-08-20 19:55:06 +00:00
augustss cd09067eb4 * Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
mycroft a1ac68819f Assign my copyrights to TNF. 1998-08-17 00:26:32 +00:00
mycroft d07b3639a4 Assign my copyrights to TNF. 1998-08-15 17:47:15 +00:00
mycroft 6d3d8a1350 Make copyright notices with my name consistent. 1998-08-15 03:02:31 +00:00
is 8b950c2a65 Get rid of AMIGA_UPTBASE.
Replace it by a variable, which is initialized in amiga_init.c.
This will make the kernel actually work even if we have lots of Zorro-III
(or DraCo direct bus) i/o space.
1998-08-12 19:46:12 +00:00
is f8dd65f3f5 Fix ommision in last backout. 1998-08-10 20:23:50 +00:00
is c81476c89d ISDN Blaster / Master: ZBus attachment / SUPIO driver. 1998-08-10 18:53:31 +00:00
is e5439fc15b Back out last change --- it doesn't work this way 1998-08-10 18:43:06 +00:00
is 878203d616 Cosmetics: it's a "HyperCom 3Z" on a ZBUS, no "HyperCom 3". 1998-08-09 22:25:18 +00:00
is 98f1a01dec Actually probe the hardware.
This is for HyperCom 3i slaveboards (to be done soon) that might or might not
sit on top of a HyperCom 3Z or HyperCom 4 or ISDN Blaster.
1998-08-09 22:08:40 +00:00
kleink 88191aeeee Reduce this file as done in the Alpha RAMDISK configuration, which makes
keeping it in sync less prone to errors.
1998-08-08 12:59:43 +00:00
kleink 3dc1e8147c Kill "options FIFO" - they're mandatory now. 1998-08-04 11:19:02 +00:00
thorpej 3ff8e6493a Don't cast the null residual pointer passed to vn_rdwr(). 1998-07-28 18:34:52 +00:00
is 8eebf1cfc5 yet more atomic operations accessing DraCo registers 1998-07-26 06:45:17 +00:00
is 401f1157b0 Use atomic operations for DraCo interupt registers 1998-07-25 11:01:11 +00:00
is 3d0dcc7181 This has been in amiga/amiga/mtpr.h for a long, long time. 1998-07-25 07:21:20 +00:00
is 0751419914 Back out previous change. It breaks Seyon in a non-obvious way. 1998-07-22 19:13:02 +00:00
drochner 49bb9d8214 adapt to LANCE driver split 1998-07-21 17:36:01 +00:00
is 6054d626f9 Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.

On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
is 52ac5e203e Precompute lots of bitmasks etc. in serparam(). Results in slightly better
(but I suspect, insignificant) performance, and also prepares for 8bit +
parity support.
1998-07-18 20:19:33 +00:00
mhitch 32a0c413a5 Oops - check and calculate maxproc with right symbols - maxproc was getting
incorrectly reduced for UVM.
1998-07-14 03:17:05 +00:00
veego 1b46ebe1d9 Add elf_machdep.h to the INCS list. 1998-07-12 17:53:29 +00:00
thorpej 639cc899cf Basic elf_machdep.h for m68k; doesn't include relocations, yet. 1998-07-12 01:17:58 +00:00
mhitch 7b04d96d02 Add UVM support to amiga.
Use a second free memory list for 16-bit Zorro II memory other than the
first memory segment.
1998-07-10 20:26:35 +00:00
mhitch dc9188e3e1 Add UVM support to amiga 1998-07-10 20:23:24 +00:00
mhitch 6e2d9eae80 Support two free memory lists; second list will be 16-bit Zorro II memory. 1998-07-10 20:16:21 +00:00
is 49ed29ab05 The INTF_RBF bit of INTREQ is mirrored in SERDAT. As we would read this
register anyway when the bit is set, we can safe one of the (slow) custom
chip accesses by using this bit.
Sounds ridiculous, but at a hardware FIFO depth of 1 and ~1 usec per
access (at IPL 5) it might help the highspeed addicts.
1998-07-07 16:46:38 +00:00
jonathan d275e56dee * defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan 011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan 5c0c5dd0b4 defopt ISO TPIP. 1998-07-05 04:37:35 +00:00
jonathan 3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
jonathan 466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
mhitch 34c823e939 A "GENERIC" kernel configured with a memory disk root. The miniroot can
now be inserted into the kernel for a self-contained installation kernel.
No more questions or problems trying to copy the miniroot to the swap
partition.
1998-07-03 22:27:59 +00:00
mhitch 65346d4042 Add memory disk. 1998-07-03 22:24:45 +00:00
mhitch 14a5ad4ce6 Make 'end' references consistant. Fixes PR#5670. 1998-07-03 22:21:42 +00:00
is 8a8208f978 Synchronize shadow ciab.pra variable on first open. 1998-06-29 19:31:19 +00:00
is 1bec8366fd Fix a problem with bogus hangups that Thorsten Frueauf has reported. 1998-06-26 17:50:20 +00:00
lukem bd8d501f7e remove options FIFO; it's now the default 1998-06-26 01:53:43 +00:00
thorpej 8aee7782f5 defopt COMPAT_SUNOS 1998-06-25 23:40:33 +00:00
thorpej 971b8956ef defopt KTRACE 1998-06-25 21:18:11 +00:00
kleink 513959b129 `interupt' -> `interrupt' 1998-06-14 19:47:14 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
tv 00ede2160e Change ddb_init() for a.out to provision for kernels which are not booted by
the current 'bootblock' method, like the Shark, which preloads and preformats
the symbol table right in the boot code.
1998-06-09 01:57:41 +00:00
thorpej a7f360c6c9 Specify a non-profiling C rule. 1998-05-31 23:25:41 +00:00
is 07a089c48c Replace a couple of machineid uses by cputype uses. 1998-05-24 20:55:01 +00:00
is d96ca9b830 Fix thinko. Rather, nonthink-o. 1998-05-24 20:10:33 +00:00
is b20631e721 Last part of the opt_m68kcpu.h backout. 1998-05-24 20:06:32 +00:00
is 7a0f63f982 Back out the defopt for M680?0. As pointed out to me, this breaks ports which
dont use the M680?0 the way Amiga, Atari, Mac68k, and X68k do. I must have
missed this in the past discussion about this project.
1998-05-24 19:32:34 +00:00
is e58fc1f821 - remove some dependency lines which aren't needed anymore due to opt_m68kcpu.h
- There isn't any vfs_conf.o anymore.
1998-05-24 08:31:33 +00:00
is 6a6812fd92 Move M680[2346]0 to opt_m68kcpu.h.
XXX Some explicit dependencies could be removed now from the individual
arch/$ARCH/conf/Makefile.$ARCH files, but this is still to be done.
1998-05-23 20:51:06 +00:00
thorpej 6626878e7b It is no longer necessary for pmap_pinit() and pmap_release() to be
pmap interface functions, as NetBSD no longer uses statically allocated
pmaps (except for the kernel pmap, which is special-cased anyhow).
1998-05-19 19:00:11 +00:00
is db6e62f6ec pcb_ustp went away long ago. 1998-05-12 23:48:34 +00:00
chopps 9ed2f725ab add -m and -k flags 1998-05-08 23:03:49 +00:00
chopps 09332ff276 remove -Z (load from chipmem) flag
fix copier code (startit) to work bi-directionally.
change compiler optimization options to save some bytes
1998-05-08 19:08:18 +00:00
kleink aa36ad1f55 Fix some arithmetics lossage on typeless pointers. 1998-05-07 21:01:41 +00:00
veego 8a9498f09a Don't use an 'register char' as an array index, change it to an int. 1998-04-17 17:57:08 +00:00
veego d15b06459b Add missing int after an register. 1998-04-17 17:38:14 +00:00
is e61d6bdb82 Dont define splserial here... its now different from spltty. 1998-04-16 21:28:00 +00:00
is c61f5c0cc5 Uhm... looks like I forgot this when doing the MACHINE_NEW_NONCONTIG stuff.
Sorry folks.
1998-04-14 20:18:08 +00:00
tv b21bfbde11 Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
is 4e23fff56a Make ser.c compile again (preliminary release). It needs still a lot of
cleanup, but at least mainstream usage should be possible again (worked
for me 5 minutes ago).
1998-04-11 19:30:56 +00:00
is da0b5bf913 amiga_ttyspl -> amiga_serialspl (and keep ttyspl constant at 4 again).
(Part of this change slipped in with my last machdep commit; thanks to
Matthias Scheler for pointing this out).
1998-04-11 18:28:33 +00:00
mhitch 11b4024ccf Initialize proc0.p_addr so we don't dref NULL in trap(). [From hp300 locore.s]
Fixes PR 5281.
1998-04-11 16:13:57 +00:00