Commit Graph

30877 Commits

Author SHA1 Message Date
reinoud 89400b4aab Allthough this patch doesn't look that much it adds a few things that were
on the port-acorn32's TODO list for quite some time :

- when the serial console is selected, don't exclude the screen
alltogether; currently the keyboard is still not attached but that might be
a configuration problem in the GENERIC console or a failure to explicitly
connect to a wsmux. This needs further investigation.

- create a framework for the display memory writeback on vsync for
StrongARM processors since they don't have a write-trough cache. This is to
solve the lazy screen update that is very evident in single user mode on
these processors; the cache isn't flushed/written back that often and parts
of the screen can thus be resident in the cache but not written out to
memory yet.

- clean up some loose ends in the code.
2002-03-23 02:00:26 +00:00
thorpej b326238b01 Remove redundant #ifdef _KERNEL 2002-03-23 01:56:31 +00:00
wrstuden 27d8692678 Add support for storing NetBSD file system type codes inside of
an Apple Partition entry. As proposed to port-macppc. Also some
prototype modernization for touched routines.

Method is that NETBSD, NETBSD/MACPPC, NETBSD/MAC68K partitions,
if they have a valid bzb, contain all of the info we shove in a NetBSD
disklabel partition entry. defines in disklabel.h cover aliasing
some of the bzb fields.
2002-03-23 01:29:35 +00:00
leo 7c8d16d63f Also find swap partitions in a (possibly embedded in AHDI) NetBSD label on
the disk.
2002-03-22 21:29:23 +00:00
leo 7b23fbe29a Add code for reading NetBSD disklabels. 2002-03-22 21:27:58 +00:00
shiba f819f78977 fixed attach fail intvid in PowerBook Duo 210,230.
these machine works with multi user mode.

References:http://developer.apple.com/techpubs/hardware/Developer_Notes/
		Macintosh_CPUs-68K_Portable/PowerBook_Duo_System.pdf
           http://developer.apple.com/techpubs/hardware/Developer_Notes/
		Macintosh_CPUs-68K_Portable/PowerBook_150.pdf

Submitted: Daishi Kato <daishi@axlight.com>
Tested: Kazuyuki Inanaga <happyday@pp.iij4u.or.jp>
2002-03-22 20:10:28 +00:00
christos b7acd59d13 Add more debugging code. 2002-03-22 18:41:40 +00:00
christos c8f14c1d44 remove debugging printf. 2002-03-22 16:41:23 +00:00
christos 2df30ebb25 linux passes the 6th argument in %ebp; handle that so that we can get mmap2
working. Also tell us which syscall has too many args. Thanks Frank!
2002-03-22 14:49:37 +00:00
reinoud 12d0f60218 If the serial console is asked for then dont forget to define the function
prototype for connecting the serial console....
2002-03-22 13:32:51 +00:00
takemura db078facf1 Added Vrc4172 USB OHCI for Pencentra 130. 2002-03-22 09:18:07 +00:00
fredette 72eb42a61e Added files.c to SRC_sa. 2002-03-22 00:30:06 +00:00
fredette 3ba7f2074a Added missing DEV_ constants. 2002-03-22 00:28:55 +00:00
fredette 6db09399a0 Added bits to use the console code under sys/arch/sun2 and
sys/dev/sun.
2002-03-22 00:28:08 +00:00
fredette d2550b2ba7 Added the console and zs code now found under sys/arch/sun2. 2002-03-22 00:25:56 +00:00
fredette 5268abfc97 sc_btype has been removed from struct bwtwo_softc. 2002-03-22 00:24:45 +00:00
fredette 453e503b32 Added support for the sun2 zs serial ports. As this driver
is very common on Suns, it could be made shared under sys/dev/sun.
2002-03-22 00:23:53 +00:00
fredette ae1f6b9ea8 Added bits to complete the sun2 console code. These are
virtually identical copies of files under sys/arch/sparc/dev,
and one day they will be merged under sys/dev/sun.
2002-03-22 00:22:43 +00:00
petrov 9305f3556c Remove excessive declarations. 2002-03-21 22:50:09 +00:00
ragge c034dd5209 Inline functions that mostly do not need to be called. Partly
rearrange/change the code to be able to avoid some inefficient functions.
Profiling shows that the time spent in pmap now is decreased by 20%. (!)
2002-03-21 22:08:08 +00:00
petrov 8805e1b92d Not needed debug stuff deleted. 2002-03-21 06:56:31 +00:00
uwe bf8a9d7f0d Fix cast in sbus_promaddr_to_handle(). 2002-03-21 04:32:25 +00:00
uwe 2837da095f PROM patches for JavaStation-1. 2002-03-21 04:04:12 +00:00
eeh e9c8c1eee3 Add missing semicolon. 2002-03-21 01:19:41 +00:00
eeh ecdc1104a9 Add missing brace. 2002-03-21 01:18:42 +00:00
eeh e6bf9fbdd2 Cleanup. 2002-03-21 01:17:08 +00:00
eeh 7fba99a774 Cleanup. 2002-03-21 00:48:43 +00:00
eeh a1649fc334 Parenthesise macro arguments. 2002-03-21 00:43:42 +00:00
eeh 0cb6a3a2a5 Add bus_space_vaddr(). 2002-03-21 00:30:41 +00:00
gmcgarry bf49f00fe6 Use host tool elf2ecoff if available. 2002-03-20 20:18:00 +00:00
gmcgarry dd71debbae Test for USETOOLS properly.
cVS: ----------------------------------------------------------------------
2002-03-20 20:15:18 +00:00
ross 6a723063ac nonfunctional warning fix: use canonical indirect call syntax 2002-03-20 20:06:51 +00:00
eeh 47ef6a5146 Overhaul bus space.
bus_space_handle_t now holds an address and two ASIs, one for normal accesses
and one for streaming accesses.  This allows to map individual handles
different ways, so some can use MMU bypass accesses and others use virtual
addresses.  bus_space_map() will now create handles that use bypass accesses
unles BUS_SPACE_MAP_LINEAR is passed in.  So only pass in BUS_SPACE_MAP_LINEAR
if you absolutely *need* to use bus_space_vaddr().  This removes at least one
extra level of indirection and should reduce TLB misses.

