Commit Graph

44 Commits

Author SHA1 Message Date
matt 2cf5fc0ece Add options to allow overriding of PCI0 & PCI1 MEM and I/O start and sizes. 2003-03-27 07:19:11 +00:00
matt 1ebbd9b463 Make PCI interrupts -> GPP mapping configured via config file.
Add bus_spaces for all possile obios.  Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
2003-03-24 17:07:15 +00:00
matt 13db562ca9 Remove unneeded code in pci_bus_configure (was pci_config_bus). Fix
setting of bus_spaces in gt_attach.
2003-03-18 19:35:01 +00:00
matt 0200088d83 Enable iobats for the PCI memory space(s). 2003-03-18 19:33:50 +00:00
matt 0a2b7ed22b Switch to gtmpsccnattach. Fix a few bugs in bus_space initialization. 2003-03-18 14:59:12 +00:00
matt 0b9b6810a5 Removed unused variable. 2003-03-18 14:56:48 +00:00
matt 3ec00b9a8f work around a cache problem. (flush both caches and disable the D-cache). 2003-03-18 14:56:21 +00:00
matt a935178cad remove "kludge" com console.
Simplify timebase initialization.
2003-03-17 23:28:09 +00:00
matt 0fb35cae8c Get CLOCKBASE from opt_ppcparam.h. 2003-03-17 23:24:41 +00:00
matt ecc8926154 Add CLOCKBASE=100000000 2003-03-17 23:23:47 +00:00
hannken afb54fa917 Add hardware accelerated copy/erase ops. 2003-03-17 18:39:23 +00:00
matt 77533df068 Remove some debugging code. 2003-03-16 08:12:26 +00:00
matt f5110f7988 EV64260 now gets to single user prompt using COM1 (2nd uart) as console
with PPCBOOT as firmware.  XXX PCI devices are not found.
2003-03-16 07:07:17 +00:00
matt 8344279675 Synchronize macppc and evbppc majors when possible. Add a lot of missing
devices to evbppc.
2003-03-13 17:02:52 +00:00
hannken 42cc9f8839 Add wscons to MAKEDEV. Add wsfont major number. 2003-03-13 14:56:56 +00:00
hannken 249e0067fe Add a port to the NCD Explora451 ThinClient.
- Supported devices: le, com, lpt, pckbd, frame buffer.
 - Support missing:   phy, audio, pcmcia.
 - Boots from network or md.

Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:57:54 +00:00
hannken 44b1e07ec9 Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers.
  - non-standard access to the time base.
  - 16 byte cache lines.

Approved by: Eduardo Horvath <eeh@netbsd.org>
2003-03-11 10:40:15 +00:00
matt dfb9f2d504 Remove some constant (use value in bus_space_tags). 2003-03-07 18:24:00 +00:00
matt feeb962699 Correct pci1 bus_space tag. 2003-03-06 20:15:24 +00:00
matt 3dc865b386 Relocate Discovery first thing in initppc (if not at expected address).
This implies that if PMON tells us where the GT is, we write that address
in gtbase.
2003-03-06 06:04:21 +00:00
matt a190651169 Make most of PPC (OEA) bus_space's identical (or as identical as possible).
(except mvmeppc).
2003-03-06 05:25:18 +00:00
matt ff2281b498 Add preliminary support Marvell (Galileo) Discovery System Controllers.
This code was contributed by Allegro Networks.
2003-03-05 22:08:18 +00:00
matt 92d0498c3d Remove port-specific procfs_machdep.c (since they are all identical and
a better one resides in powerpc/powerpc/).
2003-03-05 05:43:42 +00:00
matt e1d9426036 Make to define ${BOARDTYPE} 2003-03-04 07:52:21 +00:00
matt 107803a3a3 Re-arrange things in evbppc & powerpc to support OEA-based eval boards
in evbppc.  OEA-based board(s) to be added later.
2003-03-04 07:50:57 +00:00
matt 4f493fc42d Zero bss in start, not in initppc. 2003-02-24 08:06:42 +00:00
thorpej 15e901c4b9 No need for DEBUG in an install kernel. 2003-02-07 04:47:04 +00:00
nakayama e3e4805068 Replace machine/rnd.h with more appropriate name to share it
with cycle counter based microtime in kern/kern_microtime.c.
2003-02-05 13:57:50 +00:00
matt b4450c6d3c Move ibm4xx vmparam.h to powerpc/include/ibm4xx directory. Add a stub
vmparam.h to choose the right vmparam.  This is needed so evbppc can host
both ibm4xx and oea based eval boards.
2003-02-03 23:09:29 +00:00
matt 2b0e97a561 Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea). 2003-02-03 17:09:53 +00:00
matt 3e793a03a1 More cleanup for OLDPMAP. 2003-02-03 05:15:51 +00:00
matt 7c1e50a21a Perform a rototill of the powerpc code. Mandate use of SPRG0 to store
a pointer to current cpu's cpu_info structure.  Use cpu_info for
intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on
non-MULTIPROCESSOR machines.  Add common macros GET_CPUINFO and
INIT_CPUINFO to get and initialize the cpu_info struct on startup.  Make
ibm4xx use the standard <powerpc/frame.h>.  Use IFRAME_xx in ibm4xx
trap_subr.S instead of explicit magic offsets.  Move INTSTK and SPILLSTK
to std.<platform>.  Change faultbuf to a struct instead of an array.

