mycroft
d9f4f0e31a
Add PCMCIA goo.
1999-02-18 21:58:18 +00:00
mycroft
e3dc7a4881
Okay; pcic_isapnp doesn't quite work yet.
1999-02-18 21:54:04 +00:00
mycroft
9bf7aaa65f
Add pcic_isapnp.
1999-02-18 21:27:54 +00:00
thorpej
bd72e4386f
Add floppy controller and drives.
1999-02-18 20:39:04 +00:00
mycroft
3bf5fab3c0
Add a floppy drive.
1999-02-18 20:18:54 +00:00
thorpej
1df60a8989
Floppy driver for NetBSD/alpha, copied from i386 port, and munged to take
...
out the i386'isms (i.e. no NVRAM read for default floppy type; floppies
just default to 1.44MB).
1999-02-18 20:15:53 +00:00
christos
85a8ddde1d
make the #if 0'ed code compile...
1999-02-18 17:23:55 +00:00
christos
88bdeec361
&& || confusion.
1999-02-18 17:21:14 +00:00
mycroft
1445849c2f
Add:
...
* PCI VGA (tested with Imagine-128)
* ISA SoundBlaster (tested with SB1!)
* AudioPCI (tested with ... AudioPCI!)
* PnP SoundBlaster (currently loses in 16-bit mode due to extent lossage)
* SonicVibes (currently loses; see sv.c commit log)
1999-02-18 16:42:31 +00:00
jonathan
6e065bd434
Use cpu_spl3() for all device-level spls, not splhigh().
...
Lets reset button work when stuck at device spl.
1999-02-18 10:24:16 +00:00
mycroft
579eeb8cf7
If we have to increase the boundary due to the spill pages, use the old
...
boundary as an alignment. Otherwise we fail to enforce the old boundary,
causing massive lossage.
1999-02-18 08:55:16 +00:00
scottr
1bd69f0915
Er, function prototypes don't belong in fooreg.h.
1999-02-18 07:50:54 +00:00
scottr
9da0e1f5c5
First cut at a floppy disk device driver, for IWM and IWM-compatible
...
controllers. Supports GCR-encoded disks only (400K and 800K); neither
of the 1.44M formats will work until someone figures out how to drive
the SWIM and its descendants.
This code was written by Hauke Fath, and had only minor touchup (mostly
KNF) by me.
1999-02-18 07:38:26 +00:00
scottr
afb76cc809
Add the IWM driver.
1999-02-18 07:35:07 +00:00
scottr
1f3b03f6cd
Add support for the IWM driver.
1999-02-18 07:32:56 +00:00
scottr
867a930654
Minor space-tab KNFing.
1999-02-18 07:16:17 +00:00
gwr
5cf3f8e3b2
It appears that pmap_physseg is now required in userland. Too bad.
1999-02-18 07:13:21 +00:00
tsubai
60307f0ef1
Sync with mac68k.
1999-02-17 14:56:56 +00:00
tsubai
e717f0bc2b
Use mips/varargs.h.
1999-02-17 14:13:42 +00:00
scottr
928c2f86e0
Fix a typo in the (unused!) splsched() macro.
1999-02-17 04:46:45 +00:00
mrg
e21cbb5e8b
KNF nit.
1999-02-17 03:54:46 +00:00
eeh
c9956cf132
Let's test out vectored interrupts.
1999-02-17 03:23:28 +00:00
mjacob
1611b4799f
Gronk. DWLPX comment in a MCPCIA file.
1999-02-17 03:17:17 +00:00
jonathan
ce3b5f2c3f
Adjust cursor offests so that cursor position reported by X applications
...
agrees with pointer. Fron PR 6648 (not verified at all resolutions.)
1999-02-17 01:04:10 +00:00
is
2c7fa23c38
Fix Copyright dates
1999-02-16 23:34:10 +00:00
is
dc068e0d1f
Assign my files to The NetBSD Foundation, Inc.
1999-02-16 22:46:55 +00:00
tsubai
4806be8d02
Use powerpc/reloc.h.
1999-02-16 17:53:42 +00:00
abs
e54f9521b8
Update IDE comments, from yoavcs@inter.net.il
1999-02-16 17:46:17 +00:00
tsubai
adf03cea81
Add copyright notice.
1999-02-16 15:20:51 +00:00
jonathan
069050d92d
Bump mips3 CPU-mhz timing threshholds by 10% due to egcs wins.
...
XXX mips1 not recalibrated.
1999-02-16 10:10:51 +00:00
jonathan
3cc1ae4ff2
Use VECTOR() and VECTOR_END() in mips1 locore code.
1999-02-16 08:35:35 +00:00
veego
8dcc2f0651
Add support to boot from ide hard disks.
1999-02-16 07:25:43 +00:00
pk
8d45c4eb84
Use promlib version correctly.
1999-02-16 07:22:17 +00:00
jonathan
adc3e91e3a
Add VECTOR() and VECTOR_END() macros for declaring exception-vector
...
code. Fold in <xxx>End names used to copy exception code to vector
locations. Use in mips3 locore code.
1999-02-16 05:06:26 +00:00
ender
e0a4cb2335
Add NetBSD RCS Id's
1999-02-16 01:08:16 +00:00
scw
80a6d1c537
reboot(8) is now supported, by hitting the hard reset (RST) bit in the GCSR.
...
Figure out the amount of onboard RAM by looking at the MEMC040/MEMECC
configuration register. (Bank #0 only, for now).
1999-02-15 21:05:26 +00:00
is
83852d7633
regenerate
1999-02-15 19:34:13 +00:00
pk
6139fd16f3
Install the `machine' link again; it went missing a while ago.
...
Add `-I.' to CPPFLAGS to use it.
1999-02-15 19:31:34 +00:00
is
41bc990eca
Create a RCS id in the generated configuration file
1999-02-15 19:16:41 +00:00
pk
2a1ecde639
Transfer copyright to TNF.
1999-02-15 19:01:38 +00:00
pk
d292580f3f
Use PROMLIB to streamline this code. This also provides the bulk of
...
Open Firmware boot code.
1999-02-15 18:59:36 +00:00
pk
8460b71d8d
* Add promlib.c to common sources.
...
* Compile with prototype warnings turned on.
1999-02-15 18:52:12 +00:00
ragge
f379e1e9c0
Fix RCSid, pointed out by Hubert Feyrer.
1999-02-15 07:07:43 +00:00
hubertf
56f2d188fc
RCS ID police
1999-02-15 04:54:34 +00:00
sakamoto
a6a228ce7f
RCS ID police
1999-02-15 04:38:06 +00:00
hubertf
aa4a217d1c
RCS ID police
1999-02-15 04:36:33 +00:00
hubertf
100778d54a
RCS ID police
1999-02-15 04:25:28 +00:00
hubertf
dcd5f59c0a
RCS ID police
1999-02-15 04:14:54 +00:00
christos
c95ea656d6
Elf bits.
1999-02-14 20:04:26 +00:00
scw
a72d37c4fa
Merge support for mvme167 into main tree.
1999-02-14 17:54:27 +00:00
pk
059697a999
Use PROMLIB's prom_setcontext().
1999-02-14 14:37:45 +00:00
pk
3ee0ba2805
romcall() => prom_halt()
1999-02-14 14:37:15 +00:00
pk
67df93822d
Add size arg to getpropstringA
1999-02-14 14:03:16 +00:00
pk
8edcd03969
Use the PROMLIB interface.
1999-02-14 12:44:31 +00:00
pk
9896803ae6
Fake a label only if it appears to be blank, and if so use RAW_PART
...
instead of 0.
1999-02-14 12:42:33 +00:00
pk
4b9ee1f8ce
This file is superseded by promlib.c
1999-02-14 12:38:03 +00:00
pk
4dc82c28b4
Exit: obp.c; Enter: promlib.c & openfirm.c
1999-02-14 12:36:50 +00:00
pk
a8456f4e8a
Check OBP magic: if no match then assume an Openfirmware PROM.
1999-02-14 12:33:55 +00:00
pk
1e5bf77774
Adjust to functionality and changes introduced with <machine/promlib.h>
1999-02-14 12:26:16 +00:00
pk
a99ba2939c
Provide a uniform interface to most of the PROM functions.
...
Include an Openfirmware back-end (mostly copied from sparc64).
1999-02-14 12:23:03 +00:00
dbj
f651d280fa
Continue hacking on esp driver. Seems relatively stable in read only mode.
...
write operations appear to lose scsi interrupts and causes timeouts.
changes in this checkin include:
a nextdma bugfix causing a diagnostic check to erroneously trigger
Changed tail strategy to only use tail buffer for the minimal end slop
changed expected write dma overrun to 32 bytes.
turned on nextdma diagnostic check for dma end address since it
no longer gets triggerred by ethernet dma and helps debug scsi dma.
Added esp debugging printout and support.
1999-02-14 10:19:51 +00:00
dean
6dc3d1eae8
Put back bsd.own.mk and added comment explaining why it must be included.
1999-02-14 02:56:19 +00:00
christos
6e13c7d4b5
Avoid defining __extension__ if we don't need to. Breaks lint.
1999-02-13 20:35:02 +00:00
christos
21485fd1d6
noise reduction.
1999-02-13 16:45:28 +00:00
christos
f2da4dfc95
Support __syscall for COMPAT_AOUT properly.
1999-02-13 16:10:44 +00:00
dbj
997f74e47c
Continued work on esp scsi driver. Now can at least do enough i/o to create and mount
...
a filesystem, but is not stable enough yet for general use.
increased priority of ethernet interrupts, mostly useful to aid debugging
of scsi interrupts while using an nfs disk.
added additional debugging output in the next dma driver.
perform extranneous cache flushes/purges before dma reads/ after dma writes
to aid debugging of scsi dma.
1999-02-13 09:44:50 +00:00
lukem
dcab0210a0
convert from NOxxx= to MKxxx=no.
...
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
thorpej
22a5cb007f
Fix printf format warnings on Alpha.
1999-02-13 02:41:40 +00:00
dean
c372a9b915
Remove bsd.own.mk include
1999-02-12 23:48:46 +00:00
tsubai
31101d57ec
Add missing backslash.
1999-02-12 18:13:12 +00:00
drochner
dbdaf91650
change the "mapchar" interface to return a "quality" or "match level"
...
arguments which allows to find approximations for characters which are
not present in a font
1999-02-12 11:25:23 +00:00
thorpej
02d221f94a
Fix printf format problems on Alpha.
1999-02-12 06:25:13 +00:00
thorpej
db631acd8a
Fix printf format problems on Alpha.
1999-02-12 06:07:52 +00:00
mrg
aea84d23cc
add a proto for print_dtbl
1999-02-12 05:58:27 +00:00
mrg
43542ba2e5
include dev/mii/files.mii
1999-02-12 05:57:21 +00:00
cjs
8a3ac60bb8
Change NOMAN to MKMAN.
1999-02-12 05:15:35 +00:00
cjs
3e90f302b6
Don't give exit() a parameter, as libstand version doesn't take one.
1999-02-12 05:14:22 +00:00
thorpej
5194c207d0
Fix printf format problems on Alpha. (IRONIC?!)
1999-02-12 01:45:42 +00:00
christos
85333355d2
Add COMPAT_AOUT glue.
1999-02-11 20:14:28 +00:00
mycroft
2a304686e6
Minor cleanup.
...
Make the initializer for BAUDLO depend on PCLK directly; it was incorrect on
some ports where PCLK is not 4.9152MHz.
XXX Is the default value actually used?
1999-02-11 15:28:03 +00:00
mrg
26c0549e41
fix a comment pasto.
1999-02-11 13:18:35 +00:00
ender
25e1f69c42
o Change various attach arg and softc datatypes to ints.
...
o Use explicit typecasts when interfacing with MRG data
Should fix port-mac68k/6839. Patch supplied by
Frederick Bruckman <fb@enteract.com>
1999-02-11 06:41:07 +00:00
kleink
f69591d12d
Use of casts as lvalues is a GNU C extension; rearrange slightly.
1999-02-10 17:03:26 +00:00
christos
b7ff80b7fb
Fix reversed test in my changes to compat_freebsd (thanks charles!)
1999-02-10 16:52:02 +00:00
christos
fe9e04762b
PR/6962: Paul Shupak: FreeBSD ELF emulation bits.
1999-02-10 07:10:59 +00:00
is
b0f697496e
Provide a minimal instruction/data cache synchronization C binding.
...
(The function has always been in the kernels as special trap #12 ).
In response to PR 4951 by Hauke Fath.
1999-02-09 22:32:33 +00:00
tv
e07978e871
Split the "mips" MACHINE_ARCH for 1.4. newsmips is "mipseb"; pmax is
...
"mipsel".
1999-02-09 17:15:51 +00:00
thorpej
c9f76153fa
Add some missing newlines in printfs.
1999-02-08 19:37:29 +00:00
bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
tsubai
cd010c972c
Oops, last change is wrong...
1999-02-08 14:32:00 +00:00
he
f96a373094
Avoid "unterminated character constant" error from mkdep (really cc).
...
I guess in some sense it's stupid to use cc to depend .S files.
1999-02-08 10:45:11 +00:00
fvdl
1461618ead
Make this compile for SUN4 only.
1999-02-08 00:13:20 +00:00
christos
d30ef27fb0
s/ELF/__ELF__/
1999-02-07 20:21:09 +00:00
tron
2fefe24803
Remove "lib" directory only during "make cleandir" so that ".depend"
...
doesn't get nuked during "make clean".
1999-02-07 18:25:54 +00:00
drochner
b2c4a7b933
use mi data conversion functions, simplify inittodr() and resettodr()
1999-02-07 17:29:26 +00:00
drochner
36be191753
-pull in mi date conversion functions
...
-include files.vme (not worth much normally, but makes it easy to
plug in something)
1999-02-07 17:25:31 +00:00
christos
636b3ee69b
s/JUMP/JMP/ like every other arch.
1999-02-07 17:20:00 +00:00
drochner
0f145938b4
put all century related code into an own function clock_expandyear(),
...
touch the CMOS century byte only if the CMOS contents passes a
checksum test which qualifies it as "known compliant"
1999-02-07 16:18:00 +00:00
minoura
cc5f9932f8
Issue SCSI reset on initialize.
...
Clean unused mha_reset.
1999-02-07 15:18:58 +00:00
tron
08c7376961
Remove "lib" directory created during build process while doing
...
"make clean" or "make cleandir".
1999-02-07 13:39:36 +00:00
jonathan
c9d036d796
defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}.
1999-02-07 09:34:58 +00:00
jonathan
3fa9c3ec91
garbage-collect `options MULTICAST'. IP multicast is no longer an option.
1999-02-07 07:14:21 +00:00
jonathan
ac38e160d1
Add `strip' line for testing Ricochet modems at 115200 bps.
1999-02-07 07:12:19 +00:00
is
9332e61aae
Define _STANDALONE instead of STANDALONE.
1999-02-06 23:17:07 +00:00
is
892e4f60af
One more small step towards a unified m68k pmap:
...
use the common pmap_copy_page() and pmap_zero_page (copied from Atari).
1999-02-06 22:48:08 +00:00
thorpej
ad268a2ff8
STANDALONE -> _STANDALONE.
1999-02-06 21:19:24 +00:00
mycroft
5542a949cd
Config for for an AS200 with TGA/WSS/PCMCIA (although the TGA and PCMCIA aren't
...
fully functional yet).
1999-02-06 20:22:43 +00:00
tsubai
d1276ebc65
Make this compile. (and sync with dev/ic completely)
1999-02-06 20:04:31 +00:00
drochner
bce7f71843
sort the dependencies between terminal devices a bit and add consistency
...
checks to catch conflicting devices at compile time
1999-02-06 18:46:21 +00:00
jonb
aae389c323
STANDALONE should be _STANDALONE
1999-02-06 15:20:26 +00:00
hannken
c4bc93ad94
Define _STANDALONE instead of STANDALONE.
1999-02-06 13:34:15 +00:00
thorpej
3bf59302e9
Workaround for disks that respond slowly to selection, provided by
...
David Jones in PR #3769 .
Every day, I hate this driver more and more.
1999-02-06 03:30:32 +00:00
thorpej
6a75ade4bc
The x86 does not have strict alignment requirements, so define
...
__NO_STRICT_ALIGNMENT here.
1999-02-05 22:13:12 +00:00
thorpej
8ef63cdb2c
Print some more info in pmap_alloc_physpage() if no pages are available,
...
and enhance some DIAGNOSTIC messages.
1999-02-04 19:49:22 +00:00
thorpej
390864a7a5
Define a macro which has human readable strings corresponding to PGU_*
...
constants.
1999-02-04 19:48:21 +00:00
is
2633b97c02
regenerate from template
1999-02-04 19:19:38 +00:00
is
c5e0224025
In the future, the AMIGA and DRACO example files will be generated from
...
GENERIC by make in this directory. This way, they hopefully will stay
up-to-date.
1999-02-04 19:01:37 +00:00
tsubai
7177191d30
Allocate DMA-aware memory area using "dma-alloc" method and use them
...
for data buffer.
XXX currently only netif_put() uses this.
iMac can use ofwboot.elf now.
1999-02-04 15:41:15 +00:00
tsubai
78094a09f1
Uncomment PCI-PCI bridges.
1999-02-04 15:04:58 +00:00
tsubai
630abfea00
Add PCI-PCI bridge support for Bandit.
1999-02-04 14:54:00 +00:00
tsubai
46660b394f
Make ptable really aligned to HTABSIZE.
1999-02-04 12:45:31 +00:00
tsubai
610a648c7d
Use "local-mac-address" property to get MAC address.
1999-02-04 12:14:24 +00:00
dbj
3e0d6eb0b4
overhalt of scsi driver.
...
it still probes the disks ok, but is having trouble with 0xdeadbeef
in buffers read from the disk. Suspected problems with DMA alignment
and toggling the secret ninja dma control register
1999-02-03 20:44:43 +00:00
mycroft
be1af660c0
Don't set DCD_IE in the frontends. KGDB doesn't even use DCD, and the tty
...
frontends get it from zsparam() anyway.
1999-02-03 20:25:05 +00:00
mycroft
b3a56d0097
Catch up with a change to the stint interface.
1999-02-03 20:22:28 +00:00
mycroft
54f0a0ae81
Clone changes from the version in dev/ic. (These should be merged!)
...
Note: NOT tested on this port yet.
1999-02-03 20:19:08 +00:00
thorpej
e6c245c5df
Implement pmap_prefer() for systems w/ an HP MMU (which has a virtually-tagged
...
cache). This helps to avoid cache alias problems, and can improve performance
in the case where physical pages have multiple mappings (since the pages will
not have to be marked cache-inhibited).
1999-02-02 21:06:55 +00:00
thorpej
f108f0164e
Nuke the "pmapvacflush" debugging code.
1999-02-02 20:52:21 +00:00
ragge
13daba04a1
Another giant change: Allocate register space dynamic instead of compiled-in.
...
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.
1999-02-02 18:37:20 +00:00
tsubai
68c9ce2c96
Don't use BAT register. (not needed now.)
1999-02-02 16:48:17 +00:00
tsubai
a4de4218fd
Use private (its own) segment registers in Open Firmware call,
...
instead of BAT register.
1999-02-02 16:47:08 +00:00
tsubai
ef69721044
findroot() now recognizes network devices.
1999-02-02 16:37:51 +00:00
tsubai
378f49eff8
Ensure lowest 256MB is mapped by BAT0.
1999-02-02 16:29:25 +00:00
bouyer
1123e3e286
Mention pciide(4).
1999-02-02 16:18:17 +00:00
dbj
f41cded075
make dma flushing more efficient and avoid stray interrupts when not using polled io.
...
remove check for normal chaining interrupts and add check for combined chaining interrupts
only when used with a tail chain. This allows scsi to work for short unaligned buffers
and large aligned buffers.
1999-02-02 14:04:53 +00:00
christos
0c8f3a4f31
Don't use obsolete sgtty crap.
1999-02-02 13:00:19 +00:00
dbj
d97559225c
Removed some already commented out test code.
...
added debugging printout when invoking polled dma interrupt.
1999-02-02 12:46:13 +00:00
itohy
2667a4b26f
Fix typo.
1999-02-02 10:00:18 +00:00
itohy
fbfe12046d
Trivial asm-level optimizations.
1999-02-02 09:16:52 +00:00
fair
14ec3b84b7
Bracket calls to Debugger() with #ifdef DDB (won't compile otherwise;
...
the prototype isn't there without DDB).
1999-02-02 04:57:11 +00:00
mark
5ef478be57
Fix some egcs compiler warnings (from Patrick Welche).
...
Closes PR6925.
1999-02-02 04:02:26 +00:00
tron
899ac42bec
Fix bug exposed by new "mkdep" program:
...
"${SFILES}" is empty so that "cc" will fail with "No input files"
during "mkdep".
1999-02-01 23:18:56 +00:00
mrg
1ccaf05ff1
add CPU_SUN4U, to make libkvm compile.
1999-02-01 22:20:02 +00:00
he
38e33af591
Enable DDB, but with DDB_ONPANIC=0.
1999-02-01 16:16:52 +00:00
dbj
f6955fc60b
Fix return value in interrupt routine so that dma gets flushed correctly.
...
Turn on the esp_match since polling the scsi bus now works.
1999-02-01 12:53:48 +00:00
jonathan
9ec88780aa
size_t and void*-arithmetic changes from sys/libsa/ufs.c.
1999-02-01 03:08:05 +00:00
jonathan
45f13be5cb
use memcpy, not bcopy, for non-overlapping copies.
1999-02-01 02:46:59 +00:00
simonb
22cbe4abc1
Add a comment that the bcopy #define that uses the PROM's memset don't
...
handle overlapping copies. From Jonathan Stone.
1999-02-01 02:18:46 +00:00
cjs
a3793dc8e8
Add a missing tab for cosmetic purposes.
1999-02-01 01:36:21 +00:00
nisimura
52bd8c333b
- Nuke USPACE for now-defunct 'nullproc' pcb (8KB saving).
1999-02-01 00:32:18 +00:00
tsubai
fed24e89c8
Adapt disklabel_mbr.h change.
1999-01-31 19:56:56 +00:00
dbj
b970be0907
Made reboot and halt work.
1999-01-31 18:12:14 +00:00
dbj
107dd5ccc6
use WSEMUL_VT100 instead of WSEMUL_SUN
1999-01-31 18:07:41 +00:00
scw
2cbc4abc96
Make this compile again.
1999-01-31 14:06:40 +00:00
tsubai
a4f0ae9043
Adapt disklabel_mbr.h change.
1999-01-31 13:54:24 +00:00
simonb
cbbad6d2b2
Add bzero/bcopy defines to use PROM memset/memcpy.
...
Change test to include defines from
#ifndef _KERNEL
to
#if defined(_STANDALONE) && !defined(_NO_PROM_DEFINES)
1999-01-31 13:49:40 +00:00
drochner
0e91ebb904
make the last fix work as intended
1999-01-31 11:15:43 +00:00
is
93a62a003d
Wrong sign of dialout.
1999-01-31 10:30:22 +00:00
mrg
7006310cbd
retire _LP64; use compiler provided __arch64__, but still defined _LP64 where we used to anyway.
1999-01-31 09:21:18 +00:00
dbj
21ab415ee6
Added support for setting boothowto from boot loader flags.
...
print out string of `.' when powering down to work around ununderstood
behavior of rtc chip.
1999-01-31 07:02:33 +00:00
dbj
f0b3caaceb
Accidentally uncommitted wscons change.
...
attach nextdisplay to mainbus for wscons support.
1999-01-31 06:59:30 +00:00
castor
d0ca7993a0
Remove genpubasym.cf stuff
1999-01-31 01:01:12 +00:00
castor
98c9d5e1c6
Remove genpubassym.cf stuff. The macro _MIPS_BSD_API allows selection of a
...
64-bit clean compilation model.
1999-01-31 00:55:41 +00:00
is
b85f4a5e4d
Remove redundant code (leftover from editing).
1999-01-30 21:54:49 +00:00
christos
736a561afb
Add my name in the copyright, since the code looks very different now.
1999-01-30 17:51:52 +00:00
christos
5699d1ab3d
Remove exec.c from here. I want to make it obvious that it has to be built
...
with different flags from dosboot and biosboot. Although right now this
does not make a difference because we are building the libraries twice,
it can make a difference when we share the builds.
1999-01-30 17:46:53 +00:00
christos
07b1febfb8
- Use MARK_ENTRY instead of MARK_START.
...
- ELF changes. Now an ELF installboot installs ELF bootblocks properly.
1999-01-30 17:45:42 +00:00
christos
371363a158
Add exec.c here and bump version for elf.
...
XXX: This code has not been tested!
1999-01-30 17:44:10 +00:00
christos
25fc1fa758
Add exec.c here...
1999-01-30 17:43:38 +00:00
christos
ad9c7a287c
Remove exec.o, and make necessary changes for elf.
1999-01-30 17:43:10 +00:00
scottr
7bc05635d3
Catch up with changes to MBR handling. From Erik Bertelsen in PR 6911.
1999-01-30 17:34:31 +00:00
eeh
8ee118c70d
Fix problems with bus_space*() macros (thanks M.Drochner).
1999-01-30 17:02:32 +00:00
drochner
cf06eef09a
make wscons the default
1999-01-30 13:44:25 +00:00
simonb
53e963b5ef
Add -mmemcpy (from Jonathan Stone) and bump -G to 128. Bootblocks now
...
fit! Still needs more testing, so we don't actually install them yet...
1999-01-30 12:57:58 +00:00
simonb
98ceefb712
Actually depend on libsa now.
1999-01-30 12:39:28 +00:00
simonb
555cdd32e5
Don't define an ioctl routine for the rz driver, nor pull in the empty
...
routines in libsa/dev.c.
1999-01-30 12:30:57 +00:00
simonb
1047f11c01
Remove unused callvec stubs and libsa routines, add memcpy.c.
1999-01-30 12:23:10 +00:00
simonb
db342dee15
Add memcpy callvec stub, copied from strcat.c
1999-01-30 11:54:31 +00:00
simonb
a9f9300b78
Tell how many bytes of code are available, and print a warning if the
...
bootblocks are too large - from Michael Hitch.
1999-01-30 10:14:45 +00:00
simonb
500353b4c3
Use DEC_REX_MAGIC instead of a undocumented magic number
1999-01-30 00:40:38 +00:00
simonb
e1167d2415
Add REX magic number
1999-01-30 00:36:10 +00:00
tron
4fe3a6480e
Fix bug exposed by new "mkdep" program:
...
"${SFILES}" is empty for a "SHARK" kernel so that "cc" will fail with
"No input files" during "mkdep".
1999-01-29 22:20:49 +00:00
thorpej
191dab44fa
Um, last rev was kind of backwards... actually build exec.o so that
...
the boot block links.
1999-01-29 22:13:42 +00:00
matthias
b88b2d4f9b
MBR_PTYP_* -> MBR_PTYPE_* to make this compile again.
1999-01-29 21:20:22 +00:00
christos
e58bb79483
Merge XMS changes from exec_fromdos.c
1999-01-29 18:49:08 +00:00
christos
e25e5c88f9
Both booters need exec.o now.
1999-01-29 18:47:58 +00:00
christos
35ca0db06c
Revert, wrong place for this.
1999-01-29 18:47:24 +00:00
christos
6cadeb1ea6
Add exec.c here.
1999-01-29 18:46:15 +00:00
christos
3c7776f1b6
exec.c has all the info now.
1999-01-29 18:45:34 +00:00
christos
89cc672d98
Jason forgot to make the disklabel_mbr.h changes for this and ows me 5 hours
...
of debugging.
1999-01-29 18:45:12 +00:00
christos
722d35a400
Add the ability to get the size of the loaded image without actually
...
loading. This is useful for dos loading and installboot.
1999-01-29 18:44:09 +00:00
christos
7a7391de52
Simplify by using new feature of getting the load size.
1999-01-29 18:43:11 +00:00
christos
1e39fefac4
Remove -g accidental addition
1999-01-29 18:41:50 +00:00
drochner
cc66380116
fix address incrementing in the read_region_N, write_region_N,
...
set_region_N and copy_region_N methods
1999-01-29 16:30:51 +00:00
castor
a7c11f272e
Copy previous fix for TLB miss routine to XTLB miss routine to avoid
...
processor-dependent behavior in 32-bit ops on 64-bit operands.
1999-01-29 16:10:06 +00:00
simonb
ddd6d4cef1
Add some more PROM entry points
1999-01-29 12:05:02 +00:00
bouyer
0bc97aaca7
In match_harddisk(), ignore "empty drive" type errors as well (from Soren S.
...
Jorvang).
1999-01-29 11:20:34 +00:00
kleink
15afeeecca
Remove an incorrect (but harmless) comment.
1999-01-29 08:42:27 +00:00
simonb
916b809a51
Make a `machine' symlink to ..../pmax/include to locate new location of
...
the dec_????.h files. Gleaned from other ports' stand/Makefile.inc's.
1999-01-29 05:51:15 +00:00
simonb
9a3172af0e
Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
1999-01-29 05:37:45 +00:00
simonb
0b2a74160d
Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
...
Remove unused include files.
1999-01-29 05:33:49 +00:00
simonb
3675e80580
Removed unused include file
1999-01-29 05:31:23 +00:00
simonb
fe1bdc0a06
Move via repository copy to pmax/include - the kernel uses these
...
includes too.
1999-01-29 05:28:59 +00:00
nisimura
aa68b32c4f
- Forgot to replace a stub of 'eret' instruction with correct value.
1999-01-29 02:18:42 +00:00
cjs
82a6d74841
Turn on NTP PLL by default.
1999-01-29 00:01:22 +00:00
cjs
99a170d159
Have NTP PLL on by default.
1999-01-29 00:00:17 +00:00
christos
74d863263c
Use loadfile() to load the bootblocks, so that we are going to be able
...
eventually to load boot blocks with this. Unfortunately the elf assembler
chokes currently on our bootblocks, so the ELF portion does not work (yet).
1999-01-28 22:47:25 +00:00
christos
f1fd49f426
Add support for selectively loading sections, and make this compile in
...
userland with -DINSTALLBOOT
1999-01-28 22:45:06 +00:00
christos
9fa73628c9
Minor changes to prototypes.
1999-01-28 20:22:31 +00:00
christos
63546de24a
Remove a.out loading code and use loadfile.c for everything.
...
Populate the btinfo_symtab structure.
1999-01-28 20:21:24 +00:00
christos
0fcf083702
Add loadfile.c (stolen from Jason's alpha/stand/common/loadfile.c)
...
loadfile.h contains macros that are supposed to be MD, but loadfile.c is now MI.
Fixes:
- a.out support
- pass information values via an array not global variables
- don't assume that you can access memory directly.
- remove MD parts
- remove some printfs.
XXX: loadfile.c needs to be moved somewhere where other ports can use it.
XXX2: read() routines on the i386 don't appear to set errno on failure.
1999-01-28 20:18:31 +00:00
christos
408aa9a669
Bump number to 2.6 and say ELF works!
...
But, this is not selfhosting yet. I need to fix the installboot crap.
[i.e. you need the a.out tools to build it and install it].
1999-01-28 20:12:49 +00:00
christos
72ba98061e
Add btinfo_symtab, to pass symbol table information.
...
Actually the current ddb_init interface sucks, since there is no
magic number for a.out and it applies heuristics. It would be nice
if the boot blocks passed more info.
1999-01-28 20:10:55 +00:00
christos
c46e7e7756
Use btinfo_symtab to find the symbol table if it is available.
1999-01-28 20:06:31 +00:00
christos
6922bd9c58
Add ELF bits. -N does not work, because ld does not compute the correct
...
memsz.
1999-01-28 20:04:54 +00:00
mhitch
ae4fe46357
Fix the TLBMiss handler to not use an undefined operation (32 bit operation
...
on 64 bit register that's not correctly signed extended. The R4x00 support
works again on DECstations. A similar change to the XTLBMiss handler probably
needs to be made, but I have not done that since I am unable to test any
changes to that.
Also re-order a couple of instructions to allow for delay with mfc0.
1999-01-28 18:37:02 +00:00
ross
a1b52a0723
Remove the original -g, as a duplicate was (accidently?) added in 1.108,
...
and comment it out like it used to be, at least for now.
1999-01-28 18:03:56 +00:00
drochner
c6ca838916
defopt PCI_CONF_MODE
1999-01-28 12:43:13 +00:00
dbj
7919e08986
wscons based console video & keyboard support for the NeXT
...
from Matt DeBergalis
1999-01-28 11:46:22 +00:00
jonathan
7bfe0eabb6
Use lk_bell() for audible bell.
1999-01-28 10:35:53 +00:00
jonathan
9c2700d2b8
Jason Thorpe's changes from PR#6848. Makes 115200 bps work on some systems.
...
Reverse sense of #ifdef to disable 76.8k and 115.2k until we can verify
it works on all 8530 chips (similar changes didnt work on a /240 in 1996).
1999-01-28 10:28:43 +00:00
jonathan
1962954796
LK201 changes from PR#4519:
...
Add lk_bell() to ring keyboard audible bell (for rcons bell).
Add LK_KEY_CLICK option to reset keyboard and enable keyclick.
(off by default since theres no way to control it from userland yet).
1999-01-28 10:20:10 +00:00
nisimura
8c3b908f26
- Restore descriptive comments lost in the last commit.
...
- XXX Put a note that local DDB command 'trapdump' is not available. XXX
1999-01-28 05:52:06 +00:00
thorpej
7ad46b1420
Goodbye disklabel_mbr.h.
1999-01-27 22:08:09 +00:00
thorpej
135dc4e1ff
Use <sys/disklabel_mbr.h>
1999-01-27 21:33:19 +00:00
thorpej
24d9973308
Use <sys/disklabel_mbr.h>.
1999-01-27 21:30:08 +00:00
thorpej
af39050d19
Use MBR_MAGIC defintions in <sys/disklabel_mbr.h>
1999-01-27 21:20:18 +00:00
thorpej
cb8268a3a5
Use <sys/disklabel_mbr.h>.
1999-01-27 21:00:05 +00:00
thorpej
f077362c41
Use the MI <sys/disklabel_mbr.h>, not our own machine-dependent
...
definitions.
1999-01-27 20:54:56 +00:00
thorpej
41c5275965
Use the MI disklabel_mbr.h.
1999-01-27 20:43:26 +00:00
tsubai
941abb6bf6
ofmsr[IP] = 0.
1999-01-27 14:46:28 +00:00
tsubai
5ad236211f
Add file-system MFS.
1999-01-27 12:43:17 +00:00
dbj
5a0e49ac08
Finished the setting of the system date from the rtc.
1999-01-27 11:27:16 +00:00
dbj
0dee80a0e4
print out interrupt status register and mask when stray interrupt occurs.
...
to aid debugging
1999-01-27 06:39:31 +00:00
dbj
49ad0ddfa1
Continue work on scsi driver. Added tail dma buffer. Still non functional.
1999-01-27 06:37:49 +00:00
dbj
b9795e9e3c
Fixed dma instability introduced with nextdma.c rev 1.7
...
This fix removes putting 0xfeedbeef in the unused restart registers.
When that was done, the machine would panic after a short while
with 0xfeedbeef in the normal dma buffer registers. A restart
cycle is probably hapenning without an interrupt or something.
1999-01-27 06:08:29 +00:00
simonb
ce856af2ef
Include dec_prom.h with `full' path if being included by kernel.
...
XXX: Should these headers used by the kernel be in pmax/include instead
of pmax/stand?
1999-01-27 05:52:31 +00:00
simonb
51dc8fb666
Change location of pmax/stand/*.h include files to pmax/stand/libsa/*.h
...
My bad - wasn't expecting the kernel proper to pull stuff in from stand...
1999-01-27 03:12:24 +00:00
simonb
384f5d9970
Remove unused pmax/stand/dec_*.h include files.
1999-01-27 03:03:51 +00:00
christos
be52cd1738
Fix this properly, using gcc assembly syntax (thanks ws!)
1999-01-26 17:07:06 +00:00
christos
d102972c3a
Add a missing _C_LABEL(). Now an ELF kernel builds (if one removes the
...
-z flag from the ld line, in the Makefile)
1999-01-26 14:28:05 +00:00
christos
12bbb63ed7
move the assembly functions to locore.s and make the variables used by
...
them non-static
1999-01-26 14:27:08 +00:00
christos
d95840263e
add prototypes for the assembly functions that moved to locore.s
1999-01-26 14:25:02 +00:00
christos
0339b8e4dd
ifdef __ELF__ the softintr inline since we cannot use _C_LABEL to produce
...
a name. XXX: Is there a better way?
1999-01-26 14:22:23 +00:00
christos
3bbb84a4a9
- move the npx assembly routines from npx.c here, so that we can use _C_LABEL
...
etc, to produce the correct names for elf and a.out
- correct a missing _C_LABEL problem.
1999-01-26 14:21:20 +00:00
thorpej
8851ed323e
Fix a bug that has annoyed me for a long time. In pmap_enter(), if
...
there are no pages available immediately to use as a PT page, don't
just roll over and die. Only do that if we're the kernel pmap (shouldn't
happen very ofter [ever?!], and I'm not certain we're guaranteed valid
thread context when operating on the kernel pmap). For user pmaps, wait
for the pagedaemon to wake us up when more free pages are available.
1999-01-26 09:03:31 +00:00
thorpej
72a506557e
Update.
1999-01-26 01:38:00 +00:00
ross
a9dbb4bc3c
ne* at pci? ...
1999-01-25 07:55:32 +00:00
cgd
c9d7f12836
kill accidental 'options MSGBUFSIZE...' that crept in to rev 1.89.
...
while a larger message buffer size might be a good idea (even as the
default), the existing definition here was way too large and was, in
fact, accidental!
1999-01-25 05:10:03 +00:00
sommerfe
d3eec1e6c2
nit: Fix a missed pms->opms rename (noticed by Matthias).
1999-01-24 18:58:12 +00:00
tsubai
711ac04b78
syncicache(sigcode, sigcodesize) before exec.
1999-01-24 15:07:51 +00:00
mycroft
3e6e3322d8
Format consistency.
1999-01-24 12:56:51 +00:00
mycroft
897a8a7f29
Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE.
1999-01-24 12:55:01 +00:00
pk
922c3eb8f9
Read & clear fault status register after probing translation.
1999-01-24 10:12:22 +00:00
pk
84826812fc
Don't tread on cache tags if the cache is already enabled.
1999-01-24 10:11:23 +00:00
sommerfe
83940dae72
Finish the rest of the pms->opms rename for non-wscons PS/2 mice.
1999-01-23 22:18:41 +00:00
eeh
aedd885e3f
Need a config file for a 64-bit generic kernel
1999-01-23 19:13:16 +00:00
eeh
e66b220ec4
Sync 32-bit and 64-bit kernel config files.
1999-01-23 19:12:19 +00:00
eeh
5739b26892
Need to disable 64-bit only options in 32-bit GENERIC.
1999-01-23 19:09:00 +00:00
eeh
d38fb5945e
Synchronize config files.
1999-01-23 19:06:59 +00:00
drochner
6fe2522d57
second round of mouse renaming: psm->pms
1999-01-23 16:10:47 +00:00
drochner
b384cb4978
update for mouse renaming
...
document wscons-compatible bus mice
1999-01-23 15:38:11 +00:00
drochner
c5b4780e5b
update for mouse renaming
1999-01-23 15:35:21 +00:00
drochner
2589333219
the cdevsw entries are for the backwards compatible mice now
1999-01-23 15:13:28 +00:00
drochner
f7138b4416
busmice have wsmouse attribute now
...
add backwards compatible mice
update for pms->opms renaming
1999-01-23 15:09:55 +00:00
drochner
4120bf17c4
rename the autoconfiguration related symbols to opms* to avoid namespace
...
collisions with an mi wscons-capable pms driver
1999-01-23 15:07:10 +00:00
drochner
6ad1646ffb
provide backwards-compatible busmouse drivers
...
(technically identical to lms.c/mms.c)
1999-01-23 15:05:39 +00:00
drochner
45ecb32709
make the busmice work with wscons
1999-01-23 15:03:50 +00:00
nisimura
7766b60f7c
- Add NEC Vr5400 processor ID.
1999-01-23 06:13:30 +00:00
tron
cba7ce0e5c
Add "ipip" network interfaces.
1999-01-22 22:47:16 +00:00
thorpej
6ead44025b
Fixup some usage of _C_LABEL().
1999-01-22 22:43:44 +00:00
simonb
3566c2a4a4
Add NetBSD RCS ids
1999-01-22 14:27:31 +00:00
mycroft
7497ccd364
Clean up.
1999-01-22 14:19:54 +00:00
mycroft
ec253b6315
Use __builtin_next_arg(). Fixed PR 6862.
1999-01-22 14:14:32 +00:00
mycroft
56934caa9d
Use mips/stdarg.h.
1999-01-22 14:13:10 +00:00
mycroft
082204fa3d
Standardize format.
1999-01-22 14:12:07 +00:00
simonb
65fca13b07
More Makefile cleanups:
...
+ Don't use our own "clean" and "depend" targets
+ "make depend" works
+ Only include each include path once on compile lines
+ Clean up include file names
+ Don't build a separate libdrive.a, just specify driver source files
+ Use "make print-objdir" instead of old "printf ... | make -f-"
+ Remove more unnecessary targets, variables and other cruft
Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.
dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
1999-01-22 14:05:05 +00:00
tsubai
438b781c46
Match "ata0".
1999-01-22 10:44:38 +00:00
mark
f6f7ac980d
Fix bug in the initialization of the interrupt masks for shared
...
interrupts as described in PR6421. Fix from Richard Earnshaw.
1999-01-22 06:59:26 +00:00
sakamoto
7da2ee9edd
Add vr driver.
1999-01-22 05:40:16 +00:00
christos
28b4668c17
Move prototypes to mi code; add MD constant for padding
1999-01-21 23:11:45 +00:00
christos
4384281c67
move the mi context setting code out of here.
1999-01-21 23:07:20 +00:00
christos
6d70af37f7
move prototypes to mi locations and add the xrs gunk.
1999-01-21 23:06:25 +00:00
christos
64df2f4fd8
Remove old prototypes (move to mi code), and add the xrs gunk!
1999-01-21 23:05:14 +00:00
christos
6c559acb65
Move machine independent stuff out of here.
1999-01-21 23:03:10 +00:00
christos
0b836e1a7b
move the machine independent portion out of the context functions.
1999-01-21 22:58:57 +00:00
christos
4e3e5d021d
Avoid void * arithm in a debugging printf, and remove extraneous void *
...
casts.
1999-01-21 22:58:11 +00:00
simonb
76764712c1
Round one of the Makefile clean up:
...
+ dependency on libsa works
+ set and use BINDIR/BINMODE
+ don't pull in sys/lib/lib{sa,kern}/Makefile.inc (``make clean''
doesn't make empty lib/{sa,kern} directories in each
directory/obj dir).
+ remove unnecessary targets, variables and other cruft
+ wrap lines at 80 chars
Re-ordering SRCS line in libsa/Makefile to a more logical sequence
(alphabetical by source dir) results in a libsa.a with archive members
in a different order, and a resultant bootrz that differs from the 1.3.3
bootrz. Untested as yet, so left in but commented out.
Also, _don't_ install the bootblocks (as per intent of previous commit)
or our own small libsa(!).
1999-01-21 14:16:52 +00:00
simonb
ab18b23eba
Add dkcksum.c (pulled in from libsa) and remove local copy of
...
disklabel.c (with it's own copy of the same dkcksum routine). Output
code still identical.
1999-01-21 12:43:11 +00:00
simonb
6c2628b5d0
Almost working bootblocks for the pmax. This compiles fine with gcc
...
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.
Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem). At least there's something to
work with now.
Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
1999-01-21 12:33:39 +00:00
mycroft
399318b456
Vanity config files.
1999-01-21 09:58:26 +00:00
mycroft
1c607f81a8
Fix editing error.
1999-01-21 08:20:25 +00:00
mycroft
74a54bbbc8
wscons.
1999-01-21 02:54:08 +00:00
mycroft
1e9146db5d
sync
1999-01-21 02:50:21 +00:00
mycroft
516af72df3
-ccd +vnd
1999-01-20 22:48:42 +00:00
mrg
1ead59c1eb
enable a few more network and compat options, few more devices, both pseudo and real, that hvae appeared in the tree.
1999-01-20 17:24:36 +00:00
pk
5ce78d9342
Fix think-o in srmmu_cache_flush().
1999-01-20 15:25:29 +00:00
mycroft
cefdcd4840
More DDB cleanup.
1999-01-20 13:56:35 +00:00
simonb
64b6a85f9c
Remove obsolete README and dec_label program
1999-01-20 13:37:56 +00:00
simonb
47c28b03d8
Move via repository copy to sys/arch/pmax/stand/scsiboot
1999-01-20 12:03:56 +00:00