Commit Graph

35404 Commits

Author SHA1 Message Date
fvdl
b5233cbfdd Add dummy eisa option to ease sharing with i386. 2003-05-03 14:24:52 +00:00
ragge
a2dfcf291d Fix wrong ifdef's (introduced by me when ksyms:ing). 2003-05-03 12:45:16 +00:00
he
fd62acf652 Now that db_validate_address() is defined as external in
<arm/db_machdep.h>, don't declare it as "static" here.
2003-05-03 08:16:09 +00:00
bsh
2de6557e88 fix typo in an error message. reported by Jonathan Cline on port-arm. 2003-05-03 05:19:00 +00:00
bsh
00095bbed3 delete duplicated #include. reported by Jonathan Cline on port-arm. 2003-05-03 05:17:54 +00:00
thorpej
aae7e372b7 Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.
2003-05-03 03:49:03 +00:00
thorpej
1dff12252d Remove old pmap support for platforms which have fully switched over. 2003-05-03 03:29:06 +00:00
thorpej
b84ae2d2c2 Switch to the new pmap. 2003-05-03 03:19:27 +00:00
thorpej
38d274c953 ARM32_PMAP_NEEDS_PTE_SYNC no longer exists. 2003-05-03 00:47:42 +00:00
thorpej
dd8a20afe7 Make the new pmap standard on the shark. 2003-05-03 00:47:04 +00:00
thorpej
a86ebf303f Switch Integrator, IXM1200, and SMDK2800 to ARM32_PMAP_NEW. These
are the last of the ARM platforms to be converted.
2003-05-03 00:39:21 +00:00
thorpej
79a7aff0fd Don't need to reserve a page of space before KERNEL_BASE in the
ARM32_NEW_VM_LAYOUT case.
2003-05-02 23:26:47 +00:00
thorpej
4eeee795e8 Eliminate PTE_BASE and the PT-PT completely in the ARM32_PMAP_NEW case.
Also in the ARM32_PMAP_NEW case, reclaim the USPACE-bytes of wasted space
at the top of the user address that hasn't been needed for a very very
long time.
2003-05-02 23:22:33 +00:00
thorpej
21b77f9aec Eliminate the last reference to PTE_BASE in the new pmap. 2003-05-02 21:54:38 +00:00
scw
36664b74fa Rework pmap_growkernel() to *not* use the regular pmap_alloc_l2_bucket()
for L2 allocation. This avoids potential recursive calls into
uvm_km_kmemalloc() via the pool allocator.

Bug spotted by Allen Briggs while trying to boot on a machine with 512MB
of memory.
2003-05-02 19:01:00 +00:00
yamt
4b800ec987 set symbol to be a function using .type directive in IDTVEC macro
so that ddb backtrace can pick them up after recent ksyms changes.

suggested by Matt Thomas on tech-kern.
ok'ed by Frank van der Linden.
2003-05-02 18:05:46 +00:00
yamt
04ef812793 add spl.S, vector.S and microtime.S to MD_SFILES so that
'make depend' takes care of them.
2003-05-02 17:40:13 +00:00
toshii
5d4354a6d4 Make it compile without ARM32_PMAP_NEW defined.
Fixes PR kern/21397 by Jachym Holecek.
2003-05-02 14:42:48 +00:00
toshii
af1587350a Use db_machine_init. 2003-05-02 14:36:38 +00:00
tron
f4370adfbe Fix typo in last commit: static -> const 2003-05-02 09:36:46 +00:00
dsl
d91455ce26 Change return type of readdisklabel() to const char *
I hope I've found all the correct places!
2003-05-02 08:45:10 +00:00
tsutsui
09c17d2c36 Initialize struct consdev more properly. 2003-05-01 23:25:52 +00:00
tsutsui
3077e80f76 KNF 2003-05-01 23:02:35 +00:00
he
f8d1d53179 Move inclusion of "ksyms.h" up to above first test for NKSYMS, so that
this compiles again.
2003-05-01 18:38:54 +00:00
pk
5ac72273d9 Restore TLB flushes when removing level 2 & 3 page tables (these went missing
in revision 1.242).
2003-05-01 14:14:46 +00:00
scw
9ca9578760 Add bit definitions for some registers. 2003-05-01 09:05:56 +00:00
igy
f8bc001484 Support for Laser5's L-Card+ Embedded CPU Board
===============================================

This code enables NetBSD to support for NEC VR4181 CPU and some
devices on L-Card+ board.

NEC VR4181
----------

NEC VR4181 is a embedded CPU which has MIPS processor core and
integrated I/O devices within a package.  The basic architecture of
VR4181 is similar to other VR41xx family CPU.  Some integrated devices
are compatible to another VR41xx series CPU and some are not.

VR4181 has integrated devices listed bellow:

	- Two of 16550 compatible UART
	- Compact Flash controller
	- ISA bus controller
	- Audio CODEC
	- A/D converters
	- LCD driver
	- Touch panel controller
	- General purpose I/O