32-bit kernels have problems accessing 64-bit addresses, so they always use
virtual addresses.
2002-03-20 18:54:46 +00:00
eeh bd48e83999 DDB_ONPANIC now needs a number. 2002-03-20 18:43:53 +00:00
eeh bd22d9d0f1 Add PTE_WIRED bit to keep track of wired pages. 2002-03-20 18:41:53 +00:00
eeh 8ccad96d54 Add sbus_promaddr_to_handle() to convert a prom address to a bus_space_handle_t. 2002-03-20 18:39:44 +00:00
christos 7e277b5782 kill remaining PS_STRINGS instances. 2002-03-20 17:59:22 +00:00
joda 0624e7fe7a add HTT cpu flag, and further split message 2002-03-20 15:59:26 +00:00
chs fb88d3b0ba add missing cache flushes in pmap_protect(). fixes PR 15965. 2002-03-20 02:50:19 +00:00
thorpej c0d66944db Make sure we override any optimization options specified by the
user; the boot blocks don't work when built with e.g. -mcpu=i486
(probably due to how branches are aligned in that case, causing
segment boundaries to be crossed).
2002-03-19 22:03:37 +00:00
eeh c34c58d78e Using PSR_PIL in conjunction with the IPL results in a comparison that is
always true.
2002-03-19 19:47:57 +00:00
briggs 14bcbc0e29 Ignore cpu_sleep() if called with anything other than ARM_SLEEP_MODE_IDLE. 2002-03-19 19:41:57 +00:00
eeh 7a49cca31a Fix up compiler options:
1) Get things right for 32-bit kernels

2) Always use medium any memory model for 64-bit kernels for the moment.
2002-03-19 18:10:33 +00:00
drochner b40bbc753e work around a pc-relative jump optimization in early startup 2002-03-19 17:59:04 +00:00
augustss 2448d257af Add uvscom driver. Untested. 2002-03-19 15:10:21 +00:00
briggs d099df10f4 Use obio_bs_rr_1.
In obio_bs_map(): Create a mapping for regions that are not in the
	standard on-board I/O space.
2002-03-19 01:36:13 +00:00
atatat 8fb7f2015a Remove a comment that is wrong 2002-03-19 00:58:17 +00:00
atatat 808a91f311 Put the extra kernel names in EXTRA_KERNELS 2002-03-19 00:57:53 +00:00
simonb 267b8c65f5 Define all CPU types if _LKM is defined; fixes problems building LKM's
as noted by FUKAUMI Naoki on port-mips.
2002-03-19 00:53:46 +00:00
thorpej 09a6f546a3 PS_STRINGS -> p->p_psstr 2002-03-18 22:57:53 +00:00