On MPC6XX cpus, stop using the vector page for temporary space and use
reserved space in cpu_info.
2003-02-02 20:43:17 +00:00
matt e680c1c1e9 Load SPRG0 with &cpu_info_store. 2003-01-30 07:46:28 +00:00
thorpej 23bc250391 Merge the nathanw_sa branch. 2003-01-17 21:55:23 +00:00
lukem 4bb41ae2f2 Rework how KERNOBJDIR functions; now it's always determined with
cd ${KERNSRCDIR}/${KERNARCHDIR}/compile && ${PRINTOBJDIR}
This is far simpler than the previous system, and more robust with
objdirs built via BSDOBJDIR.

The previous method of finding KERNOBJDIR when using BSDOBJDIR by
referencing _SRC_TOP_OBJ_ from another directory was extremely
fragile due to the depth first tree walk by <bsd.subdir.mk>, and
the caching of _SRC_TOP_OBJ_ (with MAKEOVERRIDES) which would be
empty on the *first* pass to create fresh objdirs.

This change requires adding sys/arch/*/compile/Makefile to create
the objdir in that directory, and descending into arch/*/compile
from arch/*/Makefile.  Remove the now-unnecessary .keep_me files
whilst here.

Per lengthy discussion with Andrew Brown.
2003-01-06 17:40:18 +00:00
thorpej 4f162f46b9 Make this compile without DDB. 2003-01-04 18:14:48 +00:00
thorpej 296dfde575 Remove KERNFS silliness. 2003-01-04 18:14:22 +00:00
thorpej c72ac1fcf2 Don't fail the kernel build if dbsym fails. 2003-01-04 18:13:51 +00:00
thorpej 1132348b98 Use aprint_normal() for cfprint routines. 2003-01-01 01:24:19 +00:00
thorpej 0ad39e91ea Fix sysmon entry. 2002-12-31 22:43:38 +00:00
thorpej 2a39e8388d Merge the IBM 4xx into the common powerpc/locore_subr.S, and
eliminate all the duplicated context switch related code in
the IBM 4xx port.
2002-12-19 19:37:25 +00:00
thorpej 78ea2dd367 Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
scw f1d6e9e873 Add pmc.h 2002-12-09 12:17:42 +00:00
scw 5448df2eed New umbrella-port for PowerPC-based evaluation boards.
The first board to be included here is the port to the 405GP-based
Walnut evaluation board, which up until now lived in arch/walnut.

arch/walnut will go away soon, once all the remaining walnut-isms
in the tree have been dealt with.
2002-12-09 12:15:48 +00:00