chs
9f52e62b73
fix the previous change: use the correct test for a block number
...
referring to a direct block.
2001-11-10 07:11:00 +00:00
shin
82c810212c
make this compile without DDB.
2001-11-10 06:56:35 +00:00
sato
c702430929
MCR-300/310/320/330/for Docomo have same PWCTL_LCDLIGHT, PWCTL_LCD port.
2001-11-10 04:53:47 +00:00
thorpej
615b7aff22
Delete an option that doesn't really exist.
2001-11-10 00:18:17 +00:00
thorpej
fa6ae96384
This file is not used.
2001-11-10 00:13:58 +00:00
thorpej
f03c5f5a7c
Add VERBOSE_INIT_ARM and SYMTAB_SPACE options (commented out). Add
...
devices: iopxs (i80312 Companion I/O), pci, ppb, fxp, inphy, ukphy.
2001-11-10 00:11:11 +00:00
thorpej
8a0624f3a4
Add some missing backslashes.
2001-11-09 23:36:52 +00:00
thorpej
d1f4bf74ca
Add support for PCI DMA on the i80312. We currently just do
...
DMA via the Secondary Inbound window, for now. Will probably
need to revisit this at some point.
Require that the board-specific i80312 front-end slice off a
subregion for the memory controller before calling i80312_attach(),
and fix a bug in the IQ80310 front-end that caused the Secondary
Inbound window to be configured incorrectly.
2001-11-09 23:15:52 +00:00
thorpej
3797f5214d
Fix typos in determing the ATU and PPB bus numbers.
2001-11-09 22:47:48 +00:00
thorpej
c3dc4c8c9e
Add PCI_NETBSD_CONFIGURE.
2001-11-09 20:59:39 +00:00
thorpej
393b381a6d
PCI interrupt mapping support for the IQ80310.
2001-11-09 20:58:57 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
thorpej
d32191e3da
Add support for configuring the PCI bus (starting with the Secondary
...
bus only, for now).
XXX Some cleanup wrt. pci_conf_interrupt() needs to happen.
2001-11-09 19:48:35 +00:00
thorpej
b1ec255377
Add a "firstbus" argument to pci_configure_bus(), indicating the
...
first bus number to use, rather than always assuming that we should
start at bus #0 .
2001-11-09 19:29:12 +00:00
christos
c89e803d30
Remove USB copyrights. The coff and elf loading code did not come with BSD4.4.
2001-11-09 19:27:25 +00:00
thorpej
716af300ee
In query_bus(), use the parent pciconf_bus_t's PCI chipset tag,
...
not the new bus's (which is potentially uninitialized when some
calls are made).
2001-11-09 19:20:19 +00:00
thorpej
671a1b111f
Print the fault PC for non-USR Prefetch Aborts.
2001-11-09 19:04:23 +00:00
scw
f1defc3543
To avoid backwards seeks on sequential devices (eq. QIC tapes), read all
...
the program headers in one operation into an internal buffer.
2001-11-09 18:31:08 +00:00
scw
439d3ea3cb
G/C some debug printfs inadvertently left in the last commit.
2001-11-09 18:27:59 +00:00
scw
2f42a5932e
Implement just enough of an lseek() to keep loadfile_elf32() happy.
...
While I'm here, bump RAWFS_BSIZE up to 8192 since the installation
instructions use "bs=8k oconv=sync". My Archive Viper now streams
nicely while booting.
2001-11-09 18:25:11 +00:00
scw
dca93f1b48
The success/failure status for some Bug syscalls is indicated by the Z
...
flag in the status register, not by a value on the stack.
How this ever worked for so long is beyond me...
2001-11-09 18:18:19 +00:00
thorpej
82c11eec1c
Clear the Master Abort after reading config space for a non-existent
...
PCI device. Disable debugging messages, as PCI config space works now.
2001-11-09 18:04:10 +00:00
thorpej
42a10f6cd4
Implement a badaddr_read() routine which performs a load of the
...
specified size for the caller, and returns true or false indicating
whether or not a Data Abort occurred (i.e. the address was "bad").
2001-11-09 17:58:00 +00:00
thorpej
d16c00cfb2
Disable the ATU interrupt sources (i.e. interrupts that occur when
...
we get Master or Target aborts).
2001-11-09 17:44:43 +00:00
thorpej
10392361f8
Make the DDB trace output a lot easier to look at.
2001-11-09 16:49:29 +00:00
augustss
495b9bd7d5
Fix a bug in xfer abort processing when the HC executes ahead of what
...
the driver aborts.
Don't block RHSC interrupts.
2001-11-09 15:01:57 +00:00
augustss
3dd8433864
Add a debug message.
2001-11-09 14:59:11 +00:00
thorpej
13aa19d0fc
Eval boards usually don't have boot loaders. If we're lucky, we
...
have firmware that understands ELF. We're usually stuck with S-Records.
To make life easier, attempt to stuff kernel symbols into the image
with dbsym(8).
If the kernel doesn't have SYMTAB_SPACE, or if the SYMTAB_SPACE is too
small, the kernel build continues as normal; this is just a convenience
measure.
2001-11-09 07:39:25 +00:00
thorpej
147b1bdc1c
Add some rudimentary support for ELF symbols in DDB on the ARM ports.
...
On platforms which load the kernel sans symbols directly from firmware
(possibly in e.g. S-Record format), call ddb_init() with empty arguments,
so that it will search any compiled in SYMTAB_SPACE. On all other platforms,
if __ELF__, also call ddb_init() with empty arguments until ELF bootloaders
which pass symbol information are ready.
2001-11-09 07:21:37 +00:00
thorpej
47514a31be
Remove unneeded declarations of the db_machine_init() function. The
...
ARM ports are the only ones that actually have one, and it is about
to change.
2001-11-09 06:52:23 +00:00
augustss
1315ed7da5
Regen.
2001-11-09 05:49:53 +00:00
augustss
1018a07d67
Add a device (from OpenBSD).
2001-11-09 05:49:09 +00:00
matt
e85e9a59a1
Make this compile under ELF.
2001-11-09 05:31:44 +00:00
thorpej
b72e770a8a
IQ80310-specific setup for the i80312 Companion I/O chip driver.
2001-11-09 03:31:37 +00:00
thorpej
660b98b7dc
Snapshot of work-in-progress for Intel i80312 Companion I/O chip;
...
just basic Inbound and Outbound window setup is done, PCI configuration
space access (not quite working yet), and I/O and Memory space routines
so far.
2001-11-09 03:27:51 +00:00
simonb
0000c94242
Delete "break"s and "return"s after the math_abort() macro, which itself
...
finishes with a "return".
2001-11-09 00:38:57 +00:00
thorpej
3130a93ac8
Remove unnecessary prototypes for zero_page_read{only,write}().
2001-11-09 00:34:34 +00:00
eeh
d0f2652711
Overhaul the interrupt system to use hardware interrupts directly.
2001-11-08 23:28:13 +00:00
scw
61fd713a11
Commit a change I've had lying around for a while: Initialise wired
...
PTEs with `PG_U' to avoid them being needlessly updated when first
accessed.
2001-11-08 21:53:44 +00:00
scw
05c8b8d35b
Fix a couple of uninitialised variable warnings with New Toolchain.
2001-11-08 21:41:42 +00:00
scw
a1cf047679
Fix a couple of uninitialised variable warning with New Toolchain.
2001-11-08 21:40:25 +00:00
bouyer
f7bc541779
Fix a memory leak when we change pl_corename several times.
2001-11-08 21:24:47 +00:00
christos
64a6ea2e08
Regen.
2001-11-08 17:05:58 +00:00
christos
c7a7458e1e
PR/14503: Cesar Crusius: Add Xircom XE2000.
2001-11-08 17:05:42 +00:00
reinoud
a822070813
Note the addition of arch/acorn32 as Acorn's line of ARM 6,7,SA machines.
2001-11-08 16:47:51 +00:00
christos
e415081a60
PR/14498: Wesley Chen: Identify loaded modules vs. kernel, because we don't
...
load the elf header with them.
2001-11-08 15:01:35 +00:00
christos
500d44e36c
PR/14498: Wesley Chen: Print a return after enumerating the matching symbols.
2001-11-08 15:00:17 +00:00
haya
fd0fac251e
Regen w/ devlist2h.awk ver 1.4.
2001-11-08 09:08:41 +00:00
haya
ba93570e3c
Bugfix; to create compilable pcmciadevs_data.h. kern/11659
2001-11-08 09:02:17 +00:00
gmcgarry
2cd41580a7
Make install observe ${INSTPRIV}
2001-11-08 07:45:25 +00:00