Commit Graph

115 Commits

Author SHA1 Message Date
darcy ce0ec1e208 Add System V semaphore resource limits to each GENERIC file that has an
option for System V semaphores.  It appears that there are no overrides
in the code and each file has the following added.

 options    SYSVSEM     # System V semaphores
+#options   SEMMNI=10   # number of semaphore identifiers
+#options   SEMMNS=60   # number of semaphores in system
+#options   SEMUME=10   # max number of undo entries per process
+#options   SEMMNU=30   # number of undo structures in system
 options    SYSVSHM     # System V shared memory

If anyone thinks that this is incorrect for any of these files, please
correct it.

Note - the i386 port was not forgotten.  It was done separately.
2001-06-30 11:00:31 +00:00
fredette 3543a1603c Removed stand from SUBDIRS. 2001-06-27 19:23:16 +00:00
fredette 9dd442f913 Added a Makefile for the sun2 includes. 2001-06-27 19:22:18 +00:00
fredette 4c566b2daa Include a common header, then define macros that
give the appearance of specific attach args for
the mbio and mbmem buses.
2001-06-27 19:21:49 +00:00
fredette 2cf2ebc67c Now define a suitable ELF32_MACHDEP_ID_CASES. 2001-06-27 19:20:22 +00:00
fredette dd2704a334 Just include a common header. 2001-06-27 19:19:22 +00:00
fredette dced0aa013 Declare the PROM console device. 2001-06-27 19:02:26 +00:00
fredette 33575e8a53 Now don't include zsvar.h until the end. splzs() is
now defined in machine/cpu.h.  Define zs_peripheral_type.
2001-06-27 19:01:14 +00:00
fredette f76d90d237 Added comments and fixed some macros now that I correctly
understand how to address the sun2 VME bus in the VM hardware.
2001-06-27 18:54:27 +00:00
fredette 5f35b65f29 Now define kernel_context() and restore_context(), these
are used by some sun68k common code.
2001-06-27 18:48:30 +00:00
fredette 451ebb23d2 Converted to use the new bus-specific attach args.
Added the zs_console_flags function, used to tell
MI code what zs is tied up in the console.
2001-06-27 17:41:03 +00:00
fredette 75eb351428 Converted to use the new bus-specific attach args,
and the bus_space_peek_N functions.  Now use hand-defined
macros instead of relying on structure layout to find registers.
Allocate the DMA handles here, since the MI chipset code
doesn't do that any more.
2001-06-27 17:37:04 +00:00
fredette a63be0a0a4 Converted to use the new bus-specific attach args,
and the bus_space_peek_N functions.  Also uses the
sun68k-specific bus_space_copy{in,out} functions.
2001-06-27 17:32:44 +00:00
fredette b480d71a7a Added an attachment for Intel ethernet (ie) at obio.
Added support for the 3Com Ethernet (ec) at mbmem.
2001-06-27 17:24:35 +00:00
fredette 1bf6975d6b Added support for the PROM console. 2001-06-27 17:04:59 +00:00
fredette fdc8ed9a06 Updated for ELF support. 2001-06-27 17:03:10 +00:00
fredette 79f31f9463 A sun2 is also a sun68k kind of a machine, and it also uses ELF. 2001-06-27 16:59:57 +00:00
fredette e702f4a813 Now uses the sun68k common code. Changed how the keyboard
and mouse attach.  Added support for ie at obio, the ec adapter.
2001-06-27 16:57:57 +00:00
fredette 9e33b7b680 Updated with VME machine support, a.out compat,
some zs and console changes.
2001-06-27 16:51:20 +00:00
fredette 08068ecc5d Don't unmap the PROM's first four physical/virtual pages
inside pmap_bootstrap, instead we will wait until we have
installed our vector table.
2001-06-27 03:41:27 +00:00
fredette d5598f2f68 Made these files part of the sun68k common code. 2001-06-27 03:32:49 +00:00
fredette 39fb6a6f16 Now netintr and sun2_find_prom_map have prototypes in
the common sun68k code.  Added prototypes for g0_entry
and g4_entry so that prom_abort() can use them.
2001-06-27 03:31:42 +00:00
fredette 7a083fffc2 Don't set up the g0 and g4 handlers here, now prom_abort()
does this.  Include the common m68k 16-bit aligned copy routines.
2001-06-27 03:25:31 +00:00
fredette 4d85da3f79 Moved much softint and bus_space/bus_dma code
to the common sun68k code.
2001-06-27 03:16:02 +00:00
fredette ee7503cf71 Converted to use the new bus-specific attach args. 2001-06-27 03:00:45 +00:00
fredette a50332b3e7 Converted to use the new bus-specific attach args,
and the bus_space_peek_N functions.
2001-06-27 02:59:26 +00:00
wiz f3f6c5b675 `accessible' only has one `a'. 2001-06-19 12:52:20 +00:00
christos 0f380fac15 Add an e_trapsignal member to struct emul, so that emulated processes can
send the appropriate signal depending on the trap type.
2001-06-18 02:00:48 +00:00
fredette 6000674775 Now unmap the PROM's pages only after we have
installed our own vector table.
2001-06-15 00:32:38 +00:00
thorpej 8eb3b954f1 Don't need to prototype child_return() here, it's in <sys/proc.h>. 2001-06-14 22:56:55 +00:00
fredette 1a4779d8a4 Now get the prototypes from the common sun68k/sun68k/control.h. 2001-06-14 16:36:46 +00:00
fredette 7ab5601058 Since physical memory below 0x2000 isn't mapped anywhere
for now, return EFAULT when /dev/mem tries to read it.
Other physical memory not managed by the pmap system is
mapped at the same virtual addresses.  Now that we
understand how VME PTEs are constructed, give mmapping
a VME bus a better chance of working..
2001-06-14 16:32:45 +00:00
fredette 8f6cff260d Now uses the common sun68k bus_space/bus_dma
and autoconf code.
2001-06-14 15:54:18 +00:00
fredette 70ba9292d4 Now use the bus_space_peek_N function to probe for
the device, and common sun68k_find_prom_map function to
find a PROM mapping for a device.
2001-06-14 15:20:46 +00:00
fredette 9c1d420baf This file has been moved to sys/dev/vme. 2001-06-14 15:15:15 +00:00
fredette 15b02e5ba0 Added a function, prom_sd_target, to translate a PROM
sd unit number into a SCSI target.  Now only set up our
g0 and g4 handlers inside prom_abort(), so we're not
normally running with them.
2001-06-14 13:21:39 +00:00
fredette edad0f956c Under _LKM, now undefine KERNBASE for declaring it.
Not sure if this is correct, but the real question
is whether 68000 LKMs are even possible.
2001-06-14 13:18:54 +00:00
fredette 54f88e2668 Corrected the value of DVMA_OBIO_SLAVE_BASE; obio
devices can see the entire CPU address space.
2001-06-14 13:17:04 +00:00
fredette 01e5507e7e Now simply include the real header under arch/sun68k. 2001-06-14 13:16:03 +00:00
fredette 000fa36842 Moved the definition of romVectorPtr here from mon.h.
Prototype prom_sd_target.
2001-06-14 13:15:21 +00:00
fredette 9e52c15c31 Now simply include the real header under arch/sun68k. 2001-06-14 13:12:50 +00:00
fredette af6051568c Removed. These files can be found under arch/sun68k now. 2001-06-14 13:10:20 +00:00
fredette 8d1b187a4c Fixed pte_print to display the correct names
for VME device pages.
2001-06-11 21:35:59 +00:00
fredette 6e5f704918 Now use hand-defined macros instead of relying
on structure layout to find registers.  Added
a VME attachment.
2001-06-11 21:33:47 +00:00
wiz 40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
fredette cca6e28421 Added comments and fixed some macros now that I correctly
understand how to address the sun2 VME bus in the VM hardware.
2001-06-08 18:00:51 +00:00
chs 821ec03ed9 replace vm_map{,_entry}_t with struct vm_map{,_entry} *. 2001-06-02 18:09:08 +00:00
lukem d84d2c6c85 add missing #include "opt_kgdb.h" 2001-05-30 15:24:23 +00:00
mrg 67afbd6270 use _KERNEL_OPT 2001-05-30 11:57:16 +00:00
mrg 3783ca5d30 define _KERNEL_OPT as well as _KERNEL. we will use this in the future to
get kernel "opt_foo.h" headers, rather than _KERNEL && !_LKM.
2001-05-29 02:20:20 +00:00