ross
c85f77e109
ifndef NEW_SCC_DRIVER, tell sccattach() if we are on a fb or serial cons
1999-08-08 01:40:20 +00:00
ragge
3766555455
Reset the interface when loading is finished, to avoid spurious writing
...
to memory.
1999-08-07 18:30:36 +00:00
drochner
f6f48ed7e7
clean up error handling in TC graphics console attachment: all functions
...
return 0 on success and an errno on failure
1999-08-07 12:58:27 +00:00
ragge
ae5dbfbe84
BI bus files has moved.
1999-08-07 11:19:04 +00:00
ragge
bc163ccc30
Clean up all bus handling stuff, it has become a mess the latest years.
...
Add a new bus; "ibus" that is the internal MicroVAX bus.
1999-08-07 10:36:43 +00:00
thorpej
333c98b6e2
Add the AdvanSys SCSI boards.
1999-08-07 07:40:40 +00:00
ragge
a7361f3acf
Moved to dz_ibus.c,v
1999-08-06 18:58:28 +00:00
ragge
c7d47daa04
Moved from dz_vsbus.c,v
1999-08-06 18:58:27 +00:00
leo
54f2532106
Change the way that bit's are cleared in the InterruptPending register of
...
the 68901. Do this now by _assigning_ ~<bit_to_clear> instead of the
previously used 'andb ~<bit_to_clear>'. The latter caused a rwm-cycle that
caused a race condition to happen when an interrupt arrived between the
Read and Modify-Write.
Anyway, this solved my hanging keyboard problem.
1999-08-06 08:27:30 +00:00
thorpej
1c0e017cff
Change spl calls to always raise priority, except for the ones which are
...
specifically supposed to lower it.
1999-08-05 21:16:55 +00:00
thorpej
d936f02b0b
Implement priority raising, and use it as appropriate.
1999-08-05 18:48:55 +00:00
thorpej
37554502cf
Correct a comment.
1999-08-05 18:31:06 +00:00
thorpej
2ff657adb8
Fix the raise/lower semantics of splsoftclock()/spllowersoftclock().
1999-08-05 18:28:01 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
minoura
e89db1c459
Make use of _C_LABEL and other macros in m68k/asm.h.
1999-08-05 15:58:17 +00:00
jdolecek
d61380b6b4
mark file system NTFS as experimental
1999-08-05 15:52:11 +00:00
jdolecek
836c862c38
add file-system NTFS, commented out and marked as experimental
1999-08-05 15:51:36 +00:00
minoura
74431c5ae2
IPv6 options from GENERIC.v6.
1999-08-05 15:05:56 +00:00
minoura
e0a8602baf
Install kernel should not require COMPAT_14.
1999-08-05 15:05:11 +00:00
minoura
e684a9ad5b
Sync.
1999-08-05 15:04:38 +00:00
minoura
4901b4afde
Use of pointer to register variables.
1999-08-05 14:57:38 +00:00
briggs
3988bc1c06
Deal with the fact that ipls (specifically mac68k_clockipl) are now in an array.
1999-08-05 12:35:55 +00:00
briggs
4292c9d32b
Define MAC68K_CLOCK_IPL.
1999-08-05 12:34:49 +00:00
dbj
18221f52fc
changed dma segment field "ds_read_len" to "ds_xfer_len" since it is valid for
...
either read or write transfers.
1999-08-05 01:50:59 +00:00
tsubai
d633663ab8
Add mediabay.
1999-08-05 00:31:01 +00:00
ragge
128cc8e9b2
For now; don't include the devices that are not yet converted.
1999-08-04 19:15:56 +00:00
ragge
2661ddc378
smg/lkc must have "qfont".
1999-08-04 19:15:11 +00:00
ragge
bebf926694
Adopt to new BI bus design.
1999-08-04 19:11:01 +00:00
ragge
fe04287ec0
Moved to dev/bi.
1999-08-04 19:09:46 +00:00
thorpej
654051453f
Use an array for PSL values, rather than individual shortwords, like
...
the hp300 port.
1999-08-04 16:01:47 +00:00
thorpej
51fe928d5e
Slight cleanup; do all of the spl*()s with imask[].
1999-08-04 15:54:28 +00:00
dbj
dddabc6fbd
sync with mvme68k/mvme68k/trap.c:1.32
1999-08-04 07:18:21 +00:00
nisimura
cb6ed03a59
- Replace device node names of zskbd/zsms into lkkbd/vsms, respectively.
...
No functionality was changed at this moment.
- Apply recent changes in GENERIC to TCWSCONS.
1999-08-04 07:17:50 +00:00
dbj
677f2cf93d
fixed prototype of allocate_sir()
1999-08-04 07:14:13 +00:00
dbj
dd097da50a
remove setting of WSDISPLAY_DEFAULTSCREENS
1999-08-04 06:49:50 +00:00
is
6dee6d1d3f
In classic Amigae, physical address zero is perfectly reasonable (it is the
...
base of the Chipmem). With the new pmap_extract, we distinguish this from
an invalid kernel mapping. Don't confuse the reader with the old panic
message.
1999-08-03 21:54:50 +00:00
is
a1d4b83a5e
Fix typo in the last change, which resulted in invalid global pmap structures,
...
leading to a spectacular panic when the first address is entered into a
pmap the normal way. The problem was reported by Adam Ciarcinski.
1999-08-03 21:50:18 +00:00
ragge
0b6c232028
BI bus has become MI now.
1999-08-03 19:56:21 +00:00
ragge
43bbc0f5c7
Protect against multiple includes.
1999-08-03 19:53:23 +00:00
drochner
29a8d333b6
put biosdiskclose() inside LIBSA_NO_FS_CLOSE
1999-08-03 19:46:22 +00:00
ragge
901fb270ef
Add a "generic" struct for dma without anything fancy.
1999-08-03 19:45:47 +00:00
dbj
97278e1db2
fix prototypes and quiet compiler warnings on next68k
1999-08-03 10:52:06 +00:00
dbj
29ed3cd11b
added define for %b bitfield labels
1999-08-03 10:03:22 +00:00
dbj
705311bcee
resync bus_dma functions with current alpha versions.
...
added a field to a dma segment to return the actual length of that segment that
was successfully transferred.
1999-08-03 09:16:00 +00:00
dbj
34fbdba354
defopt SERCONSOLE
1999-08-03 09:02:10 +00:00
tsubai
4eb4de3592
Make ``boot kernelname'' work on OF-3.x too.
1999-08-03 07:08:36 +00:00
dbj
9eb133fc08
removed unused variable.
1999-08-03 06:55:21 +00:00
nisimura
50eca69f4e
- A minimal patch work to make TCWSCONS useful with sfb/zskbd.
1999-08-03 05:30:56 +00:00
thorpej
35730a15fe
Add the "sip" driver (SiS 900 Ethernet).
1999-08-03 03:23:28 +00:00
matt
42c15639e0
Remove the false positive on the probe of the built-in modem
...
on tadpoles by calling comprobe1 to see if the modem is really
there.
1999-08-03 00:32:33 +00:00
matt
864afe0bc7
Add video blanking support. It does not power-down the TFT
...
since that requires talking to the H8 microcontroller and
that support is not yet done.
1999-08-02 20:36:57 +00:00
matt
016599a30b
Colormaps now work. Besides a small fencepost error, the real problem
...
is that the Tadpole 3GX tech-ref-man was WRONG. The RAMDAC registers
at at 4 byte offsets, not 8. Once that was discovered, all the code
just worked.
1999-08-02 18:00:21 +00:00
augustss
dd3788e008
Alphabetize.
1999-08-02 17:44:59 +00:00
augustss
42fb510148
Move the mpu device declaration to conf/files.
...
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
ad
233d3887c1
In pm_screen(), return 0 if fballoc() fails, not 1.
1999-08-02 12:52:27 +00:00
mrg
39a5b02150
if there are no FB devices, tc_consprobeslot() fails always.
1999-08-02 12:01:46 +00:00
darrenr
01f3c66113
merge patch from PR#6279 as suggested some time ago.
1999-08-02 08:34:50 +00:00
thorpej
868dfcb228
Store computed PSL values in an array indexed by abstract interrupt
...
level, rather than individual shortwords.
1999-08-01 21:50:17 +00:00
thorpej
6489500f0a
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:43:04 +00:00
thorpej
d721481d50
Make sure the branch target of the delay loop is aligned to a cache
...
half-line (8-byte) boundary. Inspired by a discussion w/ Scott Reynolds.
1999-08-01 21:32:17 +00:00
thorpej
22d6c3f13b
Fix APCI console initialization; we were forgetting to update cn_tab.
...
From Christoph Badura.
1999-08-01 21:30:21 +00:00
thorpej
9c48987e94
Ooops, add a missing break.
1999-08-01 18:17:26 +00:00
augustss
694384f946
Add the MPU 401 ISA attachment.
1999-08-01 18:16:35 +00:00
ragge
8f9615d62c
A bunch of changes:
...
- Free pte pages not in use anymore.
- Inline pmap_extract().
- Fix annoying page reference/modify bug. Fixes PR#7858 & PR#7859.
1999-08-01 13:48:06 +00:00
ragge
870769b516
Cpu_swapin() only need to set red zone now.
1999-08-01 12:07:31 +00:00
thorpej
a843b027bd
Sync w/ the i386 port. Fixes some bugs in the conventional interrupt
...
heirarchy. Reviewed by sakamoto@netbsd.org .
1999-08-01 07:52:22 +00:00
matt
d8f4dbb171
fix a few mmap bugs. pretend to be a cg3 and implement a hack
...
to fack the Xsun server to believe that the p9100's framebuffer
is really a cg3's. So if only colormaps worked, X would be able
to run.
1999-08-01 06:27:00 +00:00
matt
4b814be9cf
Initial stab at a P9100 console FB driver for the Tadpole 3GX.
...
It supports RASTERCONSOLE only and the colormap support is
broken (the hardware doesn't seem to be doing what the tech.
docs. say it should be doing). But it is usable as a console
(but with blue on white as the only color choice). I figured
I'd check it in since it is somewhat usable and someone else
might figure what I screwed up in the color map support.
1999-08-01 00:23:48 +00:00
sommerfeld
d6fd753892
Let arm32 kernels build after addition of wsmux.
1999-07-31 23:12:20 +00:00
thorpej
749eee308d
If building without ITECONSOLE, don't install our own NMI handler. Just
...
leave the ROM's NMI handler in place.
1999-07-31 21:49:03 +00:00
thorpej
f4da661b4a
Nuke the DCA check. ACPI can only be console on a 425e.
1999-07-31 21:17:08 +00:00
thorpej
c870d5243c
Skip "serial 1" on non-425e models. It's mapped to DCA at 9 on every
...
other 4xx model, and the "not configured" could be pretty annoying.
1999-07-31 21:15:20 +00:00
thorpej
e1f99936c8
Nuke apcicheckdca(). Since "serial 1" only exists as an APCI serial
...
port on the 425e, key off that instead.
1999-07-31 21:14:36 +00:00
thorpej
232492c350
Oops, forgot to add MMUID_385.
1999-07-31 20:50:48 +00:00
thorpej
5ab8857d4e
Add HP385.
1999-07-31 20:19:31 +00:00
thorpej
f7b10e4c9f
defopt HP385.
1999-07-31 19:56:48 +00:00
thorpej
72fa12a41c
Oops, forgot the HP_385 case in identifycpu().
1999-07-31 19:52:35 +00:00
thorpej
ca091a5e33
Fix oversight in last.
1999-07-31 17:20:22 +00:00
thorpej
7d1889a8bd
Identify the 385 and 425e. Partially from OpenBSD.
1999-07-31 01:26:04 +00:00
thorpej
7c21482563
Add 385 and 425e SPU detection. From OpenBSD.
1999-07-31 00:45:28 +00:00
thorpej
834772047c
Add MMUIDs for the 385 and 425e, and a machine ID for the 385. From OpenBSD.
1999-07-31 00:28:20 +00:00
matt
d4b9056054
Add preliminary support for the built-in modem on Tadpole 3GX/S
...
laptops. There is currently something wrong with the interrupt
code but it does attach and sense a 16550a. (anyways the built
in modem is only a 14.4Kb and you'd really want to use a PCMCIA
modem to get faster dialup rates).
1999-07-30 23:58:25 +00:00
matt
8c0f3c5a5f
Add config file specificially for Tadpole 3GX/3GS laptops.
...
It save ~800KB over the standard GENERIC config file.
1999-07-30 23:55:43 +00:00
ross
02140cb46f
Fix the 16-bytes-of-death bug by generating specific-EOI cycles during
...
sio_intr_setup().
1999-07-30 20:33:43 +00:00
thorpej
d7bf3732b0
The new rasops stuff is a LOT faster; turn on rasterconsole on the cgsix.
1999-07-30 18:11:38 +00:00
mycroft
1880910b3a
Sync with GENERIC.
1999-07-30 02:35:18 +00:00
augustss
f641c4b3b6
Make two wsmux pseudo devices and add mux locators.
1999-07-29 19:36:58 +00:00
augustss
3652732791
Add wsmux device.
...
(Also add lots of missing chrtoblktbl[] entries.)
1999-07-29 19:14:35 +00:00
augustss
a7cd454b1d
It's time to be COMPAT_14.
1999-07-29 10:37:12 +00:00
itohy
5d4686cb63
Fix typo in comment.
1999-07-29 08:19:55 +00:00
thorpej
0f0a99bb48
Make sure that pmap == pmap_kernel() when skipping pager mappings.
1999-07-28 23:23:46 +00:00
ad
3d71693ea7
In fbconnect(), append ' (console)' to printed message if called for
...
the console framebuffer at attach time.
1999-07-28 17:13:54 +00:00
drochner
b513c9a6ad
update comments for mi VME
1999-07-28 09:48:36 +00:00
drochner
6922e1976e
adapt to mi VME attachment (sorry for being late)
1999-07-28 09:45:08 +00:00
drochner
f6fddabf3f
back out previous - there is really a "vmebus" attribute
1999-07-28 09:39:48 +00:00
thorpej
51d09124f9
Fix another locking error: if freeing a PV entry, don't attempt to
...
free a PV page if the PV entry was associated with the kernel pmap,
since the kernel pmap is locked, and freeing the page will execute
a code path which will attempt to lock it again, resulting in deadlock.
No real loss, since the next time a PV entry is freed, the page will
be freed, too.
1999-07-28 06:54:41 +00:00
is
b0cd4e82f1
regenerate: no gvpbus on DRACO
1999-07-28 05:56:07 +00:00
is
d2cd47b6b2
no gvpbus on DRACO
1999-07-28 05:55:19 +00:00
christos
223cc34183
make the vme stuff compile again; I am not sure this is correct as I don't
...
have the hardware to test, but it has been broken for 3+ weeks now. Hi
Mr. Drochner!
1999-07-28 05:45:50 +00:00
thorpej
eced87ad87
Fix a locking error: When allocating a PV page for the kernel pmap,
...
the pmap would be locked, and we would deadlock when mapping the
newly allocate PV page.
1999-07-28 05:37:54 +00:00
mellon
6d03d79b64
- compat_aout requires compat_13_machdep.c for definition of sigreturn.
1999-07-28 01:57:05 +00:00
thorpej
9d4524778d
Slight adjustment to last; move pmap_kenter_pa() to where the other
...
pmap_k* functions are.
1999-07-28 01:17:01 +00:00
thorpej
31fa5c6f78
Don't inline pmap_kenter_pa(). It doesn't buy us much to do so, and
...
it's nice to have it show up in stack traces.
1999-07-28 01:07:52 +00:00
thorpej
6ec1ededf1
Make a slight rearrangement in how <machine/lock.h> is included.
1999-07-27 23:45:13 +00:00
thorpej
cc668e410f
Define apporpriate an value for SIMPLELOCK_LOCKED, based on the
...
semantics of ldstub.
1999-07-27 22:22:33 +00:00
thorpej
c1ee8f0a8c
Prepend `cpu_' to the machine-dependent atomic locking primitivies.
1999-07-27 21:45:39 +00:00
wrstuden
f3b3a1b98d
If we get into pcclose() without a defined tty, just exit rather than
...
dereferencing a null pointer.
1999-07-26 19:31:54 +00:00
cgd
f886376518
be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
...
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
ad
724365fa3e
Change the way fb devices are configured and attached:
...
- 'struct fbsoftc' created, which points to a 'struct fbinfo'
- 'struct fbinfo' for each device is allocated with fballoc()
This means:
- Console device doesn't get different 'struct fbinfo' at attach
- Console device doesn't get initialized twice
- Color rcons now works
- The current Xserver MUST BE REBUILT.
1999-07-25 22:50:28 +00:00
thorpej
e70f375122
Lock the proclist as appropriate.
1999-07-25 18:05:31 +00:00
explorer
4cbf118032
add a SHARK.v6, so the shark specific kernel can get v6, too
1999-07-23 22:45:23 +00:00
thorpej
40c08923a8
XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
...
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.
1999-07-22 21:11:26 +00:00
augustss
9e89bd8c34
The configuration and interface locators are pointless for the generic
...
USB device.
1999-07-22 09:35:06 +00:00
leo
416221c95b
Do the mesgbuf initialisation a bit earlier in the boot process. This
...
makes debugging the console somewhat easier.
1999-07-22 09:20:38 +00:00
tron
f808646713
Use wsmouse protocol for PS/2, Logitech bus and Microsoft InPort mice
...
by default. The X11 distribution included in our last release already
supports it and the wsmouse protocol can be used for any of the above
and for USB mice.
1999-07-21 20:28:45 +00:00
tsubai
07bc0e694d
media-bay CD support.
1999-07-21 19:20:04 +00:00
mrg
f484530816
do not "quote" SAMISCMAKEFLAGS values, it causes pain and suffering.
1999-07-21 13:34:34 +00:00
briggs
a33d38257c
Declare struct pmap kernel_pmap_store extern.
1999-07-21 03:18:21 +00:00
thorpej
befbb301fd
Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
...
method.
1999-07-20 23:07:12 +00:00
thorpej
eff41cf3b1
Implement cpu_wait(), and move the call to tss_free() from switch_exit()
...
to cpu_wait(); tss_free() may block, and thus requires a valid context.
1999-07-20 22:25:18 +00:00
tsubai
bfba58c1e1
grackle uses different I/O address.
1999-07-20 17:31:59 +00:00
dbj
15c0ebc780
fixed TAGS target for emacs style tags
1999-07-20 08:55:30 +00:00
christos
41cc9a0eb8
enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
...
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
simonb
988906cf52
Put tc_machdep.h back - the X server needs it to build.
1999-07-19 23:35:29 +00:00
scottr
ba0669d0b6
The Quadra 605 and LC 47x apparently share the same logic board,
...
and hence need the same video hack. From Ken'ichi Ishizaka.
1999-07-19 05:20:15 +00:00
eeh
5e22318a8d
More fun with pmap.
1999-07-18 23:55:57 +00:00
eeh
c6a358d0a8
Lower spl for softints.
1999-07-18 23:54:20 +00:00
eeh
27bc6dd353
Switch to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:52:58 +00:00
eeh
01474710ca
Switch over to NetBSD/sparc ELF for 32-bit userland.
1999-07-18 23:51:08 +00:00
chs
47602880d7
KNF.
1999-07-18 21:33:20 +00:00
tsubai
035071b460
Add VM_MAX_KERNEL_BUF definition.
1999-07-18 17:54:19 +00:00
tsubai
e9f1ccdcd1
Decrease default NKMEMCLUSTERS. (128MB -> 8MB)
1999-07-18 17:53:18 +00:00
abs
2ceba51630
Work with obj dirs (It seems that ${.CURDIR}/... is your friend).
...
If I _had_ to pick an arch on which to learn how this stuff works, it probably
would not have been vax... unless of course I was experimenting with time
compressing drugs. If we have a 1.4.2, this is definitely a candidate.
1999-07-18 05:55:45 +00:00
tron
a868069601
Add a few more CPU models as suggested by Scott Telford in PR i386/7048.
1999-07-17 00:42:20 +00:00
ad
fe6a4d8ffd
Remove 'already the console' check, which will be handled by fballoc(),
...
fbattach() and fbconnect() shortly.
1999-07-16 14:23:47 +00:00
drochner
7dab8cef61
fix logics in device recognition
1999-07-15 18:00:27 +00:00
leo
cf85212453
Make this compile again.
1999-07-15 10:46:58 +00:00
drochner
8137f06eac
recognize SIS 85C503 as PCI-ISA bridge, from Gregory McGarry per PR
...
port-i386/7972
1999-07-14 09:18:20 +00:00
tsubai
4aec314394
Add PowerBook LCD brightness and speaker volume button device.
...
Only brightness works for now.
1999-07-12 17:48:26 +00:00
tsubai
b7fc95a188
Add read/set LCD brightness and eject PCMCIA card function.
1999-07-12 15:54:55 +00:00
kleink
a963797502
Add eso(4) and the devices attached to it.
1999-07-12 15:16:23 +00:00
ross
4d11d63612
Fix off-by-one comparison.
1999-07-12 07:37:14 +00:00
ross
a8000e244c
New signature for console_restart().
1999-07-11 22:39:21 +00:00
ross
0f9e004fe3
Rewrite of console_restart() with constructed trapframe.
...
Extract various state elements from the per-cpu-slot in hwrpb.
1999-07-11 22:37:12 +00:00
ross
f9e083d969
* Set up a trapframe before calling console_restart(), and just pass it the
...
frame instead of a selection from the saved state.
* new macros: bfalse reg, dst /* "beq" */
btrue reg, dst /* "bne" */
1999-07-11 22:35:28 +00:00
ross
6eb6441a68
* Big rototill: cleanup, reorganize, redo some things...
...
* New features:
+ traceback for threads (i.e., pids): db>trace/t 0t<pid>
+ traceback over console restart (halt and SRM continue)
+ print ipl in trapframes when it's known and it changed
+ print emulation and system call entry name (!) if proc is known
--- syscall (240, netbsd.sys_nanosleep) ---
1999-07-11 22:28:15 +00:00
tsubai
a9cb7eabb2
One more pmap_extract() fix.
1999-07-11 17:47:21 +00:00
tsubai
183ef12cd5
Adapt pmap_extract() change.
1999-07-11 17:44:08 +00:00
tsubai
a192e5bd20
Enable soft poweroff on PowerBook.
1999-07-11 16:59:31 +00:00
tsubai
f2d2ad6b17
Cleanup.
1999-07-11 12:44:04 +00:00
kim
0dc60ae78c
Build bootblocks to always use COM0 for console.
1999-07-11 01:23:53 +00:00
kim
f93a90f888
Use same Makefile for biosboot_com0 too.
1999-07-11 01:22:45 +00:00
christos
0c2a15c04a
we don't need no-fpu; anyway this has been renamed in new version of egcs
1999-07-10 22:18:34 +00:00
ragge
73d339e9e8
Rewrite the page table entry routines. Don't take a pte invalid fault for
...
missing pte's, instead map in pte entries in pmap_enter(). The user ptes
is no more handled by the VM system. All this made swapping start working
on VAX again.
Still to do:
- Keep refcount per pte page, so that those pages get free'd when the
process is swapped out. Right now they are only free'd when the pmap
is destroyed.
Many thanks to Chuck Silvers for all help finding the deadlock problems.
1999-07-10 22:04:59 +00:00
ragge
e2a9d46897
After swapin of a process, restore the red zone in kernel stack at the
...
correct place.
1999-07-10 21:55:17 +00:00
itojun
f7bf9de42a
remove duplicated "files.crypto-intl" inclusion.
1999-07-09 20:14:26 +00:00
thorpej
72e0621cc8
Fix a typo.
1999-07-09 19:43:40 +00:00
thorpej
0945bf58b0
Add examples for including the kernel crypto bits from either crypto-us
...
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
mrg
ecdad0ec33
clean up a bit after jason :)
...
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
$INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.
this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
thorpej
b2781586c4
Normalize include paths.
1999-07-09 02:32:28 +00:00
thorpej
b0ea1d45ec
Fix a type problem.
1999-07-08 23:44:57 +00:00
thorpej
34a0f20633
Fix typo in previous.
1999-07-08 21:14:26 +00:00
thorpej
120a156ee4
Fix typos in previous.
1999-07-08 21:10:12 +00:00
thorpej
3ebbe095e0
Change the pmap_extract() interface to:
...
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
drochner
6211cd566c
fix creation of DOS / ROM images from ELF executables: use "objcopy"
1999-07-08 14:32:28 +00:00
tsubai
1f5ca17f49
Add one more bootdev check.
1999-07-08 12:28:06 +00:00
tsubai
ceed81ce5f
Forgot to add this...
1999-07-08 12:13:18 +00:00
tsubai
fcd9edb548
Don't make ECOFF kernel.
1999-07-08 11:53:35 +00:00
tsubai
7f688e8252
Add stand to SUBDIR.
1999-07-08 11:48:47 +00:00
tsubai
95faaaec9d
Add NetBSD/newsmips native boot loader.
1999-07-08 11:48:03 +00:00
tsubai
e1ef4ddcb5
Define ROM monitor interfaces.
1999-07-08 11:40:24 +00:00
danw
9d4f4eebdb
reorder the fp_rnd constants to match the values used by the
...
powerpc fpu
1999-07-07 01:52:26 +00:00
thorpej
c4d8d19db9
pseudo-device -> defpseudo, per grammar change in config(8).
1999-07-07 00:05:28 +00:00
thorpej
7b3258b6a7
Make the kthread API a bit more friendly to loadable kernel modules.
1999-07-06 21:44:09 +00:00
christos
2f1646ea98
Remove -DDEBUG
1999-07-06 14:37:05 +00:00
fvdl
a32341998c
Add COMPAT_AOUT to GENERIC
1999-07-05 22:40:34 +00:00
fvdl
b82e1a8b93
EXEC_ELF32 is standard now.
1999-07-05 09:14:09 +00:00
chs
eb770c7b7c
add "trace/t <pid>".
1999-07-04 06:45:26 +00:00
minoura
15a60b5359
Enable mboot.
1999-07-04 04:39:12 +00:00
minoura
208ba460f2
SCSI primary boot program and its installer.
1999-07-04 04:38:54 +00:00
tron
d2b6a2c28b
Optical cleanup in WSCONS configuration section.
1999-07-03 12:09:52 +00:00
dbj
fdba65aa8c
renamed splscc to splserial to match spl(9) man page
...
changed most of the spl* to use _splraise to match current usage
this fixes an observed bug where zstty_attach was calling splzs causing
interrupts to be turned on prematurely.
1999-07-03 08:22:53 +00:00
tv
80c284f9bb
-Wuninitialized is not used in the NetBSD tree, explicitly.
1999-07-02 20:55:19 +00:00
sakamoto
0ef2d3f6e2
MD defines for the MI loadfile.
1999-07-02 15:36:51 +00:00
sakamoto
f789d4809c
Fix arg of delay. int -> unsigned int
1999-07-02 15:33:36 +00:00
thorpej
14a2fa8169
Fix IPv6 software interrupt vector label.
1999-07-01 22:03:38 +00:00
thorpej
30f651d5b0
Const poison local printf prototype.
1999-07-01 20:46:42 +00:00
is
136b788b3d
Better align memory segment table.
1999-07-01 20:14:42 +00:00
thorpej
43e7ebad4c
Const poison local printf() prototype.
1999-07-01 20:11:39 +00:00
itojun
5effafcaa6
kernel configuration for IPv6/IPsec. should be in GENERIC in the future.
...
(source code will be committed soon)
1999-07-01 07:00:12 +00:00
ragge
1647688f0d
Use pmap_steal_memory() for early memory allocation.
1999-06-30 19:31:33 +00:00
ragge
8783dd4166
MSCP moved.
1999-06-30 18:48:06 +00:00
ragge
9c7dfb8eb4
Outdated; moved to another location.
1999-06-30 18:47:03 +00:00
ragge
996e5bf55a
Stop the network interface after kernel is loaded but before starting it.
...
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ragge
a406e5332c
Clean up the boot command selection a bit. Add a command "halt".
1999-06-30 18:33:33 +00:00
ragge
3b8e9ab16d
Support loading the kernel from ustarfs.
1999-06-30 18:30:42 +00:00
ragge
04620b62b5
Search for include files in new locations.
1999-06-30 18:19:26 +00:00
tsubai
654e155756
Display verbose messages about L2 cache.
1999-06-30 16:34:19 +00:00
drochner
33104934d9
update for new VME framework
1999-06-30 15:18:58 +00:00
nisimura
b57c6ad0bc
- _insque()/_remque() used by CODA.
1999-06-30 03:52:04 +00:00
ad
aa5b341705
Kill duplicate RCS ID line at top of file.
1999-06-29 21:00:27 +00:00
is
a183cb63ae
Fix horizontal timings for console mode (this helps, at least,
...
Lars Hecking).
1999-06-29 19:51:28 +00:00
ross
ced3118f58
* sprintf -> snprintf
...
* add a few alpha_mb() ops as called for by folklore and rumour
1999-06-29 17:10:57 +00:00
ross
cf1ca54803
Minor Tsunami-related changes.
1999-06-29 07:22:25 +00:00
ross
6068f64d34
* If the cpu_model string contains some form of MHz , don't print
...
the rpb field also.
* Add dot_conv(), hex format conversion for long hex digit strings.
1999-06-29 07:21:30 +00:00
ross
10f1f2d81f
Prototype dot_conv(), new routine in machdep.c that formats an alpha
...
long like this: e081.8000.8000.0004
1999-06-29 07:18:23 +00:00
ross
724273c3c0
System support for ev6 (21264) systems.
1999-06-29 07:08:53 +00:00
ross
b0947ec27d
Turn on EV6 bits: Tsunami and system type 6600.
1999-06-29 07:04:15 +00:00
ross
3714f3754f
Turn on dec_6600_init, "DEC_6600".
1999-06-29 06:50:41 +00:00
ross
0f707bdb06
Identify the various ev6 pass numbers.
...
Also print the raw pass number rpb value as, say, `21264-4', like SRM does.
1999-06-29 06:49:36 +00:00
ross
7a27e79bff
Support for EV6 Tsunami core logic and system type 6600.
...
This covers most or all of the presently-available 21264 systems.
1999-06-29 06:46:46 +00:00
briggs
819a054df2
Poll for serial interrupts. Return to 3000us delay instead of 4000us in init.
1999-06-29 04:45:59 +00:00
pk
3c6560a597
More ugly code to force early configuration of the sun4 on-board timer.
1999-06-28 22:40:15 +00:00
pk
61f60a2fbe
Allow SFILES to be empty; from Julian Coleman.
1999-06-28 21:03:23 +00:00
pk
bd0ac6506c
Prepare entry for `hme at sbus'; commented out until driver is finished.
1999-06-28 20:26:47 +00:00
pk
4fe4dae943
Ignore (but still generate a console warning) unhandled user-generated traps.
1999-06-28 15:51:26 +00:00
minoura
6895a21734
Correct imbalance #if.
1999-06-28 15:35:04 +00:00
pk
7c5f595062
mmu_pagein() prototype: change address argument to `vaddr_t'.
1999-06-28 14:44:57 +00:00
pk
5814a13657
mmu_pagein: refuse kernel space addresses here.
1999-06-28 14:41:43 +00:00
ragge
1e7b5cf8ae
Wrong definition of SID for MicroVAX I, from Brian Chase.
1999-06-28 13:13:53 +00:00
itojun
427639cdce
- Call ip6intr if INET6 is defined.
...
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
and conflicts with IPsec ESP header.
This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.
1999-06-28 08:20:40 +00:00
itojun
74d3c214ec
KAME/NetBSD 1.4 SNAP kit, dated 19990628.
...
NOTE: this branch (kame) is used just for refernce. this may not compile
due to multiple reasons.
1999-06-28 06:36:47 +00:00
briggs
79fe772f46
Include a bit more info about what's not happening with IOP.
1999-06-28 04:33:21 +00:00
briggs
598b09009b
Include resourcevar.h for p_limit/rlimit definition.
1999-06-28 04:21:15 +00:00
sakamoto
8b9b340040
remove display.h
1999-06-28 02:44:49 +00:00
sakamoto
0d8aecad83
Description of making bootable floppy disk for NetBSD/bebox.
1999-06-28 02:19:37 +00:00
briggs
71a4446b04
Unfortunately, several changes that are intermingled:
...
- Add initial IOP support. ADB doesn't work yet for me, but it's here so
that others will be encouraged to work on it. ADB_HW_IOP basically
is configured as a NOP so that serial consoles will continue to work.
- Roll via1_intr and via2_intr into the intr.c scheme--this also required
changing rtclock_intr to grovel the stack differently so that hardclock
gets the right arguments and softclock() doesn't get all reentrant.
- Make via1 interrupts parallel to via2 interrupts--handlers get a pass-
through pointer and we can register handlers. Register via1 interrupt
with intr_establish()--normally level 1, level 6 for A/UX scheme.
- Use intr_establish() to set real via2 interrupt handler instead of the
hacked function pointer.
- Reorganize adb-direct interrupts so that a function call is removed.
- Implement A/UX interrupts for all Quadras right now. We may need to
special case some Quadras, but Linux folks are reporting success on
several models.
- Fix intrnames to be accurate for the normal, PSC, and A/UX interrupt
configurations.
1999-06-28 01:56:55 +00:00
briggs
f9de07203c
Add some constants from Linux/mac68k to note SCC, floppy, and SCSI registers.
...
Add some code, inspired by Linux/mac68k, to shutdown all DMA on the PSC
at startup and to disable and clear all interrupts except the SCC.
1999-06-28 01:41:13 +00:00
sakamoto
d897c73dfc
correct tgets loop.
1999-06-28 01:35:11 +00:00
sakamoto
d32f22724c
Use loadfile.
...
KNF
b* -> mem*
1999-06-28 01:20:43 +00:00
sakamoto
a6ad37379e
Add elf2pef and mkbootimage.
1999-06-28 01:08:05 +00:00
sakamoto
70b8755876
Convert ELF image into PEF image.
...
some KNF
1999-06-28 01:03:55 +00:00
sakamoto
9b0b219ff6
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/pef.h,v
1999-06-28 00:56:31 +00:00
sakamoto
8ab4e1005a
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/pef.h,v
1999-06-28 00:56:30 +00:00
sakamoto
e6fae19e1f
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/magic.h,v
1999-06-28 00:56:03 +00:00
sakamoto
52fc791782
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/magic.h,v
1999-06-28 00:56:02 +00:00
sakamoto
f1be5c4181
Moved to /cvsroot/syssrc/sys/arch/bebox/stand/elf2pef/elf2pef.c,v
1999-06-28 00:51:11 +00:00
sakamoto
13ba815119
Moved from /cvsroot/syssrc/sys/arch/bebox/stand/boot/elf2pef.c,v
1999-06-28 00:51:10 +00:00
sakamoto
5b75eca570
mkbootimage makes bootable BeOS DR8 filesystem(a.k.a. obfs) image.
1999-06-28 00:35:22 +00:00
briggs
d6205b71c6
Undo some of my recent changes that were misguided.
1999-06-27 23:43:37 +00:00
christos
dfa695b9a7
Add missing phy's
1999-06-27 22:35:56 +00:00
christos
ce110dd283
Add missing phy's. Increase miniroot size
1999-06-27 22:35:43 +00:00
is
f4351f7b96
Don't even try to output to, scroll or clear the device if we are in graphics
...
mode. On this chip, we need to access some registers to set the text plane,
which messes up the graphics setup.
This should fix the grf3 problems reported by several people.
Michael Hitch and Joerg Lehners analyzed the problem and provided the fix.
1999-06-27 21:17:17 +00:00
christos
4440b677e2
add vr* at pci?, sort
1999-06-27 15:58:18 +00:00
minoura
1330797741
Restore scroll registers after X server exits.
1999-06-27 14:14:30 +00:00
minoura
c88662958f
include sys/resourcevar.h to be compiled.
1999-06-27 14:13:14 +00:00
cgd
8375a442f7
wildcard root spec, or MEMORY_DIS_IS_ROOT won't work right
1999-06-26 23:17:04 +00:00
mrg
7683f14172
enable xbox and ppp
1999-06-26 18:47:15 +00:00
briggs
eb7ff0a96f
Quadra 900/950 SCC-compatibility serial support is at an offset of 0x20
...
bytes from the base SCC address. With this change, serial console works
on my Q950 if the MacOS control panel is used.
1999-06-26 18:29:28 +00:00
simonb
29f88d843b
Since we know the start and end addresses of the symbol table, subtract
...
these and pass as the first parameter of ddb_init(). We used to pass
the contents of the start of the symbol table cast to an int, which for
an ELF kernel is "0x7f ELF" - not quite the symbol table size! How this
used to ever work I dunno...
1999-06-26 17:03:48 +00:00