Commit Graph

222 Commits

Author SHA1 Message Date
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
tsubai 6dbdfeab77 include GENERIC. 1999-03-26 16:40:09 +00:00
tsubai 35a4f16a60 ``INSTALL'' + USB doesn't work (binutils bug?).
So use this instead.
1999-03-26 14:58:22 +00:00
mrg 7b93dd1117 remove opt_uvm.h 1999-03-25 00:41:46 +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
wrstuden 3c8e65b670 Oops. macppc doesn't use PCLK as a baud rate source. 1999-03-23 18:07:19 +00:00
thorpej 63b6321834 VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES. 1999-03-23 00:31:59 +00:00
cgd 284689634e Moved to arch/macppc/include/pci_machdep.h,v 1999-03-19 03:36:19 +00:00
cgd 49e6daa992 Moved from arch/macppc/pci/pci_machdep.h,v 1999-03-19 03:36:18 +00:00
sommerfe bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
tsubai 79c71e0bae Check the accessibility before reading from configuration space. 1999-03-15 03:03:10 +00:00
tsubai 07e094073c Remove bogus comment. 1999-03-15 02:26:10 +00:00
perry d446fb449c exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145 1999-03-12 22:42:30 +00:00
tsubai 5023765f61 Adapt Open Firmware 3.x. 1.x and 3.x are not bug-compatible... 1999-03-05 06:21:17 +00:00
tsubai 4bdf0d9244 Modify parseargs() so that device names can contain '-'. 1999-03-05 06:18:38 +00:00
tsubai c6a8ff5d24 RSS accounting. 1999-03-05 06:11:18 +00:00
scottr 624b6ac9a6 Implement the BUFCACHE kernel config option. 1999-03-01 21:32:24 +00:00
tsubai 78665b6502 Increase default data size to compile libbfd without `virtual memory
exhausted'.  Suggested by Scott Reynolds.
1999-02-27 18:32:31 +00:00
scottr d32ed292af defopt BUFCACHE and BUFPAGES. 1999-02-27 06:39:34 +00:00
tsubai b10dbdb37a Initialize BAT registers in the first place. 1999-02-26 18:36:15 +00:00
tsubai 16442fd649 Add MESH SCSI driver.
Sort entries.
1999-02-22 20:25:43 +00:00
tsubai 650f05d8c7 Ensure msgbuf_paddr is accessible (by bat). 1999-02-19 14:11:35 +00:00
tsubai c8117990ae Use 6x11 font if screen size is smaller than 1024x768.
(Open Firmware ROM has 6x11 font.)
1999-02-19 14:02:33 +00:00
tsubai da71ba4292 First step of MESH SCSI support.
XXX no disconnect/reselect.
XXX sync transfer is very unstable.
1999-02-19 13:06:03 +00:00
tsubai 60307f0ef1 Sync with mac68k. 1999-02-17 14:56:56 +00:00
tsubai 4806be8d02 Use powerpc/reloc.h. 1999-02-16 17:53:42 +00:00
tsubai adf03cea81 Add copyright notice. 1999-02-16 15:20:51 +00:00
hubertf 100778d54a RCS ID police 1999-02-15 04:25:28 +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
mycroft 2a304686e6 Minor cleanup.
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
tsubai cd010c972c Oops, last change is wrong... 1999-02-08 14:32:00 +00:00
tsubai d1276ebc65 Make this compile. (and sync with dev/ic completely) 1999-02-06 20:04:31 +00:00
tsubai 7177191d30 Allocate DMA-aware memory area using "dma-alloc" method and use them
for data buffer.
XXX currently only netif_put() uses this.

iMac can use ofwboot.elf now.
1999-02-04 15:41:15 +00:00
tsubai 78094a09f1 Uncomment PCI-PCI bridges. 1999-02-04 15:04:58 +00:00
tsubai 630abfea00 Add PCI-PCI bridge support for Bandit. 1999-02-04 14:54:00 +00:00
tsubai 610a648c7d Use "local-mac-address" property to get MAC address. 1999-02-04 12:14:24 +00:00
mycroft be1af660c0 Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft 54f0a0ae81 Clone changes from the version in dev/ic. (These should be merged!)
Note: NOT tested on this port yet.
1999-02-03 20:19:08 +00:00
tsubai 68c9ce2c96 Don't use BAT register. (not needed now.) 1999-02-02 16:48:17 +00:00
tsubai a4de4218fd Use private (its own) segment registers in Open Firmware call,
instead of BAT register.
1999-02-02 16:47:08 +00:00
tsubai ef69721044 findroot() now recognizes network devices. 1999-02-02 16:37:51 +00:00
tsubai 378f49eff8 Ensure lowest 256MB is mapped by BAT0. 1999-02-02 16:29:25 +00:00
tsubai fed24e89c8 Adapt disklabel_mbr.h change. 1999-01-31 19:56:56 +00:00
tsubai a4f0ae9043 Adapt disklabel_mbr.h change. 1999-01-31 13:54:24 +00:00
thorpej 24d9973308 Use <sys/disklabel_mbr.h>. 1999-01-27 21:30:08 +00:00
tsubai 941abb6bf6 ofmsr[IP] = 0. 1999-01-27 14:46:28 +00:00
tsubai 5ad236211f Add file-system MFS. 1999-01-27 12:43:17 +00:00
tsubai 711ac04b78 syncicache(sigcode, sigcodesize) before exec. 1999-01-24 15:07:51 +00:00