scottr
fc1ba82306
Make this compile again: restore missing prototype.
2000-07-17 06:53:42 +00:00
scottr
d63c5d05ce
Catch up with d_mmap parameter change. From Steve Peurifoy via PR #10603 .
2000-07-17 06:52:31 +00:00
scottr
b4f5693f98
Repair format type mismatch in DEBUG code. From Steve Peurifoy via PR #10603 .
2000-07-17 06:51:18 +00:00
scottr
196f358a96
Correct return type of grfaddr(). From Steve Peurifoy via PR #10603 .
2000-07-17 06:50:32 +00:00
thorpej
5edc9ef4a4
When computing the segment size, consider the maximum segment
...
size in the DMA map.
2000-07-17 04:47:56 +00:00
matt
f96915efa5
Changes so that the kernel can be compiled under __ELF__.
2000-07-17 02:54:04 +00:00
matt
5d9fda1ecd
switch size_t, ptrdiff_t, & ssize_t to long int (signed or unsigned) for
...
__ELF__.
2000-07-17 02:52:24 +00:00
jdolecek
77c0fe57cf
convert to use version template and newvers_stand.sh script for generating
...
bootblock revision strings, use bootbock_name[] (i.e. "NetBSD/sun3")
in initial bootblock messages instead of just "NetBSD"
while here, do sligh Makefile cleanup to share more code between them and also
to make buildable on NetBSD 1.4.1 (my test compile system)
get rid of the XX define hack for netboot & ufsboot, build xxboot.c as
part of libsa - previos main() was renamed to xxboot_main(), main()
is now in respective conf.c files and calls xxboot_main() with
appropriate name of boot block type
XXX I had no chance to actually test the resulting bootblocks, but the
changes were fairly streightforward and should no influence functionality of
boot code
2000-07-16 21:56:12 +00:00
bjh21
d9151a2dc8
Add a uuencoded tokenised BASIC version of BBBB, since it can't yet be
...
generated without RISC OS.
2000-07-16 12:54:04 +00:00
bjh21
87dbab4963
Warn about <8bpp screen modes.
...
Fix a typo in "page in use" message.
2000-07-16 12:46:50 +00:00
christos
480203ba75
change intptr_t and uintptr_t to long and unsigned long respectively. This
...
is a noop on 32 bit machines, but it makes lint quiet and it is more correct.
2000-07-16 02:18:11 +00:00
matt
2890290b0f
Add com* at obio0. (Tadpole & JavaStation)
2000-07-15 19:59:53 +00:00
matt
1d97a430c4
Enhance this so it support the com port on the JavaStation 1 as well as
...
the tadpole internal modem.
2000-07-15 19:57:03 +00:00
scw
83e844cf03
Add a prototype for netintr()
2000-07-15 19:17:19 +00:00
scw
b3b275a389
The install ramdisk has grown somewhat, and now overwrites the
...
`ie' chip's packet buffer... Moving it up to just below the netboot
image (4MB) should leave room for a few more year's bloat. ;-)
2000-07-15 16:04:24 +00:00
eeh
eb5863f522
#ifdef BOOT_DEBUG --> BDPRINTF(PDB_BOOT, (...))
2000-07-15 14:26:39 +00:00
eeh
4eacbabe76
Make 64-bit stack tracebacks look decent.
2000-07-14 21:07:10 +00:00
eeh
6667752114
Move some macro definitions out of genassym and into locore.s
2000-07-14 21:04:16 +00:00
eeh
3143adecfb
Tell gcc that stores clobber "memory". Probably makes no difference since
...
they should not be used to access normal memory anyway.
2000-07-14 21:02:11 +00:00
eeh
41da794863
Make all the inline functions static.
2000-07-14 21:00:17 +00:00
eeh
7b6085ff22
Add support for 64-bit PIC and dynamic linking.
2000-07-14 20:59:07 +00:00
jeffs
1dfa0ec96d
Use cpu_intr() definition from mips/cpu.h instead of local one.
2000-07-14 18:35:38 +00:00
pk
9de310aebe
Use per-PBM control/status register addresses provided by the PROM.
...
Print version/implementation info.
2000-07-14 15:13:35 +00:00
pk
04fe9636ba
Provide details on the `psy_csr' register.
2000-07-14 15:09:51 +00:00
pk
8258c0e780
Fix padding in struct pci_ctl.
2000-07-14 13:17:12 +00:00
pk
e5a9cce870
Cast physmem to u_int64_t before applying ctob().
2000-07-14 13:15:44 +00:00
pk
68edef1bf6
Back out previous for now; it requires a system wide prototype change.
2000-07-14 09:58:52 +00:00
matthias
2d699aa6ce
Change some comment formatting.
2000-07-14 08:21:14 +00:00
matthias
0688add8e8
Take care of prototype changes for console probe and console getc.
2000-07-14 08:18:49 +00:00
tsubai
500013914e
Make timebase frequency value adjustable.
2000-07-14 05:53:31 +00:00
pk
c32ffb8447
Make physmem' an
unsigned int', so it can properly represent large memory
...
configurations.
2000-07-14 00:02:35 +00:00
jdolecek
5942ac860b
switch to sys/conf/newvers_stand.sh for generating vers.c
2000-07-13 22:25:14 +00:00
jdolecek
9c15bcabda
switch to sys/conf/newvers_stand.sh for generating vers.c
...
sync comments in */version with i386
2000-07-13 22:18:12 +00:00
jdolecek
f6330c6500
switch to sys/conf/newvers_stand.sh for generating vers.c
...
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
created properly even when building on NetBSD/pmax 1.4.1
2000-07-13 22:18:08 +00:00
msaitoh
1fa850b0ef
config file for Dreamcast
2000-07-13 18:11:53 +00:00
soren
e527d66d55
Fix mem_no. Pointed out by cgd.
2000-07-13 18:10:38 +00:00
msaitoh
e633c4ca18
don't initialize BSC when BSC is already initialized (e.g. Dreamcast)
2000-07-13 18:02:10 +00:00
cgd
ca051b5fb3
fix some obvious paste errors in 'uk' cdev inits
2000-07-13 17:40:34 +00:00
pk
9da8631e2b
printf() format for 64-bit integers tf_pc' and
tf_npc'.
2000-07-13 16:44:03 +00:00
jeffs
ef9531850e
Add comment that overriding the sysctl defines in machine/cpu.h
...
breaks userland binary compatiabiltiy between mips ports. Move
check down so common values are always defined here.
2000-07-13 07:37:11 +00:00
mrg
c0f74e1bda
remove memreg.h.
2000-07-13 06:30:16 +00:00
mrg
22820972ac
remove vaddrs.h
2000-07-13 06:25:55 +00:00
mrg
81ec8bef47
remove old (bogus) comment.
2000-07-13 06:23:07 +00:00
thorpej
3eedcb3009
Whitespace police.
2000-07-13 05:47:39 +00:00
mrg
d5a1bec37e
bump some system values.
2000-07-13 05:40:51 +00:00
matt
cb551c438d
Reflect the new reality.
2000-07-13 03:18:22 +00:00
matt
841f05f1b2
Use <machine/asm.h>
2000-07-13 03:17:21 +00:00
matt
20b3698aee
Include libkern.h
2000-07-13 03:13:40 +00:00
matt
98ffc615b2
Use <machine/asm.h>. (e.g. prepare for ELF)
2000-07-13 03:13:05 +00:00
thorpej
c0708e9ff1
Clean up bios_reg a little, and add support for accessing
...
the byte variants of the registers (e.g. %ah, %al, etc.).
2000-07-12 22:58:12 +00:00
pk
7e8f67ad97
No need to fetch the psycho's own registers as thet are already passed
...
down from the parent bus. Also account for the difference in `reg'
properties in psycho vs sabre chips.
2000-07-12 21:49:44 +00:00
pk
f56554a578
If there is no "interrupt-map" property on the ebus node, assume the
...
child "interrupt" properties are already in a format suitable for
the parent bus.
2000-07-12 21:07:36 +00:00
jdolecek
c8f528ad5e
switch to MI newvers_stand.sh version info generator
2000-07-12 21:05:35 +00:00
thorpej
1204c1faaf
Oops, treat 2100A_A500 just like 2100_A500 in every place necessary.
2000-07-12 21:02:14 +00:00
thorpej
3182af4432
- Add Jensen support/devices.
...
- Add commented-out Sable/Lynx support/devices.
- Switch from `ncr' to `siop' by default.
- Add some missing `scsibus' configs to INSTALL.
2000-07-12 20:54:38 +00:00
thorpej
249773b538
Deal with another odd need of the Sable/Lynx systems, which need to
...
have an ISA chipset present before the PCI-EISA bridge has been
attached (because the STDIO module has an ISA DMA-using device,
the floppy controller, connected to it).
2000-07-12 20:50:00 +00:00
thorpej
a66c3e663c
Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen")
...
systems. Thanks to Gyenes Istvan for the rounds of testing.
2000-07-12 20:36:07 +00:00
thorpej
55c41121ff
Change from ncr' to
siop' by default.
2000-07-12 20:27:25 +00:00
thorpej
42c89508c0
Uncomment the `fdc at sableio' lines.
2000-07-12 20:20:54 +00:00
eeh
1f45545899
Add UltraSPARC III specific flag bit. Currently ignored.
2000-07-11 21:55:11 +00:00
msaitoh
dc6054c8b0
add OBJCOPY?=objcopy
2000-07-11 18:47:09 +00:00
msaitoh
dafe13f724
callout()->callout_reset()
2000-07-11 18:46:22 +00:00
jeffs
f6812b853b
Only define machdep sysctls if CPU_MAXID is not defined by machine/cpu.h.
...
This lets mips ports have additional machdep sysctl. Define CPUISMIPS3
for MIPS1+MIPS2 as cpu_arch >= 3 to support mips4. Add cpu_intr()
prototype so this is defined in one place.
2000-07-11 06:34:57 +00:00
jeffs
6b28794054
Add support for 3 QED special2 opcodes.
2000-07-11 06:27:58 +00:00
jeffs
54a85cb3af
For 64b clean 32b compilation, do not bother setting SX And KX.
...
The current code does not maintain these in SR, and they are not
needed by 32b kernel code for mips3/4 instructions.
2000-07-11 06:26:08 +00:00
nisimura
4f051180a0
- Use PMAD-BA name for device match logic. It's not a real TURBOchannel
...
device and the id string is not found in option ROM string, but
ULTRIX/OSF1 call it so anyway.
- Squash IOASIC DMA buffer allocation into device attach() sequence.
2000-07-11 04:10:25 +00:00
soren
77e30d85bf
Oops.
2000-07-11 01:15:47 +00:00
soren
e3c19eafd0
Update comment.
2000-07-11 01:02:44 +00:00
jeffs
dcbf69bf94
Update mips3_locore_vec cache functions for mips3_L1TwoWayCache. Add cast
...
for clean compilation with _MIPS_BSD_API_LP32_64CLEAN set.
2000-07-10 23:21:16 +00:00
jdolecek
f7d523ebb6
make buildable with -Wall -Werror
2000-07-10 22:48:25 +00:00
jdolecek
b3c2dd691c
make compilable with -Wall -Werror
2000-07-10 22:01:16 +00:00
jdolecek
42c88111e1
explicitly specify main() return type (make buildable with
...
-Wall -Werror)
2000-07-10 21:30:31 +00:00
jeffs
010c198b37
In setregs() flush sigreturn trampoline code from the d (MIPS3) and i cache.
...
Tested on geocast RM5231 platform. This fixes a race in
regress/sys/kern/sigtramp. Some other ports do the same thing.
2000-07-10 21:12:13 +00:00
jdolecek
27a5ba9e0a
use <sys/exec_aout.h> instead of <a.out.h> - this is supposed
...
to be standalone after all
2000-07-10 20:36:15 +00:00
jdolecek
7e272173bd
no need to include <a.out.h> here
2000-07-10 20:33:49 +00:00
eeh
f10d7699fc
Break into debugger by typing `+++++',
2000-07-10 20:24:23 +00:00
uch
e8ebb2a377
use mips3 cache op.
...
invalidate -> write-back invalidate
(although NetBSD/hpcmips run on write-through mode.)
suggested by cgd.
2000-07-10 16:23:18 +00:00
ragge
c71d0f69c6
Forgot a debug printf.
2000-07-10 10:45:21 +00:00
ragge
5ae755e1bf
Save registers for eventually later usage.
...
Use REI to clear pipes after code copy.
2000-07-10 10:42:27 +00:00
ragge
baec928850
NODESIZE -> BI_NODESIZE.
2000-07-10 10:40:38 +00:00
ragge
ed83213bf2
Add support for VAX 6000 + VAX 8000. Tweak console routines.
...
Create a fake RPB if either netbooted (on machine without RPB) or
loaded from console storage (without VMB intervention).
2000-07-10 10:38:23 +00:00
ragge
175e6ad859
Add code that allows the boot blocks to be loaded by VMB.EXE, and
...
also have optional MTPR printf available.
2000-07-10 09:55:36 +00:00
ragge
8658157274
Nexus vector number is 0x14-0x17, not 14-17! Fortunately, 3 wrong did
...
one right. Pointed out by Kenn Humborg (kenn@linux.ie ).
2000-07-10 09:14:32 +00:00
eeh
7403ef3d00
Need to include <sys/exec_elf.h> to make things happy. So much for adding
...
dead code.
2000-07-10 01:15:17 +00:00
eeh
048f1387db
Function signature for bus_intr_establish() changed.
2000-07-10 01:11:14 +00:00
eeh
1cfb5e6456
Grab and use the memory model info from the flags in the ELF header.
2000-07-09 22:39:17 +00:00
eeh
ec71379542
Use TSO memory model for 32-bit userland.
2000-07-09 22:02:32 +00:00
eeh
e5cd515b89
Upgrate interrupt handling:
...
1) use interrupt vectors for specific zs chips rather than polling
all of them.
2) use softintr_schedule() and schedule it for a particular device
rather than poll all devices.
2000-07-09 21:58:43 +00:00
eeh
f43ab74a43
Shuffle around some fields to waste less space on LP64.
2000-07-09 21:55:24 +00:00
pk
406e0f779f
Add a `device class' interrupt level argument (from machine/intr.h)
...
to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt
level to devices in PCI slots.
2000-07-09 20:57:41 +00:00
pk
2a57393a0f
Re-arrange headers; drop <machine/cpu.h>.
2000-07-09 20:38:34 +00:00
jdolecek
230b3462ea
uncomment part which has been accidentaly commented out in last commit
2000-07-09 14:16:02 +00:00
jdolecek
f61c58e333
fix accidentaly dropped dependance on wrtvid
2000-07-09 14:11:10 +00:00
jdolecek
0b9b0cbc03
backout previous change, this should not have been committed (yet)
2000-07-09 14:07:06 +00:00
jdolecek
26e11b6af2
Make buildable on NetBSD/mvme68k 1.4.1.
2000-07-09 13:47:33 +00:00
mrg
152f5c5f28
remove unused variable.
2000-07-09 13:35:54 +00:00
jdolecek
f6cf4e5f93
move struct sys_config from mca_machdep.c to mca_machdep.h
...
fix copyright (overlooked in original commit)
use bitmask_snprintf() instead of printf("...%b") (though that part is commented
out anyway ATM)
2000-07-09 10:35:11 +00:00
nisimura
1566e57da8
Simplify address decode logic for memory parity error condition.
...
XXX Need to have a better reporting message here.
2000-07-09 09:14:29 +00:00
nisimura
3c55597b94
Add a patchwork prototype declaration for netintr().
2000-07-09 08:08:20 +00:00
nisimura
194f2ce04e
Comment clarification in this file. Have consistent terminology, ATC
...
instead of TLB.
2000-07-09 07:14:18 +00:00