drochner
2df9b8f13f
get up-to-date (cleanup, splimp->splvm)
2001-05-16 18:49:51 +00:00
drochner
038ce6b8af
get up-to-date (sprinkle pmap_update())
2001-05-16 18:49:05 +00:00
drochner
26085708d5
get up-to-date (get rid of vm specific error codes, sprinkle pmap_update())
2001-05-16 18:48:21 +00:00
drochner
29182d41aa
get up-to-date (splimp->splvm, cleanup, sprinkle pmap_update())
2001-05-16 18:47:04 +00:00
simonb
96a430ba30
If _SOFT_FLOAT is defined, pull floating point va_args from the GPR
...
area and not the FPR area (by having the double argument type test
always fail).
Fixes problems using <stdarg.h> with -msoft-float.
2001-05-16 15:41:03 +00:00
simonb
9c23ab2d54
Add "switch to ELF".
2001-05-16 15:01:40 +00:00
uch
3c3caa0eb2
don't generate opt_spec_platform.h
2001-05-16 14:26:40 +00:00
msaitoh
cbcd644ce8
sigreturn() fix (from kleink)
2001-05-16 12:42:38 +00:00
enami
43923690d3
Add an entry for Victor MP-C303.
2001-05-16 11:13:20 +00:00
enami
389aaa8b08
Regen.
2001-05-16 11:06:27 +00:00
enami
7cd4cb0d25
Define platid for Victor InterLink MP-C303
2001-05-16 11:04:57 +00:00
tsubai
9b368d61a4
Add AirMac frontend.
2001-05-16 10:56:42 +00:00
enami
fb619e9a70
Calc. cpu speed for VR4122.
2001-05-16 10:49:18 +00:00
leo
cfc3edb550
remove some debugging leftovers.
2001-05-16 08:45:50 +00:00
enami
2f39ebba50
Victor MP-C303 uses 4k pagesize. So, ask system instead of hardcoding it.
2001-05-16 08:40:51 +00:00
enami
422ad4763b
The lower bound for getPage is _addr_table_idx, not 0.
2001-05-16 08:37:44 +00:00
enami
679894e9ae
Add missing close paren in message.
2001-05-16 08:19:42 +00:00
kanaoka
aa09aa91c7
Search the entire device-space of bus 0 if the router device
...
address is set to 000:00:0, and the compatible router entry
is undefined.
Patch PR port-i386/12880 by Dave Sainty <dave@dtsp.co.nz>.
2001-05-16 08:10:36 +00:00
leo
8406481cd3
Regen.
2001-05-16 07:53:54 +00:00
leo
7cab6084a4
Fix errors in previous commit:
...
- forgot PCI bus
- forgot pckbd config
2001-05-16 07:50:29 +00:00
matt
c45b32243a
Add a VAXANY type. Eventually to used in INSTALL / GENERIC to easily
...
include support for all VAX platforms
2001-05-16 05:36:53 +00:00
perry
4201bf1ae0
nuke bcopyw and bcopyb. It is unclear what they were for, and nothing
...
called them.
2001-05-16 05:01:28 +00:00
perry
e266791dab
Add a couple of include LINTSTUBs and fix some LINTSTUB prototypes.
...
Still exits hard because of bcopy/memcpy problem, but that is a
legitimate problem. bcopy should go and be replaced with memcpy to fix this.
2001-05-16 04:18:52 +00:00
lukem
f1362289d2
changes to lint invocation:
...
- sort lint flags
- add flags -F (full pathname), -g (gcc extensions; XXX for now)
- lint CFILES before LINTSTUBS
- don't -Dvolatile=
- don't grep -v 'static function.*unused'
2001-05-16 03:48:45 +00:00
perry
098ba22210
1) Add infrastructure to generate lint stub files from stylized
...
comments in .S files.
2) Update "make lint" target to use generated lint stubs.
2001-05-15 22:34:36 +00:00
perry
e69a194db2
1) Add stylized comments (used by new lint stub generation
...
infrastructure) to indicate what C stubs should be generated for
various entry points.
2) Add comments noting various artifacts discovered while performing
task 1), including a bunch of stuff that may very well no longer be
used.
2001-05-15 22:31:38 +00:00
simonb
a411a63d8e
Add the processor IDs for the 4Kc and 5Kc CPUs and some MIPS32/64
...
coprocessor 0 registers.
2001-05-15 21:48:50 +00:00
ragge
825165a54a
Octal numbers _must_ have a heading '0'!
2001-05-15 18:59:45 +00:00
toshii
fd61423f9b
Change _ARM32_*_H_ to _HPCARM_*_H_.
2001-05-15 16:15:22 +00:00
lukem
103a49d158
delint: don't try & return something from void eisa_intr_disestablish()
2001-05-15 15:07:37 +00:00
lukem
33e8c1a04f
delint: don't try & return something from void pci_intr_disestablish()
2001-05-15 14:48:57 +00:00
tsutsui
8f3dc26a16
Don't forget to set dma_count register in picaDmaStart().
...
XXX fd still does not work. (no longer hangs, but causes data_overrun)
2001-05-15 14:29:17 +00:00
leo
68f5fe6e81
Split pci_machdep into a generic/hades/milan part. There is much difference
...
in configspace and interrupt handling.
2001-05-15 14:14:48 +00:00
leo
3ac9086605
Add an NMI handler for the Milan.
2001-05-15 13:57:43 +00:00
leo
4a1227bb56
Add some Milan support functions:
...
- Low level isa interrupt handler
- NMI fault handler - catches PLX access errors
- PCI configspace read/write functions
2001-05-15 13:49:56 +00:00
leo
6d7aa9b12e
Enable NMI for Milan. It is used for signalling PLX faults.
2001-05-15 13:46:23 +00:00
minoura
4bff72882b
Missings from the previous commit.
...
From Izaki-san.
2001-05-15 09:10:05 +00:00
msaitoh
9ae59f3041
convert two consecutive "shll"s with one "shll2"
2001-05-15 08:54:56 +00:00
nisimura
96398342f4
Rather better to have |= to make sure spl0 condition, allowing to preserve
...
processor model specific SR bit pattern on pcb0 initialization.
2001-05-15 06:01:23 +00:00
bjh21
f44b12db52
Make microtime properly monotonic, with code derived from the /alpha
...
implementation.
2001-05-14 23:45:39 +00:00
jdolecek
a97bf5e6b4
Change biosmca() to export the model number via biosmca_ps2model
...
variable, if the machine has a MCA bus according to info returned
by BIOS (i.e. on machines without MCA bus, biosmca_ps2model would be zero).
biosmca() is expected to be called on beginning the initialization,
and biosmca_ps2model is then used for further checks.
2001-05-14 22:14:47 +00:00
fredette
0c48999192
Rewrote a variable constraint to make gcc 2.95 happy.
2001-05-14 20:39:52 +00:00
fredette
c5feae5dbf
Now always define PGSHIFT. Thanks to the ELF move, note the new
...
larger msgbuf size and different KERNBASE.
2001-05-14 20:35:58 +00:00
ross
26882092f4
o Deal with stray machine checks
...
o Add for alpha a security-sensitive rate-limiting printf(9) wrapper based
on ratecheck(9): void rlprintf(struct timeval *t, const char *fmt, ...);
2001-05-14 19:56:22 +00:00
ross
f62f237fde
Fix new DEBUGLIST feature.
2001-05-14 19:49:03 +00:00
drochner
e047259a1f
Initial import of the known working kernel bits for the NetBSD/cesfic
...
port. cesfic is a VME board with one or two mc68040 processors. See
the README file for details.
The port is working well with a.out userland, there are some problems
with ELF still, like applications running out of memory where it is not
expected. Some parts, in particular the pmap (which was taken from hp300
four years ago), need updating, but this is easier done within the NetBSD
CVS tree.
2001-05-14 18:22:58 +00:00
matt
4eaed60c97
Add IP32
2001-05-14 17:59:22 +00:00
matt
50522d3e8f
Add null ip32_bus_reset. Add cpu_intr_establish which calls
...
crime_intr_establish. XXX cpu_intr_establish needs to have the
"normal" intr_establish arguments.
2001-05-14 17:56:36 +00:00
matt
4cf3bc7ebc
Define splserial to be the same as spltty().
2001-05-14 17:55:03 +00:00
toshii
c939f00e98
Abandon disabled_mask and spl_mask, and use only current_spl_level to
...
manage interrupt masking.
This change is necessary for straightforward implementation of coming IPL
support for cascaded intrs, and it should not impair performance.
2001-05-14 16:19:30 +00:00
fredette
1ef476f4a4
As a side-effect of the ELF conversion, the msgbuf
...
can now be 8K large. Removed more 68881 code that
is only useful if you have the real silicon, which
the 68010 never will.
2001-05-14 15:36:42 +00:00
fredette
9ec520c479
Now, instead of swapping in and out the PROM's segment zero,
...
swap in and out the mappings for virtual pages zero through three,
which are what the PROM really uses. This is tied to the
move to ELF and the low memory usage changes.
2001-05-14 15:12:39 +00:00
fredette
b49df54c83
One bonus of moving to ELF is that the boot loader on the sun2
...
now loads the kernel into physical memory at the linked address.
So we link the kernel a little lower virtually, but the bootloader
actually will load it higher in physical memory than before.
This allows us to quadruple the size of the msgbuf to 8K, and
we also shuffle around tmp_vpages and the temporary stack.
2001-05-14 15:07:23 +00:00
fredette
d36a2c2284
Made changes to support ELF. Highlights include:
...
To find the kernel symbol table, instead of expecting
the old a.out struct exec from locore.s, use the
ELF headers found after the kernel text.
2001-05-14 15:00:28 +00:00
fredette
f7c1abe426
Many changes to support ELF. Highlights include:
...
Added % to all register names. The boot loader now
loads us exactly where we're linked, so no PIC or
remapping funny business. Removed more 68881 code
that is only needed with the real silicon, which
a 68010 will never have.
2001-05-14 14:44:11 +00:00
ragge
74d7e1ecfa
Write support for TU58 tapes written.
2001-05-14 14:43:45 +00:00
jdolecek
6c225c676c
Compact the BIOS CFG printout
2001-05-14 14:14:09 +00:00
leo
b38e85279e
Allow attachment of a pc-keyboard at console attach time.
2001-05-14 13:18:47 +00:00
leo
6f308f43e8
Add wscons related includes.
2001-05-14 13:10:45 +00:00
leo
b522de8af5
Adapt for the Milan.
2001-05-14 11:58:30 +00:00
leo
4eec72908c
Regen.
2001-05-14 10:41:03 +00:00
leo
f284e82b99
Add (ws)console stuff.
2001-05-14 10:35:30 +00:00
scw
94225b1490
port-mac68l/12931 by Dave Huang:
...
Add an itepoll() function. This one slipped through my recent sweep
of line-disciplines...
2001-05-14 09:27:06 +00:00
ragge
73b901c711
Add checksum calculation, busy-wait loops for receive packets and use
...
correct interrupt levels (spl7). Reading tapes now work reliable.
2001-05-13 21:19:44 +00:00
tshiozak
b1c2276feb
Correct a simple bug in the recent commit (pmap.c:1.19) by thopej.
...
I guess he indents to prepare a temporary variable for saving the next
pointer of a list element, but he seems to forget to substitute the
pointer for the variable. This often causes my dreamcast panic.
2001-05-13 19:41:17 +00:00
scw
7e86548d5c
doh, make the last fix compile for '147.
2001-05-13 18:35:19 +00:00
chs
b98b7c2224
turn on printf format-string checking and -Werror. fix all warnings.
2001-05-13 16:55:37 +00:00
matt
ed4e69766c
Add VAX640
2001-05-13 15:37:28 +00:00
ragge
68d0ed5c0c
Add bus type.
2001-05-13 15:24:18 +00:00
bjh21
330163a77f
Include opt_cputypes.h, since we use CPU_*.
2001-05-13 14:41:56 +00:00
bjh21
ba2ed3776e
Refer to the Risc PC IOMD by its real name (which appears to be IOMD20).
2001-05-13 14:30:00 +00:00
bjh21
b9ded015f4
strstr() is no longer used in the kernel. G/C it.
2001-05-13 14:17:36 +00:00
bjh21
e2b24925d1
Use get_bootconf_option() to find boot options, rather than home-grown
...
strstr()-based hacks.
2001-05-13 13:53:08 +00:00
bjh21
0ea71ec5ea
Make use of a.out or ELF symbols dependent on the compile-time definition of
...
__ELF__.
2001-05-13 13:51:08 +00:00
bjh21
e8fd2642a9
Don't include parse_cpu_options() unless we're going to use it. This fixes
...
a warning on arm26.
2001-05-13 13:50:01 +00:00
bjh21
1d9afb6c6d
Initialise boot_args and boot_file, for get_bootconf_option().
2001-05-13 13:48:11 +00:00
bjh21
73bc600e40
Use _LOCORE to recognize assembler in the kernel, not ASSEMBLER (which doesn't
...
get set).
2001-05-13 13:47:23 +00:00
bjh21
2af5062ab7
Add <machine/bootconfig.h> on arm26, and add an <arm/bootconfig.h> for it to
...
include (since all the contents are MI).
2001-05-13 13:46:23 +00:00
bjh21
61044be691
Move get_bootconf_option() into a new file, sys/arch/arm/arm/bootconfig.c,
...
since it's in no way machine-dependent. It's not really ARM-specific either,
but I don't think it's useful enough to be made part of the MI kernel.
2001-05-13 13:44:33 +00:00
ross
04ff12867f
Make the /u part of show reg/u work.
2001-05-13 01:40:58 +00:00
gmcgarry
bb80cac4a1
pull in lib/libkern/libkern.h to resolve inline tolower()
2001-05-13 00:01:45 +00:00
gmcgarry
b2f43b0b94
size -> ${SIZE}
2001-05-12 23:55:07 +00:00
kleink
9e162d4ea5
Delint my previous change.
2001-05-12 22:42:07 +00:00
chs
b4de661569
switch next68k to ELF. highlight include:
...
add "%" prefix to register names in assembly code.
change assembly functions to return pointer values in %a0 instead of %d0.
C symbols no longer prepend an underscore, adjust assembly code for this.
32-bit values are now 32-bit aligned instead of 16-bit aligned,
adjust structure packing and padding to override this where necessary.
make EXEC_ELF std, make EXEC_AOUT and COMPAT_AOUT_M68K optional.
use the MI loadfile() instead of several home-grown versions.
2001-05-12 22:35:29 +00:00
chs
1aeca5a83b
define VECTOR() and friends in non-_KERNEL environments too.
2001-05-12 22:27:05 +00:00
takemura
e427bbc2de
Add '#if defined(_KERNEL) && !defined(_LKM)' to avoid including
...
opt_spec_platform.h when you compile standalone program (bootloader).
2001-05-12 10:17:20 +00:00
takemura
b8cf6af7cb
Fix description about frame buffer type.
2001-05-12 10:08:59 +00:00
kleink
ba6a8bf61e
Update to reflect that unlike in m68k a.out environments, where the .align
...
directive is given a log2 argument, .align is given a linear argument in
m68k ELF environments.
2001-05-12 00:55:34 +00:00
tsutsui
9247a0bbcc
- Declare pccnattach() in <machine/pccons.h>
...
- Make cpu_reboot() reset machines properly without pccons
2001-05-11 21:15:11 +00:00
kleink
58a818769b
* Fix remaining 32-bit vs. native pointer problems in data structures;
...
reviewed by Eduardo.
* Define the size of uc_pad, so ucontext32_t will have the correct size.
2001-05-11 17:37:14 +00:00
kleink
1d8e184b6b
svr4_32_mcontext.gwin is a pointer 32 bits wide.
2001-05-11 16:49:22 +00:00
tsutsui
67b73792f6
Clean up redundant declarations.
2001-05-11 16:36:42 +00:00
scw
e2177c7f71
Ensure the caches are flushed before changing the `cacheble' state
...
of a page.
2001-05-11 13:05:06 +00:00
scw
6ca2fd54c1
Take the offset and length into account inside bus_dmamap_sync().
...
(Inspired from the Atari version).
This fixes a problem seen with the new MI osiop driver.
2001-05-11 13:01:44 +00:00
thorpej
a3fad63f23
Rafal's Indigo2 kernel configuration.
2001-05-11 05:05:42 +00:00
thorpej
5c3fa40aa3
Autoconfiguration glue changes for Indigo2/Indy support.
2001-05-11 05:04:34 +00:00
thorpej
c68eb33351
Delete __NO_SOFT_SERIAL_INTERRUPT.
2001-05-11 05:02:30 +00:00
thorpej
c36aca4169
Support for configuring an SCC console. From Rafal K. Boni.
2001-05-11 04:56:56 +00:00
thorpej
935ed514af
Support for the IP22 (Indigo2, Indy, Challenge S). From Rafal K. Boni.
2001-05-11 04:56:09 +00:00
thorpej
07d7386b8f
Move IP32 (O2) support into its own file.
...
From Rafal K. Boni.
2001-05-11 04:55:42 +00:00
thorpej
acc9f8ef65
Adjustments for dynamic system configuration. From Rafal K. Boni.
2001-05-11 04:53:25 +00:00
thorpej
7583466c6f
Expose atoi(). From Rafal K. Boni.
2001-05-11 04:47:55 +00:00
thorpej
148ab319ac
Use hit-flush ops in bus_dmamap_sync(). From Rafal K. Boni.
2001-05-11 04:46:22 +00:00
thorpej
fc4bcdcdf2
We now have generic soft interrupts.
2001-05-11 04:42:41 +00:00
thorpej
a8a801d6f3
Dynamic system configuration support, derived from pmax port.
...
From Rafal K. Boni.
2001-05-11 04:42:13 +00:00
thorpej
c9ca9bb770
SGI machine types and subtypes. From Rafal K. Boni.
2001-05-11 04:38:22 +00:00
thorpej
6b313f2c5f
Basic EISA support for the Indigo2. From Rafal K. Boni.
2001-05-11 04:36:15 +00:00
thorpej
13f69bc540
Generic software interrupt implementation, derived from mipsco
...
implementation.
From Rafal K. Boni.
2001-05-11 04:32:05 +00:00
thorpej
87f3aebd5e
New data structures for the new SCC driver.
...
From Rafal K. Boni.
2001-05-11 04:26:17 +00:00
thorpej
f24f6c113d
Support for the SCC serial ports on Indigo2/Indy.
...
From Rafal K. Boni.
2001-05-11 04:24:44 +00:00
thorpej
3b92374a20
Support for the Indigo2/Indy IMC (this is that to which all other
...
devices are attached).
2001-05-11 04:22:55 +00:00
thorpej
e6e4372ada
New clock functions, based on the newsmips versions. These
...
actually do something, by calling into the hardware clock
routines set up during autoconfiguration.
From Rafal K. Boni.
2001-05-11 03:42:59 +00:00
thorpej
ce9753d9e9
Autoconfiguration glue for HPC devices.
...
From Rafal K. Boni.
2001-05-11 03:23:38 +00:00
thorpej
5885656e58
Support for the Seeq 8003 Ethernet attached to the HPC ASIC,
...
found on Indigo2 and Indy.
From Rafal K. Boni.
2001-05-11 03:22:21 +00:00
thorpej
5d02689ede
IOC1/2 memory map.
...
From Rafal K. Boni.
2001-05-11 03:18:57 +00:00
thorpej
726924bc4c
Support for the Dallas 1286 clock found on the Indigo2 and Indy.
2001-05-11 03:16:59 +00:00
thorpej
c4173c40c1
Support for the HPC I/O peripheral ASIC. There is where SCSI, Ethernet,
...
etc. live on the Indigo2 and Indy.
From Rafal K. Boni.
2001-05-11 03:11:20 +00:00
thorpej
149ebabf26
Get the major number of the CRIME properly.
...
From Rafal K. Boni.
2001-05-11 02:25:21 +00:00
thorpej
4efd12ca44
Set SR to PSL_LOWIPL rather than MIPS_INT_MASK | MIPS_SR_INT_IE,
...
as the former accounts for some mips3-related options.
From Rafal K. Boni.
2001-05-11 02:03:01 +00:00
thorpej
0976e733f4
Correct args to SYSCALL_DEBUG related function calls.
...
From Rafal K. Boni.
2001-05-11 01:42:32 +00:00
petrov
591e596a12
john heasley patch <heas@shrubbery.net>, PR port-sparc/12885
...
added PROM name translations for hme and fas
2001-05-10 23:11:53 +00:00
tron
74cc245bbe
Fix typo: Pnp -> PnP
2001-05-10 22:12:38 +00:00
fredette
ee50c275ca
Put longjmp's return value in the proper %d0.
2001-05-10 16:50:22 +00:00
pk
8001e23cd0
* reserve NBPG et.al. for kernel usage only.
...
* remove obsoleted comment on `physmap'.
2001-05-10 11:01:08 +00:00
lukem
88d538c21e
fix comment; cdev_notdef() is a funny pc console :)
2001-05-10 01:23:23 +00:00
thorpej
e2a791df22
Use pool_init() rather than pool_create().
2001-05-09 23:20:59 +00:00
matt
c2214aaf3c
Remove includes that only include <arm/*.h>. These are now picked up
...
automatically when making kernels. (to be submitted). Next rev will
eliminate those includes that include <arm/arm32/*.h>
2001-05-09 22:30:43 +00:00
kleink
dd4df24b01
Make the set of machine state restored by setmcontext() identical to that of
...
sigreturn().
2001-05-09 20:31:00 +00:00
kleink
e0b29e0491
Sync with native emul: rename sc_tstate to sc_psr.
2001-05-09 20:21:50 +00:00
kleink
f0d6ebbd33
Make restoring the PSR ICC bits really work in __sigreturn14().
2001-05-09 20:13:38 +00:00
kleink
aec2bbb42f
Sync sc_psr comments with reality.
2001-05-09 19:50:49 +00:00
kleink
7dbfdb5508
In the 32-bit ABI case:
...
* rename sigcontext.sc_tstate to sc_psr, since this is how it is known to
the 32-bit API, and also used for;
* don't try to squeeze the tstate into it, just emulate the ICC bits.
Per discussion with Eduardo.
2001-05-09 19:46:22 +00:00
matt
9c197c4609
Change references to <arm32/isa/timerreg.h> to <dev/ic/i8253reg.h>
...
Remove timerreg.h
2001-05-09 17:34:40 +00:00
tsutsui
73c5107dc5
Tidy up some debug messages.
2001-05-09 16:44:44 +00:00
matt
bd9a11ee56
Populate ofw subtree.
2001-05-09 16:08:43 +00:00
matt
16db09f9f6
Add isa_machdep.c for dnard
2001-05-09 15:58:50 +00:00
matt
77666e6c72
Populate dnard/dnard.
2001-05-09 15:58:07 +00:00
matt
0cd5b27a79
Populate dnard/include
2001-05-09 15:40:54 +00:00
matt
a0b5b1f2ba
Cleanup and make accurate to current dnard status.
2001-05-09 15:20:49 +00:00
matt
a9dceff4e1
add cpu ofbus attachment. (dnard has no mainbus).
2001-05-09 15:19:00 +00:00
matt
86fff9f3e8
Use the common arm32/pcb.h. Rearrange db_machdep.h to get definitions
...
before declaring functions.
2001-05-09 15:17:45 +00:00
matt
879ab84d00
Modify this for dnard (remove monitor stuff).
2001-05-09 15:16:24 +00:00
shin
6fbde674dd
don't define TAILQ_EMPTY here. TAILQ_EMPTY is defined in <sys/queue.h>.
2001-05-09 11:57:05 +00:00
fredette
66c27dfc2e
Removed, cleaning up (no-)FPU support.
2001-05-08 21:39:24 +00:00
kleink
cddc4b4264
While we're here, do SVR4_SPARC_ASI as well.
2001-05-08 20:57:17 +00:00
kleink
3d3703c7bd
On v9, greg[0] isn't a TSTATE-in-PSR hack but just CCR.
2001-05-08 20:46:49 +00:00
kleink
bd0787e771
One step closer to making ICC/CCR manipulation work.
2001-05-08 19:30:05 +00:00
uch
fae3e8e7c1
KNF.
2001-05-08 18:51:22 +00:00
uch
5dd9fe4aa5
set allocatable PCMCIA I/O space size.
2001-05-08 18:08:02 +00:00
matthias
0edc338e99
third argument of pcpoll is a struct proc now.
2001-05-08 11:29:39 +00:00
matt
c8f1f39d19
Disable the secondary ide port in the pcibus_attach_hook.
2001-05-08 06:55:17 +00:00
is
09a3dd5f0c
defopt LEV6_DEFER.
2001-05-08 06:09:29 +00:00
nisimura
7ec840fbe5
Add comment to tell what cpu_fork() does around at its bottom.
...
What's wrong; the initial SR value in pcb0 gets overwritten before
the first kthread_create1() is called. For a normal process which
has user mode it doesn't matter because proc_trampoline() makes
the process to have spl0 during exception return path to user mode,
however, kthreads stay in kernel mode mistakenly left in splhigh
condition. The trouble is visible as severe clock drifts when
system activity is high.
2001-05-08 06:02:14 +00:00
ross
d6a25f9b02
Add DEBUGLIST mechanism. Example config line:
...
makeoptions DEBUGLIST="uvm* trap ufs*"
This turns on -g for only those files matching a DEBUGLIST pattern word.
2001-05-08 05:47:35 +00:00
nisimura
580e36f497
Make sure to have spl0 condition whenever a new thread of control
...
is created. System kthreads are mistakenly left splhigh state.
pcb0 has an initial SR value for spl0 condition which are expected to
be propagated to all of children
2001-05-08 05:36:01 +00:00
fredette
bdf32dea4f
Turned all lea/jsr combinations back into jbsrs,
...
as they were originally.
2001-05-07 21:48:24 +00:00
uch
93069cf02a
recompile.
2001-05-07 11:15:28 +00:00
uch
a4cf833c49
add Fujitsu PenCentra 130 entry.
2001-05-07 11:12:10 +00:00
minoura
0bb85c4922
Encoding ulinear and mulaw are both software emulated.
...
From Isaki-san.
2001-05-07 09:42:30 +00:00
is
9c48209178
Be more verbose in the warnings.
2001-05-06 20:49:43 +00:00
ad
14ad1926a8
Add mlx at eisa.
2001-05-06 20:32:20 +00:00
kleink
a7d0606917
Cosmetical oversight.
2001-05-06 20:25:28 +00:00
ad
ae9cc4fa8a
Add an (untested) EISA front-end for the `mlx' driver.
2001-05-06 19:54:59 +00:00
bjh21
0336117218
The arch/arm32/kshell code was removed three years ago. Kill references to it.
2001-05-06 18:38:58 +00:00
bjh21
6d4648fa03
Move "defopt PMAP_DEBUG" into files.arm, since it's used by code in arch/arm.
2001-05-06 18:31:14 +00:00
bjh21
e08b3af21d
Add stub <machine/cpufunc.h> for arm26.
2001-05-06 18:25:27 +00:00
bjh21
f9087c439b
Move cpufunc stuff from arm32/arm32 to arm/arm. The only change involved is
...
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).
2001-05-06 18:01:42 +00:00
simonb
b3a4957ee5
Fix spr and tbr register number extraction. tbr is untested, but is the
...
same format as spr and had the same mistake.
2001-05-06 16:40:22 +00:00
simonb
982e593742
Remove duplicate opcode.
2001-05-06 16:11:17 +00:00
simonb
ad336f45ee
Fix a bunch of other typos.
2001-05-06 15:30:13 +00:00
takemura
54d9a46bbc
Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
2001-05-06 14:25:15 +00:00
simonb
2113399bb4
Fix typos in two instruction codes.
2001-05-06 14:25:09 +00:00
simonb
6a64a03f21
Remove prototype for non-existant function.
2001-05-06 12:50:45 +00:00
hubertf
b866d429c1
vlan does not belong to group of IPv6 pseudo-devices
2001-05-06 01:54:19 +00:00
thorpej
18c5f91b0b
Fix a deadlock cause by a lock ordering interaction between pmap_enter()
...
and pmap_growkernel().
2001-05-05 18:22:04 +00:00
jdolecek
3cacf40566
recognize ed as boot device
2001-05-05 17:53:59 +00:00
takemura
4cfc3259b6
Add entry for 'PenCentra 130'.
...
The version number is '1.17.5 2001.05.05'.
2001-05-05 14:42:41 +00:00
bjh21
3fc08cf178
Implement pmap_resident_count() and pmap_wired_count() properly.
2001-05-05 14:20:05 +00:00
takemura
a44e218942
Fix Makefile to generate dummy pbsdboot/opt_spec_platform.h, which will
...
be created by config(8) when you compile kernel. And update binary files.
The version number is '1.17.4 2001.05.05'.
2001-05-05 08:26:11 +00:00
takemura
83a1287ab0
Add wrapper header files.
2001-05-05 08:14:21 +00:00
takemura
58a528e2f3
Add entries of Fujitsu PenCentra series.
2001-05-05 05:45:29 +00:00
shin
66ff05bcae
change maxusers 8 -> 10.
...
without this change, 'make build' will fail.
2001-05-05 05:04:27 +00:00
thorpej
18639a81be
No need to have code we don't use anymore.
2001-05-05 02:20:53 +00:00
minoura
c9c82d303a
Use cdev_decl for prototype declarations (port-x68k/12829, thanks to scw
...
for suggestion).
Add static to some non-external functions.
2001-05-05 01:52:56 +00:00
hubertf
8093ee4bba
vlan does not belong to the IPv6 devices (gif, stf, ...), so seperate it
...
visually.
2001-05-05 00:11:48 +00:00
simonb
6a511e05e2
Be consistent with limit constants:
...
- use "U" suffix for unsigned constants
- use "L" suffix for long constants
- use "UL" suffix for unsigned long constants
- use hexadecimal instead of decimal
Fixes build problems with vi (now that warnings/errors are enabled) on
mips, powerpc and arm platforms.
2001-05-04 15:12:32 +00:00
ragge
f0870603cb
Remove forgotten VAX_BTYP_690. From Michael Kukat.
2001-05-04 14:13:50 +00:00
jdolecek
97500f67b8
print the model numbers slighly different way
2001-05-04 07:22:07 +00:00
thorpej
5871a60118
The AMD-K5 Model 0 gets the PGE bit in the CPU features word wrong
...
using the APIC bit instead, according to the AMD Processor Recognition
App. Note. Add a fixup routine to patch up cpu_feature in this case.
XXX Need a way to kick the pmap to enable pmap_pg_g -- look at how the
MP branch deals with this.
2001-05-04 03:19:33 +00:00
bjh21
8afb876f73
Make the common <arm/profile.h> work on arm26 and arm32, choosing whether
...
to munge R15 or not at runtime. Also make it work with both ELF and a.out.
2001-05-04 00:11:15 +00:00
reinoud
b3798660cd
Small typo...
2001-05-03 23:07:08 +00:00
reinoud
da9012cd1d
Some small improvements on the setting of keyboard LEDS's and a small
...
cleanup
2001-05-03 23:05:48 +00:00
fredette
53b83715c9
Now only define MACHINE_ARCH, _MACHINE_ARCH, and
...
MID_MACHINE if they haven't already been defined.
2001-05-03 20:59:55 +00:00
fredette
2b9b967cc2
Add a CPU_68010 macro.
2001-05-03 20:55:11 +00:00
fredette
166d9e1ede
Add an EXTBL macro.
2001-05-03 20:53:44 +00:00
thorpej
fcbf0b9d21
Add systype for "Titan" systems (systype 38).
2001-05-03 20:52:19 +00:00
scw
4d440b4035
G/C a printf which has moved to the MI code.
2001-05-03 19:03:53 +00:00
scw
c038390035
Recognise `osiop' as a boot device.
2001-05-03 17:58:45 +00:00
scw
6d231d4107
Attach `osiop' at pcctwo instead of `ncrsc'.
2001-05-03 17:54:30 +00:00
thorpej
61ac6af20b
- Fix a couple of botches in the AMD L2 cache info fetching.
...
- Start with 2 initial color bins, and recolor once we've determined
the number of color bins based on the formula:
(largest_cache_size / associativity) / PAGE_SIZE
2001-05-03 16:55:32 +00:00
thorpej
7049d99bc5
Oops, forgot to fill in function pointer in previous.
2001-05-03 16:04:26 +00:00
fredette
a0456abb5e
Added some kernel configurations.
2001-05-03 15:39:48 +00:00
kleink
dadbb7e784
There is no extended-precision format on sh3.
2001-05-03 13:19:52 +00:00
soren
945b972563
PPC machine type tags haven't been used for a while.
2001-05-03 13:11:24 +00:00
matt
1d9ed205f2
change to let make obj work right with MAKEOBJDIRPREFIX and read-only source
2001-05-03 05:23:29 +00:00
fredette
11e470d830
Now define MBIO_SIZE and MBMEM_SIZE in header files,
...
so they can eventually be used by the bootblocks.
2001-05-03 03:13:03 +00:00
minoura
58b62ea0cf
Correct playing mu-law and linear.
2001-05-03 02:09:11 +00:00
thorpej
5c15afd718
Rearrange the cache info fetching code some more, and add support
...
for fetching cache info for AMD processors.
2001-05-03 00:35:37 +00:00
thorpej
c9d1eae045
Size the number of initial color bins based on the size and
...
associativity of the L1 cache.
Note, doesn't really do anything for virtually-indexed caches,
but it doesn't hurt them, either.
2001-05-02 21:23:03 +00:00
thorpej
f89ed957f1
- Keep cache/tlb info in the cpu_info structure.
...
- Add "associativity" to the cache_info structure.
- Add a (*cpu_cacheinfo)() function pointer, like we have a
(*cpu_setup)() function pointer. Cache info in the `cpuid'
is vendor-specific.
2001-05-02 21:07:01 +00:00
bjh21
262c7835b0
In an ELF kernel, don't try to find an a.out symbol table.
2001-05-02 19:10:29 +00:00
ragge
5d8483d12a
KA690 is not a Mariah. From Michael Kukat.
2001-05-02 17:35:12 +00:00
matt
2cc76644a2
Use the symtab info given by loadfile in the booter instead of assuming
...
we know where it is. This is a requirement for ELF.
2001-05-02 16:05:07 +00:00
matt
504811fa55
Include ELF symbol in DDB is we are an ELF kernel.
2001-05-02 15:59:38 +00:00
matt
62b9bd04b1
Pass the numbers of syms down as well.
2001-05-02 15:33:14 +00:00
jdolecek
7cb5602067
Nuke biosboot_ps2
2001-05-02 13:43:10 +00:00
jdolecek
7e111aa959
Add function which uses bios call to get system configuration; this can
...
be used for presence of MCA bus, if ever needed to be done in bootblocks.
Not used at the moment, but may be in future.
2001-05-02 13:41:07 +00:00
minoura
3e3968872c
Remove old obsolete audio driver.
2001-05-02 13:24:52 +00:00
jdolecek
63958eee01
One item off TODO list - we check for MCA bus presence via bios call
2001-05-02 13:20:31 +00:00
jdolecek
0d6051b7f7
Find out the presence of MCA bus via bioscall(9).
...
g/c some unneeded stuff, make comments more accurate.
2001-05-02 13:18:34 +00:00
jdolecek
8aa43b5a54
The system configuration block structure doesn't need to be public
2001-05-02 13:16:33 +00:00
minoura
a7fc9909b6
Add/enable vs.
2001-05-02 13:15:24 +00:00
jdolecek
4caa2e3629
regen: add support for getting %es value from the bios call
2001-05-02 13:13:48 +00:00
jdolecek
0b26347639
Add support for getting %es value from the bios call.
2001-05-02 13:12:45 +00:00
jdolecek
9b12c80149
Move the initialization of bioscall stuff from cpu_startup() to init386(),
...
so that bioscall(9) is callable from mca_busprobe().
Only print the "biostramp installed @ ..." message #ifdef DEBUG_BIOSCALL.
2001-05-02 13:08:06 +00:00
minoura
b2cec36854
X68k built-in voice synthesizer.
2001-05-02 13:00:19 +00:00
minoura
f4b1b4cef9
Do not use constants, but macros.
2001-05-02 12:50:24 +00:00
minoura
47d22455b3
Disable array chain mode by default, since it is unused by any of
...
the current devices.
Add more flexibility in the API.
2001-05-02 12:48:24 +00:00
scw
2963ff5c58
Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
...
in each tty driver to indirect through it.
This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
matt
4bef52d8d5
Use loadfile with boot commands, not exec.
2001-05-02 06:56:54 +00:00
matt
4414a7f791
Keep around a version of boot with symbols.
2001-05-02 06:56:29 +00:00
thorpej
cfda5afaa5
Add some page coloring defaults.
2001-05-02 02:30:30 +00:00
thorpej
5291142217
Determine the size of the B-Cache earier, and initialize the
...
number of page colors accordingly.
2001-05-02 01:24:29 +00:00
thorpej
05dac31b1e
Initialize the VM page size before calling the platform init routine.
2001-05-02 01:05:16 +00:00
bjh21
4928854ae3
Arrange to inline hardsplx() into raisespl() and lowerspl(). This should
...
make them slightly faster, and makes it easier to see how much of the time
apparently spent in hardsplx() actually comes from deferred statclock
interrupts.
2001-05-01 22:19:09 +00:00
kleink
5652bfe409
Re-add accidently removed line continuation in previous; noted by
...
"Valeriy E. Ushakow" <uwe@ptc.spbu.ru>.
2001-05-01 20:37:44 +00:00
enami
e3e7ff2cff
Don't descent into plantid_gen since
...
- it's not objdir safe.
- and it's not necessary since up-to-date generated files are
commited to trunk.
2001-05-01 13:26:20 +00:00
enami
0b309ab610
Wrap long line.
2001-05-01 13:24:02 +00:00
ragge
2ea00c4d85
Add ka610, remove TS11.
2001-05-01 13:21:27 +00:00
ragge
b07617dece
More CPU definitions. From Michael Kukat.
2001-05-01 13:20:35 +00:00
ragge
9ee994852e
Use linear memory mapping for MV1. No map registers.
2001-05-01 13:20:02 +00:00
ragge
e0a272b2cb
Support for MicroVAX 1.
2001-05-01 13:18:27 +00:00
ragge
ecf0eb7abd
CPU support file for KA610 (MicroVAX I). Very simple.
2001-05-01 13:17:55 +00:00
ragge
68cb5a262d
Do not (try to) remap the qbus on MV1.
2001-05-01 13:08:09 +00:00
toshii
c7df9e68f9
Fix device matching in saip.
...
ca_match functions should return positive value when matched.
2001-05-01 12:36:54 +00:00
ragge
362abadb92
Detect 4000/500A, 4000/600A and 4000/705A. Also detect MicroVAX 1.
2001-05-01 11:13:46 +00:00
ragge
1e1a8fa3fd
Support for more NVAX types: VAX 4000/705A and (untested) 600A.
...
From Michael Kukat.
2001-05-01 11:11:47 +00:00
bjh21
c7d1f1542c
Use the correct condition code when deciding whether to take an AST (oops!).
...
Also disable interrupts correctly in the APCS-32 case.
2001-05-01 11:01:12 +00:00
scw
adf7013d7f
Match `osiop' instead of `ncrsc' now.
2001-05-01 07:33:29 +00:00
scw
813efd148a
Don't panic in _bus_dmamap_sync() if a segment start address/length are
...
not aligned to a cacheline boundary.
Instead round down the start address, round up the length and "DTRT".
2001-05-01 07:32:51 +00:00