wiz
440337fdce
Remove (commented out) pms cdev_decl.
2002-04-19 02:12:00 +00:00
wiz
8aedc259f8
Don't cdev_decl(pms).
2002-04-19 02:10:17 +00:00
wiz
b430d917cf
Complete renaming of opms to opms (was mostly pms internally).
...
Mechanical change, tested by cross-compiling GENERIC from i386.
Approved by christos.
2002-04-19 01:43:48 +00:00
simonb
f09098b78b
Add a newline to a debug printf.
2002-04-19 01:14:17 +00:00
wiz
d79f4782b6
Complete renaming of opms to opms (was partly named pms, externally and
...
internally). Move arm/iomd/pms* to arm/iomd/opms*. Mechanical change,
tested by cross-compiling a kernel from i386.
Approved by christos.
XXX: What are arm/arm32/conf.c and arm/include/conf.h good for?
2002-04-19 01:04:38 +00:00
kleink
99d4b7c71f
Unused; already implemented in libkern.
2002-04-18 21:42:36 +00:00
leo
1913310c9e
Handle uninitialize warning.
2002-04-18 20:12:01 +00:00
matt
66c475ca19
Use a common genassym.cf for all the PPC_MPC6XX ports. Add a makeoptions to
...
std.foo to indicate the directory to get genassym.cf from. Add an intrframe
to <powerpc/frame.h> and make trap_subr.S use symbolic offsets into it.
2002-04-18 20:08:05 +00:00
kleink
de339ffb8a
Alpha-sort/cosmetics.
2002-04-18 19:48:41 +00:00
eeh
c54358008e
Remove unused file.
2002-04-18 17:24:09 +00:00
eeh
4acff51bdc
Cleanup a bit and get rid of unnecessary cache flushes.
2002-04-18 17:19:12 +00:00
eeh
55bcc7df8b
Don't include cpuvar.h.
2002-04-18 16:37:26 +00:00
eeh
bb8f4cc510
Calculate NBPG from PGSHFT.
2002-04-18 16:31:47 +00:00
wiz
95bc0b09e2
Remove opms(4) for bebox (superseded by pms(4)).
...
Approved by christos.
2002-04-18 15:44:20 +00:00
bouyer
ca16b3dee1
Add libsa's files.c to list of sources, so that files[] exists.
2002-04-18 15:39:02 +00:00
tsutsui
e5c1c88d93
Add version strings by newvers_stand.sh to secondary boot.
2002-04-18 14:54:38 +00:00
briggs
29e436c9e8
Enable new option SIOP_SYMLED
2002-04-18 14:32:57 +00:00
wiz
5b79e27a96
This port never even had opms -- remove line referencing it.
2002-04-18 13:18:29 +00:00
wiz
c6dc851f64
Remove opms(4) and its device, /dev/pms0, from the i386 port, because
...
it has been obsoleted by pms(4).
Reviewed by fvdl and christos.
2002-04-18 12:54:09 +00:00
kleink
eb225418ed
Don't do random replacement in isitrap601; just like isitrap.
2002-04-18 12:33:26 +00:00
bouyer
618e11b77d
Add (commented out) options SIOP_SYMLED
2002-04-18 12:06:11 +00:00
thorpej
0f3cb4bcae
Add a standalone routine for fetching the memory size from the
...
core module on an ARM Integrator board.
2002-04-18 05:30:45 +00:00
gmcgarry
36adeea7c2
Don't frob MCR_IEN bit if on a 425e. Problem initially reported
...
by Christoph Badura:
It looks to me like the 425e uses reverse polarity of the MCR_IEN bit with
respect to the other 4xx models. That could be because it doesn't have
an inverter wired behind the IEN(OUT2) output of the UART.
Fix is inspired by change in OpenBSD. Serial console input is
confirmed working on 425e by Thilo Manske.
2002-04-17 23:31:24 +00:00
hubertf
0ee29be147
add appropriate description
2002-04-17 23:23:49 +00:00
gmcgarry
b3dae2b4b6
Regen: "digital audio"
2002-04-17 20:51:11 +00:00
gmcgarry
c4ab5a6201
typo in previous
2002-04-17 20:50:45 +00:00
gmcgarry
5123c61682
device id 0x13 is "digital audio" as reported by Thilo Manske.
2002-04-17 20:49:06 +00:00
gmcgarry
e25ab469b9
Attach apci console as an intio device, not a dio device.
...
Fixes console attach on 425e noted by Thilo Manske.
2002-04-17 20:40:30 +00:00
thorpej
a7a582e392
* Call board_init() rather than mem_init() (board_init() will take
...
care of that for us).
* Call board_fini() right before jumping to the kernel entry point.
2002-04-17 17:38:58 +00:00
thorpej
a400421fe8
Add board_init() and board_fini() routines for IQ80310 and IQ80321
...
eval boards.
2002-04-17 17:37:52 +00:00
rafal
7a25d8c7ba
Add event counter for zs interrupts and attach and use it; also, get the
...
zs major number out of the cdevsw table rather than hardcoding it in zs.c.
2002-04-17 13:49:54 +00:00
mycroft
f61e8b1c43
Per PR 13668, add tlp at pci.
2002-04-17 11:52:47 +00:00
mycroft
8de6aa0fbc
This file is redundant now.
2002-04-17 02:27:14 +00:00
mycroft
a03e2b5e1e
Remove TLP_MATCH_* options.
2002-04-17 02:26:48 +00:00
mycroft
558b4fb278
Switch from de to tlp by default.
2002-04-17 02:22:41 +00:00
mycroft
332493e8b7
These machines are gone.
2002-04-17 02:04:26 +00:00
heinz
cc1422920f
Change name of console fonts kf_8x8.c and kf_8x11.c
2002-04-17 00:59:07 +00:00
heinz
89a0c77ff9
Add East European (iso8859-2) console fonts
2002-04-17 00:52:13 +00:00
heinz
77a6abbbed
Renamed kf_8x8.c and kf_8x11.c to kf_iso8859_1_8x8.c and kf_iso8859_1_8x11.c
2002-04-17 00:51:05 +00:00
eeh
8c0f10ff03
Add icache_flus_page() to go with dcache_flush_page().
2002-04-16 23:13:13 +00:00
eeh
690711542d
We want pages modulo 16K not modulo 32K.
2002-04-16 23:11:20 +00:00
eeh
cd1c5cd9c5
Make lots of routines profile-friendly and get rid of some cruft.
2002-04-16 23:09:37 +00:00
bjh21
12282dd258
Regen. Remove pppoe from FALCON kernels.
2002-04-16 22:44:26 +00:00
bjh21
0884ac3b9e
Don't include pppoe in FALCON kernels, since they don't include any Ethernet
...
devices.
2002-04-16 22:42:55 +00:00
thorpej
eedd94475c
* Move the mii_bitbang attribute into dev/mii/files.mii
...
* Pull in dev/mii/files.mii from conf/files, rather than playing
the magic "files include order" dance in N machine-dependent
configuration definitions.
2002-04-16 20:50:16 +00:00
thorpej
f23ba7637c
Add Application Accelerator Unit registers.
2002-04-16 17:36:06 +00:00
uch
5f10da67a7
Define all CPU types if _LKM is defined.
2002-04-16 17:33:56 +00:00
wiz
5040dc6d7d
Remove last(?) traces of pmsi.
2002-04-16 11:49:54 +00:00
kleink
b1a7e54209
pmsi(4) is gone.
2002-04-16 07:42:19 +00:00
thorpej
bbdbd9ab37
Add i80321 DMA controller registers.
2002-04-16 04:50:14 +00:00
thorpej
d533e315ee
Fix a typo and an omission in last.
2002-04-15 17:27:39 +00:00
bjh21
1f1695ddff
Build the keymap-generating programs as hostprogs, since they're only run
...
on the host system and never installed.
Install the generated keymaps using <bsd.files.mk> rather than by hand, so
that all the UNPRIVED magic can work.
2002-04-15 17:27:33 +00:00
bjh21
5178253d62
Only include opt_*.h #ifdef _KERNEL_OPT.
2002-04-15 17:05:13 +00:00
thorpej
bc6522fb34
Add bits for the XScale Auxillary Control Register.
2002-04-15 16:34:32 +00:00
mycroft
69bae7ce64
Add wm.
2002-04-15 15:00:18 +00:00
tsutsui
2168ee307b
Remove (commented-out) pmsi entries.
2002-04-15 14:47:03 +00:00
skrll
6024d2c603
Nuke pmsi
2002-04-15 12:52:28 +00:00
leo
6b640fdcec
Fix PR-16305. Make the 'end' symbol local.
2002-04-15 09:29:56 +00:00
mhitch
77b771d03b
Don't copy boot.amiga to ${DESTDIR}/ - it is now done by the install/update
...
script, sysinst, or manually when the bootblock is installed.
2002-04-15 08:38:55 +00:00
briggs
0c4a264e40
Really nuke pmsi
2002-04-15 02:05:10 +00:00
briggs
9d121c1c24
Nuke pmsi
2002-04-15 01:43:35 +00:00
manu
33d1091e95
Removed the IRIX signal trampoline, which is useless now we use the signal
...
trampoline provided by IRIX libc.
2002-04-14 21:52:25 +00:00
thorpej
cff1953dae
Fix typo in last (luckily, search/replace makes the same typo everywhere).
2002-04-14 21:32:24 +00:00
thorpej
302ea396c3
iq80310_do_pending -> iq80310_do_soft, to accurately describe what's
...
actually going on there.
2002-04-14 21:30:19 +00:00
thorpej
a9e4c1a943
* Delcare COUNTER_MASK properly.
...
* Restructure timer_read() so that the compiler generates better code.
2002-04-14 19:47:03 +00:00
lukem
fdc8fec66f
allow default colours to be overridden by
...
PCCONS_DEFAULT_FG PCCONS_DEFAULT_SO_FG
PCCONS_DEFAULT_BG PCCONS_DEFAULT_SO_BG
2002-04-14 14:20:33 +00:00
tsutsui
d539066478
Set COPTS="-Os -mmemcpy"
2002-04-14 12:51:17 +00:00
takemura
e63e3c0ed4
Added bus probing to avoid bus error.
2002-04-14 07:59:56 +00:00
tsutsui
a1124f0f2a
Enable spifi SCSI.
2002-04-14 07:37:58 +00:00
takemura
c9cb463127
Print bad address in interrupt handler.
2002-04-14 07:34:20 +00:00
takemura
ab452aef6c
Fixed 8bpp problem of mq200.
2002-04-14 06:07:40 +00:00
tsutsui
55c1bc5448
Expand MEMORY_DISK_ROOT_SIZE to 2.5Mbytes.
2002-04-14 02:30:22 +00:00
mycroft
92719d60d8
The functionality of pmsi has been implemented in pms, so it's time for pmsi
...
to go back where it came from.
2002-04-14 01:42:52 +00:00
briggs
301eca907d
Enable ext2fs and RAIDframe.
2002-04-13 23:33:16 +00:00
thorpej
71123e8747
Gah, correct editor mistake in last.
2002-04-13 22:42:39 +00:00
thorpej
755369ecb1
* Eliminate some redundant masking.
...
* Don't run the snake if the board doesn't have a 7-segment display.
2002-04-13 22:41:46 +00:00
bjh21
b5d40b188c
Remove bogus dependency on options HPCARM.
2002-04-13 19:15:52 +00:00
briggs
652b9e4c7b
Fixes and changes from Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>.
...
* Clean up after briggs@ changes to support bus_dma.
* Add support for reading sMemory resources from nubus cards.
* Add support for old cards with only the board rsrc (NatSemi NB-GPIB, e.g.)
* Add a few more card identifiers.
2002-04-13 17:49:41 +00:00
tsutsui
f1cd70e3dc
Add -DLIBSA_USE_MEMCPY and -DLIBSA_USE_MEMSET to CPPFLAGS.
2002-04-13 17:48:10 +00:00
matt
54d0dedd0c
Cleanup the debug prints in pmap_enter.
2002-04-13 15:58:30 +00:00
bjh21
34aad0d131
Only include opt_compat_svr4.h ifdef _KERNEL_OPT.
2002-04-13 14:20:29 +00:00
tsutsui
df16ac88cd
Use "-Os -mmultiple".
2002-04-13 13:44:48 +00:00
tsutsui
c7a7330ca9
Add "cleanlibdir" target.
2002-04-13 13:35:23 +00:00
tsutsui
c58dce575b
Set USE_LIBSA_MEMCPY and USE_LIBSA_MEMSET to save a few bytes.
2002-04-13 13:31:40 +00:00
simonb
506b9316a4
Remove commented out "options EXEC_ELF_CATCHALL", and note that
...
COMPAT_1{1,2} provide this (renamed) functionality.
2002-04-13 12:08:46 +00:00
manu
c56e133974
More comments on the new signal frame/trampoline
2002-04-13 10:52:59 +00:00
takemura
090be59325
Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
...
and backout changes 'fix LCD byte-order setting':
arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8
arch/hpcmips/dev/plumvideo.c Rev. 1.23 to 1.24
arch/hpcmips/tx/tx3912video.c Rev. 1.24 to 1.25
2002-04-13 09:29:53 +00:00
tsutsui
97538862ad
Add -b option for contiguous secondary boot on ustarfs.
2002-04-13 08:14:07 +00:00
tsutsui
b29a332627
Add ustarfs support and changedisk_hook().
2002-04-13 08:04:41 +00:00
tsutsui
3369f7b337
Add some ioctl() definitions to eject floppy.
2002-04-13 07:56:02 +00:00
tsutsui
894a4f24e2
Add getchar().
2002-04-13 07:53:53 +00:00
tsutsui
d5dd9411f6
bcopy() -> memcpy()
2002-04-13 07:34:41 +00:00
tsutsui
10720920d5
bzero() -> memset()
2002-04-13 07:34:17 +00:00
tsutsui
c69f6fde96
Rename halt() -> rom_halt(), and declare it in romcall.h.
2002-04-13 02:43:43 +00:00
tsutsui
5e64969e37
Build SA libs with -mmemcpy and set LIBSA_USE_MEMSET and LIBSA_USE_MEMCPY.
2002-04-13 02:30:30 +00:00
tsutsui
9d95be4e68
Add -mmemcpy to CFLAGS.
2002-04-13 02:29:08 +00:00
mycroft
d4a9baf2b1
Add IR support.
2002-04-13 02:25:27 +00:00
thorpej
5358f38f8b
Add an install kernel for the Npwr.
2002-04-13 00:51:18 +00:00
tv
43df8ed28f
Add host-OS tools for i386, which end up in the "installation/misc"
...
directory of the release tree.
2002-04-12 23:11:58 +00:00
leo
9485827587
Regen.
2002-04-12 22:37:21 +00:00
leo
d7f7c55a74
Move USERCONF to GENERIC.in and trim the phy-list.
2002-04-12 22:34:13 +00:00
leo
df30bb7f3d
Oops, remove some unintended changes.
2002-04-12 22:29:14 +00:00
leo
c3e3c2c718
Add some PCI ethernet/audio cards for the Hades and the Milan.
2002-04-12 22:22:25 +00:00
leo
f94a8b4d29
Don't bail out when /netbsd is not present. We don't really need it
...
anyway.
2002-04-12 22:11:33 +00:00
leo
cbe57bbd7c
Make the exitcode != 0 when the ioctl fails.
2002-04-12 22:09:28 +00:00
thorpej
10c0c20ad4
Default all XScale core processors to the read/write-allocate write-back
...
cache mode. Add a new XSCALE_CACHE_WRITE_THROUGH option for people who
are paranoid about the cache-related errata (you *do* have to line up
the planets correctly to trip them, but having the option is useful).
2002-04-12 21:52:45 +00:00
thorpej
60e10382d5
Add a "netbsd-sd0" configuration.
2002-04-12 21:45:13 +00:00
thorpej
3d6043053d
* Add the ability to display .'s on the 7seg display.
...
* Display . . when halted.
2002-04-12 20:50:26 +00:00
thorpej
09eacc7061
Set COM_HW_NO_TXPRELOAD. The IQ80321's UART doesn't lose without
...
this, but it works fine with it, and this serves to broaden the
testing field of the flag.
2002-04-12 19:35:17 +00:00
thorpej
4a0ee23b99
Set COM_HW_NO_TXPRELOAD.
2002-04-12 19:34:24 +00:00
thorpej
ff7306cf44
* Add a new hwflag, COM_HW_NO_TXPRELOAD, which tells comstart() to
...
not pre-load the chip's Tx buffer, but instead waits for the Tx Ready
interrupt to transmit the first chunk of data.
* On the IOP310, set COM_HW_NO_TXPRELOAD, rather than COM_HW_TXFIFO_DISABLE.
This solves the "UART hangs" problem on the Npwr in a nicer way (i.e. we
get to use the FIFO, whee). The COM_HW_NO_TXPRELOAD happens to match the
Linux 16550 driver's Tx algorithm, and the "UART hang" was never observed
on the Npwr running Linux.
Eventually, we might want to eliminate the COM_HW_NO_TXPRELOAD, and simply
always use its algorithm. But it should be tested on more 16x50 variants
before we do that.
Kudos to Valeriy Ushakov <uwe@netbsd.org> for pointing out this solution
(which also happens to fix the stray UART interrupt issue on the Krups
Javastation), and to Allen Briggs <briggs@netbsd.org> for experimenting
with various methods of fixing this.
2002-04-12 19:32:30 +00:00
thorpej
f56b432a79
Use the bus_space_generic bus space ops.
2002-04-12 19:12:31 +00:00
thorpej
80146a5185
Use the bus_space_generic bus space ops.
2002-04-12 19:02:30 +00:00
thorpej
79303779d8
Add some generic bus_space ops, which are pulled in by the
...
"bus_space_generic" configuration attribute.
2002-04-12 18:56:57 +00:00
thorpej
32a0860797
Centralize ARM CPU configuration information by adding a new header
...
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel. What
you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
on which ARM architecture versions are configured (based on CPU_*
options). Also defines ARM_NARCH to determins how many architecture
versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
to determine how many MMU classes are configured.
Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.
2002-04-12 18:50:29 +00:00
manu
5ee554064d
Reworked IRIX signal delivery so that ucontext is used instead of sigcontext
...
when SA_SIGINFO is used. The IRIX process will hence find the expected
information using the third argument of the signal handler.
We do not provide code and siginfo yet.
2002-04-12 18:44:57 +00:00
bjh21
9ca6637757
opt_footbridge.h no longer exists.
2002-04-12 18:01:17 +00:00
mycroft
04d3df6513
Enable AGP GART support by default.
2002-04-12 17:58:17 +00:00
briggs
e588351a82
Don't need to install spkr.h
2002-04-12 13:33:23 +00:00
bjh21
1283cdaaed
Add <luna68k/svr4_machdep.h>, since that seems to be necessary to get
...
things to compile.
2002-04-12 12:46:39 +00:00
gmcgarry
6e066ba77a
Add commented-out USERCONF option. Mainly useful for install media
...
and can be optionally enabled based on miniroot and ramdisk size
requirements.
2002-04-12 08:10:45 +00:00
thorpej
a6159879f0
Remove footbridge-specific stuff that will never apply on the Integrator.
2002-04-12 06:13:42 +00:00
lukem
dab39d6237
use ${ELF2ECOFF} from <bsd.{own,sys}.mk>
2002-04-12 05:11:17 +00:00
briggs
a7d9bc4bf3
Processing pending interrupts before reenabling external interrupts in splx().
2002-04-12 04:52:57 +00:00
briggs
b5ee40947f
Disable TXFIFO on npwr. There is some sort of serial interrupt lossage that
...
seems to be greatly alleviated by this change.
2002-04-12 03:01:57 +00:00
briggs
8989cea6a8
Enable pciide, wd, atapibus, and atapi devices.
2002-04-12 02:57:00 +00:00
briggs
b5b11bf5f5
Map winbond interrupts.
2002-04-12 02:55:03 +00:00
briggs
67dbc34547
Remove exception for CONSPEED on NPWR -- current redboot uses 115200, too.
2002-04-12 00:58:49 +00:00
thorpej
49df0c927f
Lose -nbsd
2002-04-11 21:47:36 +00:00
bjh21
3a33a1deec
Jason claims that nothing tests for RISCPC any more. Make it so.
2002-04-11 17:31:23 +00:00
skrll
ac60400580
The results of my cats NWDO hacking.
...
This was tested using a custom INSTALL kernel. The current one is >4Mb
which the cats firmware can't currently boot. We need to decide what
needs to be removed from INSTALL.
2002-04-11 16:33:58 +00:00
pk
b7cae9b821
Pass fully encoded bus addresses in the attach arguments.
2002-04-11 11:11:23 +00:00
pk
24db2d2924
pmap_kremove4_4c(): correctly compute the maximum number of pages to be
...
unmapped within a segment.
2002-04-11 11:08:40 +00:00
thorpej
de43efffee
G/c non-netwinder stuff.
2002-04-10 22:35:17 +00:00
thorpej
bfe71d0a4b
vm_offset_t -> vaddr_t,paddr_t
2002-04-10 22:30:44 +00:00
thorpej
27d98ca694
Remove the Control register handling from arm32_vector_init(). Apparently,
...
the ARM6 and ARM7 do completely the wrong thing if you read this register,
so we have to handle this a different way.
2002-04-10 21:45:43 +00:00
thorpej
d2a6d9baa7
Remove obsolete tests of "netwinder" and "footbridge".
2002-04-10 20:30:30 +00:00
thorpej
2bbba08b60
Delete option SAIP; nothing tests it.
2002-04-10 20:20:04 +00:00
thorpej
9d1c2c73c1
Eliminate all #ifdef HPCARM, and delete the option.
2002-04-10 20:17:23 +00:00
thorpej
e52d5c4ec1
Remove FOOTBRIDGE.
2002-04-10 20:13:54 +00:00
thorpej
4a45f1922b
Remove meaningless test against FOOTBRIDGE.
2002-04-10 20:13:20 +00:00
thorpej
4f778bc49c
G/c FOOTBRIDGE option.
2002-04-10 20:12:08 +00:00
thorpej
a9242efbfb
Remove options NETWINDER and FOOTBRIDGE; nothing tests for them.
2002-04-10 20:11:44 +00:00
thorpej
59d47eeb79
Remove "options RISCPC"; nothing tests for it anymore.
2002-04-10 20:10:08 +00:00
thorpej
59c9e94b72
vm_offset_t -> vaddr_t,paddr_t
2002-04-10 19:35:22 +00:00
scw
d5ecd48d67
DTRT to avoid installing "netbsd.tmp" in /usr/mdec.
...
Addresses port-mvme68k/16282.
2002-04-10 18:43:21 +00:00
thorpej
ad2350dccf
On XScale processors where we use write-back caching, use are
...
read/write-allocate line allocation policy.
On the i80321, this improves nearly every lmbench benchmark, dramatically
so the ones that are sensitive to memory bandwidth (100-300% improvement
for these).
2002-04-10 17:39:31 +00:00
thorpej
2b924304ab
Add a new function, pmap_alloc_ptpt(), that allocates the PTPT and
...
maps it the way we want, rather than using uvm_km_zalloc() and playing
the "revoke cacheability" song-and-dance.
2002-04-10 17:08:13 +00:00
thorpej
cad393fa1c
pmap_alloc_l1pt(): Just enter the mappings for the L1 table by
...
hand, rather than calling pmap_kenter_pa() and then revoking
cacheability in the PTE.
2002-04-10 15:56:21 +00:00
thorpej
cd0e28f1e7
Use L2_S_CACHE_MASK in places where we revoke cacheability.
2002-04-10 15:44:23 +00:00
briggs
4fb4a95b7e
Install cpu.h. Noted in PR port-powerpc/16285 from smi@sm.sony.co.jp.
2002-04-10 15:36:42 +00:00
tsutsui
937863b61e
Add (missing) scsibus* at adw?
2002-04-10 13:41:04 +00:00
tsutsui
2b96151049
Disable BOOT_AOUT.
2002-04-10 13:38:42 +00:00
haya
cc2da29e03
Correct an error message.
2002-04-10 10:09:31 +00:00
briggs
41ec4fe6c2
Accept the bus_dma_tag_t for obio, too.
2002-04-10 05:13:09 +00:00
thorpej
668547d841
pmap_kenter_pa(): Obey the "prot" argument, rather than simply making
...
all mappings r/w (!!).
2002-04-10 04:40:58 +00:00
briggs
648cd86d69
Use m68k/m68k/cacheops.[ch]
...
Use m68k/m68k/bus_dma.c
- Add mainbus_attach_args with bus_space_tag_t and bus_dma_tag_t.
- Use passed-in tags for nubus scan.
2002-04-10 04:38:48 +00:00
briggs
0844eedc55
bus_dma(9) pulled pretty much verbatim from next68k.
2002-04-10 04:36:20 +00:00
mycroft
15aef6da21
Oops; fix the second usage.
2002-04-10 04:19:47 +00:00
mycroft
9502007faf
osf1_errno_rxlist[] -> native_to_osf1_errno[]
2002-04-10 04:18:31 +00:00
thorpej
6e52cbf89e
In pmap_copy_page_xscale(), put the source page in the mini-data
...
cache, as well. The mini-data cache is 2-way, so src and dst won't
clobber each other, and the smallness of the cache doesn't matter,
since we access each page once sequentially.
While we still have to do the initial clean of the source page, this
saves another 4K of main D$ pollution, and also means we don't have
to do 2 cache passes after the copy is complete (i.e. we can skip the
invalidation of the source page in the main cache, since it's no longer
there).
2002-04-10 01:30:42 +00:00
thorpej
2092e78cec
Add separate pmap_{zero,copy}_page() functions for generic ARM
...
vs. XScale. Use the mini-data cache for the destination on XScale,
thus saving tossing out 4K of possible-useful data from the main
data cache each time.
This significantly improves every test in lmbench.
2002-04-10 00:45:43 +00:00
thorpej
da162bee90
* Move the code that cleans the XScale mini-data cache into its
...
own function.
* Add a new function which sets up the mini-data cache clean area
properly.
2002-04-09 23:44:00 +00:00
thorpej
1b20a04772
* Split pte_cache_mode into pte_l1_s_cache_mode, pte_l2_l_cache_mode,
...
and pte_l2_s_cache_mode. The cache-meaningful bits are different
for these descriptor types on some processor models.
* Add pte_*_cache_mask, corresponding to each above, which has a mask
of the cache-meangful bits, and define those for generic and XScale
MMU classes. Note, the L2_S_CACHE_MASK_xscale definition requires
use of the Extended Small Page L2 descriptor (the "X" bit overlaps
with AP bits otherwise).
2002-04-09 22:37:00 +00:00
thorpej
de29118bc5
Use the "Extended Small Page" L2 descriptor type on XScale (note
...
this means that there are no 1K sub-pages on XScale, but we don't
use them anyway).
2002-04-09 21:23:16 +00:00
thorpej
917afc7038
Remove the implementation-defined bits from L1_S_PROTO_xscale and
...
L1_C_PROTO_xscale; while they are supposed to be set to 1 on generic
ARM MMUs (according to the SA-110 and ARM920T manuals), they are listed
as "should be zero" in the i80200 manual.
2002-04-09 21:11:31 +00:00
thorpej
c535f4ffc4
Define 2 classes of ARM MMUs:
...
1. Generic (compatible with ARM6)
1. XScale (can be used as generic, but also has certainly nifty extensions).
Define abstract PTE bit defintions for each MMU class. If only one MMU
class is configured into the kernel (based on CPU_* options), then we
get the constants for that MMU class. Otherwise we indirect through
varaibles set up via set_cpufuncs().
XXX The XScale bits are currently the same as the generic bits. Baby steps.
2002-04-09 21:00:42 +00:00
thorpej
7b422802f6
L2_TYPE_S -> L2_S_PROTO
2002-04-09 19:44:22 +00:00
scw
6a75b57b3d
Simplify generation of the s-record boot file using objcopy instead
...
of a homebrew tool.
Addresses port-mvme68k/16256.
2002-04-09 19:37:22 +00:00
thorpej
aee5994fce
Use abstract names for the protection and PTE type bits in
...
L1 and L2 descriptors. This will allow us to support different
PTE layouts that enable the use of extensions on different
processor models.
2002-04-09 19:37:14 +00:00
matt
361b1bae1a
Add stand/pcs
2002-04-09 18:03:48 +00:00
matt
d054aa6537
Move installation of pcs750.bin from etc/etc.vax to here so we can get an
...
object directory.
2002-04-09 18:03:07 +00:00
mycroft
98dc552995
Partially explain the magick in proc_trampoline().
2002-04-09 16:41:08 +00:00
mycroft
1b7015b0ca
Remove an ancient and bogus comment relating to BDB.
2002-04-09 16:29:25 +00:00
mycroft
e7dc129161
Add some comments on lgdt().
...
Also, reload %fs and %gs, since they are now set to the kernel data descriptor.
2002-04-09 16:22:22 +00:00
mycroft
745cd2197b
Remove some incredibly self-wanking comments, now that they are documented in
...
the *appropriate* place.
2002-04-09 16:16:32 +00:00
sakamoto
612c6ed6a0
add CFLAGS=-Wno-main for void main, suggested by Tsutsui-san.
2002-04-09 16:05:37 +00:00
sakamoto
edf360eeb6
Revert previous change. return type of main is void.
2002-04-09 15:59:35 +00:00
leo
f88c5b26b4
Oops, clicked in a '+' from the diff..
2002-04-09 14:54:40 +00:00
shin
dee24b4393
renumber IT310 staff.
2002-04-09 13:20:30 +00:00
leo
65e47dab1d
Mmmmm PCI_PRODUCT_ATI_MACH64_B -> PCI_PRODUCT_ATI_RAGE_PRO_PCI_P...
2002-04-09 13:16:09 +00:00
leo
a37ac7efba
Fix typo.
2002-04-09 13:14:03 +00:00
leo
47713ea9eb
Define minor for DEV_NVRAM
2002-04-09 13:07:27 +00:00
leo
959fef2f01
Pull in prototype for setregs()
2002-04-09 13:04:43 +00:00
simonb
c833e8820c
Remove a few more magic numbers.
2002-04-09 03:40:16 +00:00
simonb
73aae80caf
- Calibrate the timer before the first call to delay.
...
- Don't use a magic number for the com port address.
2002-04-09 03:38:28 +00:00
briggs
c5b80e7823
Constify bus_space_write_multi_N() and bus_space_write_region_N().
...
Addresses PR port-mac68k/16233.
2002-04-09 01:53:47 +00:00
gmcgarry
dea19257e2
Create default disklabel correctly.
2002-04-08 21:41:44 +00:00
eeh
15d074fe26
Add a nice 64-bit mstohz() and clean out some cruft.
2002-04-08 21:05:30 +00:00
bjh21
58b39c78dc
Add files.c to SRCS_sa, so at to get stuff to link again.
2002-04-08 17:39:42 +00:00
bjh21
59c268f094
Use ${PRINT_OBJDIR} rather than looking for the libsa objdir manually.
2002-04-08 17:29:53 +00:00
bjh21
98b2b14b9c
Add files.c to SRCS, since other bits of libsa want it.
2002-04-08 17:25:54 +00:00
bjh21
a886efc273
Rather than grovelling around for libsa's objdir by hand, use ${PRINT_OBJDIR},
...
since that's what it's for.
2002-04-08 16:58:19 +00:00
bjh21
4f23ca4d62
Add -Wno-uninitialized to CFLAGS, since it's overly-pessimistic.
2002-04-08 16:49:46 +00:00
sakamoto
05cc0bf255
update example, use $(TOOLDIR)/bin/nbmake-bebox.
2002-04-08 16:12:18 +00:00
sakamoto
ff5a135777
fix vers.o target.
...
add cleandir distclean cleanlibdir target, remove cleanobjs target.
2002-04-08 16:09:58 +00:00
sakamoto
6317dec5cd
change return type to int of main.
2002-04-08 16:07:47 +00:00
sakamoto
c359f5effe
include lib/libkern/libkern.h for isdigit.
2002-04-08 16:05:58 +00:00
sakamoto
0f46be36c0
use HOSTPROG and include bsd.hostprog.mk for host tools.
2002-04-08 16:03:17 +00:00
simonb
06959c9cc1
Add "options MIPS64". Evbmips/malta now works on 5Kc MIPS64 malta's.
2002-04-08 14:13:14 +00:00
simonb
40edbdfb37
- Call mips_vector_init() before setting up the serial console, but
...
after setting up the prom-based console. If more than one cpu class
is enabled, the wbflush() handler (needed indirectly by com.c) won't
be set up.
- Purge some old pmax mcclock-based code.
- Remove a '#if 1/#endif' pair.
2002-04-08 14:11:32 +00:00
simonb
769775ceb4
Make clock/time handling more accurate:
...
- Use the CPU count register for more accurate microtime (from
sbmips) and delay (based on an evbmips delay function) functions.
- Schedule the next hardclock interrupt more accurately (from
an sgimips patch by Rafal Boni). Clock drift on one board is
now ~7ppm instead of ~330ppm.
- Purge old pmax-based mcclock code.
- Correctly round off some clock-derived variable calculations.
XXX: Some of this code should be migrated to sys/arch/mips.
2002-04-08 14:08:25 +00:00
isaki
c78a609db3
Support slinear8, slinear16_le, slinear16_be.
2002-04-07 14:52:27 +00:00
matt
110c3a2bbf
Use ${PROG}.sym in CLEANFILES
2002-04-07 07:00:25 +00:00
shin
c368b8692b
add Fujitsu INTERTOP CX310 support.
2002-04-07 04:34:33 +00:00
tsutsui
dcdba279be
Change RAMDISK to define only MEMORY_DISK stuff and just include GENERIC.
2002-04-06 18:33:03 +00:00
manu
79166f2808
iAdded warning printtf just in case something calls the stubs functions here
2002-04-06 18:03:17 +00:00
thorpej
4d78508c9d
Back-out rev 1.75 (pmap_extract() rewrite), and fix the (minor)
...
bug that revision intended to fix properly.
2002-04-05 22:17:41 +00:00
bouyer
e5727031fb
Implement mstohz() as discussed on tech-kern, and use it in SCSI drivers
...
to convert xs->timeout to callout() parameter.
2002-04-05 18:27:45 +00:00
thorpej
991426d348
* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
...
Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h. While
doing this, two bugs (as a result of typos) were fixed in
arm/arm32/bus_dma.c
evbarm/integrator/int_bus_dma.c
2002-04-05 16:58:01 +00:00
gmcgarry
61d1eb003e
actually, we didn't want to print pa, not kva
2002-04-05 05:31:42 +00:00
thorpej
4185029680
Use pte_cache_mode instead of PT_CACHEABLE.
2002-04-05 03:57:16 +00:00
thorpej
cac428e2af
Use pte_cache_mode instead of PT_CACHEABLE;
2002-04-05 03:55:36 +00:00
thorpej
388879eeaf
Use pte_cache_mode instead of PT_CACHEABLE.
2002-04-05 03:42:39 +00:00
simonb
2d7c87ebfb
Add a "CPU_MIPS_DOUBLE_COUNT" flag for CPUs where the cp0 count register
...
ticks over at half the CPU clock speed, and set this flag for the known
CPUs with this behaviour. Better names for this flag gratefully accepted!
Also adjust comment about known R4000/R4400 revisions.
2002-04-05 01:22:16 +00:00
heinz
e4affd8cbf
Add polish keymaps pl_din and pl_us by Pawel Chwalowski <pch@polo.po.opole.pl>.
...
This solves part of PR port-amiga/15980
2002-04-05 01:05:03 +00:00
heinz
bac60291de
add polish keymaps created by Pawel Chwalowski <pch@polo.po.opole.pl>
2002-04-05 00:55:06 +00:00
simonb
2239aed3bd
Fix a tyop in a comment.
2002-04-05 00:19:56 +00:00
lukem
230e0c2c3e
Decommission pmax MD installboot in favour of MI installboot.
...
(Woo! pmax first again - hi Simon! :-)
2002-04-04 22:59:33 +00:00
bjh21
8fb1e55430
... and lock.h.
2002-04-04 21:29:04 +00:00
matt
0bdb3fb645
no need for defflag NETWINDER so nuke it
2002-04-04 21:09:59 +00:00
bjh21
27e0adf1e5
Install endian_machdep.h.
2002-04-04 20:29:35 +00:00
bjh21
4dd9cf6391
Install elf_machdep.h.
2002-04-04 20:18:01 +00:00
bjh21
fedfd6d298
Install reloc.h.
2002-04-04 20:12:30 +00:00
uwe
213d441358
Instead of relying on numerology set up by PROM, actually implement
...
bus_space_map/mmap methods that do proper PCI to phys address translation.
2002-04-04 18:47:23 +00:00
uch
cb4570f5f5
remove obsolete functions, decralations and structure.
2002-04-04 18:12:23 +00:00
uwe
118ae09c44
Fix error message.
2002-04-04 17:45:24 +00:00
thorpej
22e72c8da2
Don't need to mask w/ PG_FRAME.
2002-04-04 16:56:36 +00:00
ragge
04b9c4c25a
Fix crash problems reported by mrg and bouyer in separate mails.
2002-04-04 16:40:14 +00:00
skrll
d859e37a42
Remove trailing whitespace.
2002-04-04 16:04:22 +00:00
skrll
c0e4084210
Fix compile problem when DDB not defined.
2002-04-04 12:39:55 +00:00
thorpej
ce482eca0a
Eliminate a mask against PD_MASK.
2002-04-04 05:42:29 +00:00
thorpej
60b63aec95
There is no need to mask VAs and PAs w/ PG_FRAME to clear
...
the lower bits; UVM provides us page-aligned addresses for
everything. For the paranoid, we'll leave KDASSERT()'s in
that check for this if the kernel is built with DEBUG.
Low-hanging fruit that shaves some cycles.
2002-04-04 04:43:20 +00:00
thorpej
e539ef03aa
Rename flags that are really part of the pv_entry/mdpage into
...
pmap.h and give them more descriptive names and better comments:
* PT_M -> PVF_MOD (page is modified)
* PT_H -> PVF_REF (page is referenced)
* PT_W -> PVF_WIRED (mapping is wired)
* PT_Wr -> PVF_WRITE (mapping is writable)
* PT_NC -> PVF_NC (mapping is non-cacheable; multiple mappings)
2002-04-04 04:25:44 +00:00
thorpej
263270d684
Catch a couple more vector page mapping manipulations.
2002-04-04 02:06:46 +00:00
reinoud
c85015ee71
Also provide differential coordinate updates... pitty it can't be choosen
...
or specified in wscons itself. The absolute coordinates are broadcasted
_after_ the relative so a program that takes both won't get confused.
2002-04-04 01:03:23 +00:00
thorpej
20b1bb2655
Clean up handling of the vector page on 32-bit ARM systems:
...
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
address of the vector page (which MUST be valid when the function
is called) and a bitmask of vectors the kernel is going to take
over, and performs all vector page initialization, including setting
the V bit in the CPU Control register ("relocate vectors to high
address"), if necessary.
2002-04-03 23:33:26 +00:00
thorpej
d36a56b03a
Define the two possible addresses for the ARM vector page.
2002-04-03 22:12:52 +00:00
thorpej
d8ab0d1e84
Remove unused extern decls.
2002-04-03 21:06:21 +00:00
thorpej
6d66c469bf
Add a comment summarizing the post-ARM3 CP15 registers.
2002-04-03 19:57:48 +00:00
thorpej
7739f7410a
Always provide kernel_text.
2002-04-03 17:30:50 +00:00
darrenr
ff961593ca
apply patches from PR#10170
2002-04-03 16:34:11 +00:00
reinoud
9fc5cf5824
Fix the mmap'ing of the screen memory. The way it was implemented
...
completely sucked... I wonder how it was even working (....)
Thanks to Jason for pointing out the problem.
2002-04-03 16:03:50 +00:00
reinoud
943880cea2
Rototil and fix the pmap_extract function. It wouldn't even return data
...
when the part being quiried was mapped with a section (!) giving weird
results and had become a mess of goto's.
Complete rewrite and cleaned up the `goto'-jungle entirely ... ripped all
goto's. The resulting code is much better to read and might even have a
small performance gain.
2002-04-03 15:59:58 +00:00
bjh21
6d7ebd9ee6
<bebox/pte.h> has gone too.
2002-04-03 15:53:21 +00:00
bjh21
ed0cb3d8fc
Minimal makefile to ensure that arch/amigappc/include is picked up by
...
"make includes".
2002-04-03 14:37:54 +00:00
bjh21
dd0fa209d5
<bebox/bat.h> has been removed.
2002-04-03 14:28:57 +00:00
simonb
fab269a0eb
Backout the .sdata to .data change for now; this broke compiling of
...
hpcmips kernels.
2002-04-03 13:57:47 +00:00
simonb
2548187935
Don't make arch/mips/mips/mips_mcclock.c mandatory for all mips ports
...
with an mcclock - pmax is the only one currently using this.
2002-04-03 13:16:13 +00:00
msaitoh
55aa2c46b9
sync with i386/include/pmap.h rev. 1.45:
...
make dangerous pmap_copy() and pmap_move() no-op.
2002-04-03 10:38:51 +00:00