L-Card+ Embedded CPU Board
--------------------------

L-Card+ is name card sized CPU board for embedded system.  It is soled
by Laser5 (http://www.laser5.co.jp/) with Linux installed.

L-Card+ has following devices:

	- 16Mbyte flash memory (Intel 28F128)
	- 16Mbyte SDRAM
	- CS8900A Ethernet controller and RJ45 port
	- RS232C line driver and external connector
	- Compact Flash socket
	- A pair of Mezzanine connector for extension board
	- Some on-board LEDs


Current Feature of This Code
----------------------------

Following devices are supported:

	- UART (used for console)
	- wi on Compact Flash socket
	- cs (CS8900A)
	- Flash memory (Intel 28F128 and Fujitsu MBM29LV160)
	- Audio Coder (limited support)

--
Naoto Shimazaki
2003-05-01 07:01:58 +00:00
martin
d7259b772a Make this compile with __FULL_SPARC_BUS_SPACE,
from Steve Rumble in PR 21398.
2003-04-30 22:12:34 +00:00
dsl
cbcf556e10 Build mbr code here (instead of in sbin/fdisk/mbr) 2003-04-30 19:52:17 +00:00
scw
dd0d5640b9 Add support for bus_space_{read,write}_region_[124]() 2003-04-30 19:14:44 +00:00
thorpej
5e36c42a5d Don't consider lack of disk label to be an error. This addresses
PR kern/21408 for all of the ARM ports.  Other ports should follow
this example.
2003-04-30 19:05:21 +00:00
thorpej
b4e3c89c38 Bump kernel PTs to 4 (the max we can really have with the old VM
layout) to accomodate large ramdisks.  Set boothowto if BOOTHOWTO
is defined.
2003-04-30 18:12:03 +00:00
scw
44d097926f Delete an obsolete comment; ddb(9) is very definately functional on SH5. 2003-04-29 17:07:56 +00:00
scw
8c5c893bf7 Add a BKPT_ADDR() macro which gives MD code a chance to munge a
breakpoint address before it's used. Currently a no-op on all but sh5.

This is useful on sh5, for example, to mask off the instruction
type encoding in the bottom two address bits, and makes it possible
to do "db> break $rXX" instead of manually munging the address.
2003-04-29 17:06:03 +00:00
nakayama
1af3731706 - Add ehci at pci.
- Correct locator names for fwnode, and add sbpscsi at fwnode.
2003-04-29 16:17:12 +00:00
nakayama
4a9dc3167f Use device attributes, atapi, audiobus and midibus,
instead of each devices.
2003-04-29 15:59:08 +00:00
scw
c916242d13 Put an isync at the end of the RESTORE_SRS() macro. This is the
recommended workaround for a mtsr/mtsrin errata with PPC750 cpus.
2003-04-29 15:16:14 +00:00
scw
c48c683d1f Fix use of an uninitialised variable. This was harmless, other than
spuriously incrementing an interrupt counter.
2003-04-29 15:11:45 +00:00
scw
009fcb6ef7 Don't define KERNEL_TEXT_BASE, et al, if ARM32_NEW_VM_LAYOUT is defined. 2003-04-29 14:04:01 +00:00
scw
cbf4243cd7 KERNEL_TEXT_BASE is not defined for ARM32_NEW_VM_LAYOUT. 2003-04-29 13:27:21 +00:00
dsl
798f520353 Set BFL_NEWMBR flag so that fdisk can differenciate between new and old mbr code. 2003-04-29 10:24:24 +00:00
nakayama
7949ab62e7 Wrap a 64-bit mode case with #ifdef __arch64__ for 32-bit kernels,
and fix typo in comment.
2003-04-29 05:59:16 +00:00
nakayama
9ab502701d Use BLOCK_ALIGN rather than BLOCK_SIZE for aligning a pointer. 2003-04-29 05:53:11 +00:00
thorpej
d55f2b8b87 Descend into stand. 2003-04-29 05:42:43 +00:00
thorpej
d762fbd09d Fix the name of the image. 2003-04-29 05:38:52 +00:00
thorpej
7733ffd60d Make these images concatenating images. 2003-04-29 05:36:20 +00:00
thorpej
fb01afa9c7 Descend into the gzboot directories. 2003-04-29 05:35:08 +00:00
thorpej
8163f9a129 * Add ${PROGSYM} to CLEANFILES.
* Instsall either the .bin or the .sym, based on whether or not
  the resulting gzboot needs to be mdsetimage'd.
2003-04-29 05:32:41 +00:00
thorpej
a8d10ed83c Also build a flat binary version of the gzboot program. 2003-04-29 05:15:14 +00:00
thorpej
893a35a154 Bump version to 1.2 for the concatenation feature. 2003-04-29 05:05:41 +00:00