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