kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
jdolecek
7f589dba84
rename the MD Debugger() to cpu_Debugger()
...
add MI Debugger() which switches to console if wscons is used prior
to calling cpu_Debugger()
1999-10-12 17:08:56 +00:00
sato
6afd48d017
fix typo about checking RB_POWERDOWN.
1999-10-07 22:15:22 +00:00
hubertf
467dda98ab
Sync usage with the manpage (add -s)
1999-10-05 03:18:32 +00:00
ross
b18cdd3e4e
Add transition-flag -S, to regenerate alpha/sparc harmonized checksums.
1999-10-04 21:22:15 +00:00
ross
9648d2fcd6
Merge from my i386 source tree: make this build on i386 (and others)
1999-10-04 19:23:19 +00:00
ross
722e1970eb
Completely replace the logic used for sparc/alpha checksum harmonization.
1999-10-04 19:19:11 +00:00
nisimura
7fbac8b3cc
- Remove defunct codes and arrange consistency between pmax and alpha.
...
- Reduce 'ioasic_base' expose.
1999-10-01 09:19:42 +00:00
kleink
7732d7348e
Add missing sv(4).
1999-09-29 10:46:03 +00:00
kleink
9daa657fd9
Add eso(4).
1999-09-29 10:43:14 +00:00
ad
80aa2508fc
Entries for dpt(4).
1999-09-28 23:43:07 +00:00
mhitch
fd6f19b057
Correct the clock speed setting: the GPI2 bit is only for the Alpha baseboard
...
TCDS; the TC option card has it's own clock.
Also don't use the TCDSF_FASTSCSI flag to clear fast mode - just rely on the
PROM environment.
1999-09-22 03:32:42 +00:00
mhitch
ba734be86b
Use the correct definition for the Fast Clock bit in cfg3, and set the
...
Fast SCSI bit used by the 53C9x chips.
1999-09-22 03:32:26 +00:00
ross
add81fb25a
New -s option. Arranges for the 64-bit alpha checksum to contain within it
...
an embedded 16-bit sparc checksum and 16-bit sparc magic number.
See also: rev 1.16
1999-09-19 04:54:57 +00:00
ross
9ff31ad0f5
New option: -s
...
.
Makes the 64-bit alpha checksum magically contain an embedded 16-bit
Sun (NetBSD/sparc) compatible magic number and checksum. This is the
last piece in the "boot one disk from alpha, sun, and i386" problem.
.
And for those who told me this had been done before, :-P. It turns out,
it was only done in the collective sense by multi-disk distributions.
1999-09-19 03:19:00 +00:00
thorpej
11cae42531
Centralize the declaration and clearing of `cold'.
1999-09-17 19:59:35 +00:00
thorpej
3b01d1b872
Rename the machine-dependent autoconfiguration entry point `cpu_configure()',
...
and rename config_init() to configure() and call cpu_configure() from there.
1999-09-15 18:10:33 +00:00
chs
f3a668ed84
eliminate the PMAP_NEW option by making it required for all ports.
...
ports which previously had no support for PMAP_NEW now implement
the pmap_k* interfaces as wrappers around the non-k versions.
1999-09-12 01:16:55 +00:00
ross
f468c5f199
This is required by libsa/loadfile.c.
1999-09-10 07:33:57 +00:00
ross
e66e48676c
Nuke the alpha ecoff/elf bootloader and use the libsa/ one instead.
1999-09-10 07:31:16 +00:00
augustss
14b98cd440
Add uaudio driver.
1999-09-09 12:33:43 +00:00
sommerfeld
745de28592
Patch time_precision so we report a realistic NTP "precision" value to userland.
1999-09-06 21:54:17 +00:00
ross
dc7ca6a110
Don't get confused when pci function != 0.
1999-09-02 22:04:41 +00:00
sommerfeld
0ec90c839f
resync supported mii phy's with GENERIC
1999-09-01 03:10:04 +00:00
thorpej
b99d7572d6
Add some missing usb glue.
1999-09-01 00:05:01 +00:00
thorpej
c068ef8152
Add `umass'.
1999-08-29 16:55:48 +00:00
ross
52a638cbe3
Fix minor type () bug. Fall thru correctly when the minor type is not known.
1999-08-23 22:29:41 +00:00
simonb
3c185af5fd
Include <sys/endian.h> after defining whether where are little- or
...
big-endian. i386, pc532 and vax still include <machine/byte_swap.h>
and define macros for the {n,h}to{h,n}*() functions. mips also
defines some endian-independent assembly-code aliases for unaligned
memory accesses.
1999-08-21 05:53:50 +00:00
simonb
06a92524c2
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
...
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
mjacob
9ed023d94e
remove LIMITMEM code because it does not work anyway anymore
1999-08-19 21:31:43 +00:00
cgd
b18820272a
add bootxx_lfs
1999-08-18 21:34:24 +00:00
cgd
a97b5505e4
add lfs support
1999-08-18 21:34:11 +00:00
cgd
82729b7302
add a makefile for an LFS primary
1999-08-18 20:02:39 +00:00
cgd
30d5d8a1e3
mention that putstr.c and putulong.c might want to be included when debugging
1999-08-18 20:01:06 +00:00
cgd
b28ae57077
add a gross putulong() function which can be useful for debugging.
...
It's not normally included.
1999-08-18 20:00:27 +00:00
thorpej
0f7db9c21c
Now that we have read/write spin locks, use them for the pmap_main_lock.
1999-08-17 18:48:22 +00:00
augustss
db574ba708
Add umodem device.
1999-08-16 22:27:08 +00:00
thorpej
95755c54bb
Pull in <machine/alpha_cpu.h>.
1999-08-16 06:24:07 +00:00
simonb
299578ebd5
Spell "privilege" correctly (correct spelling from Jonathan Stone).
1999-08-16 02:59:22 +00:00
thorpej
f06d918d30
Protect userland from the vast majority of this file.
1999-08-15 18:32:51 +00:00
ross
4ed22602e7
In pmap_page_protect(), don't (try to) use the pv_entry_t we just
...
freed in order to find the pmap to unlock.
1999-08-14 06:19:49 +00:00
thorpej
6be04b7f5c
Move cpu_info and related info into <machine/cpu.h>, and implement the
...
other MP API components discussed on tech-smp.
1999-08-10 23:35:43 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
b701be7c86
Use atomic operations to manipulate the SSIR, and fix a problem introduced
...
with the spllowersoftclock() changes where more interrupts than necessary
were blocked while software interrupts were being processed.
1999-08-10 18:53:03 +00:00
ross
70fad30289
In the kludges-on-top-of-kludges dept, print SWITCHING TO SERIAL CONSOLE
...
(but iff we started on the framebuffer) so the would-be installer doesn't
think everything just locked up.
1999-08-08 01:44:57 +00:00
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
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
thorpej
333c98b6e2
Add the AdvanSys SCSI boards.
1999-08-07 07:40:40 +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
jdolecek
836c862c38
add file-system NTFS, commented out and marked as experimental
1999-08-05 15:51:36 +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
nisimura
50eca69f4e
- A minimal patch work to make TCWSCONS useful with sfb/zskbd.
1999-08-03 05:30:56 +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
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
thorpej
0f0a99bb48
Make sure that pmap == pmap_kernel() when skipping pager mappings.
1999-07-28 23:23:46 +00:00
thorpej
c1ee8f0a8c
Prepend `cpu_' to the machine-dependent atomic locking primitivies.
1999-07-27 21:45:39 +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
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
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
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
thorpej
7b3258b6a7
Make the kthread API a bit more friendly to loadable kernel modules.
1999-07-06 21:44:09 +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
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
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
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
christos
4440b677e2
add vr* at pci?, sort
1999-06-27 15:58:18 +00:00
thorpej
c52d839a6e
Nuke some code ripe for garbage-collection.
1999-06-26 03:15:54 +00:00
thorpej
43ddb951ea
Whitespace police.
1999-06-18 18:11:56 +00:00
thorpej
471cb34fb2
Fix a harmless typo.
1999-06-18 18:08:52 +00:00
cgd
7c02d93c04
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
...
I'll do what I can to make new ones soon. 8-)
1999-06-18 04:49:24 +00:00
thorpej
0288ffb53a
pmap_change_wiring() -> pmap_unwire().
1999-06-17 19:23:20 +00:00
thorpej
f5a527bb4e
Remove pmap_pageable(); no pmap implements it, and it is not really useful,
...
because pmap_enter()/pmap_change_wiring() (soon to be pmap_unwire())
communicate the information in greater detail.
1999-06-17 18:21:21 +00:00
cgd
e33c6c47a2
set bb_flags to zero; who knows what they were (on disk) previously,
...
and SRM is finicky about what values it will allow.
1999-06-14 23:55:29 +00:00
cgd
b6e1d0f85a
set bb_flags to 0. Though not strictly necessary (because of an earlier
...
memset()), this is nice for source-level consistency.
1999-06-14 23:52:25 +00:00
thorpej
2c35c7bd03
Only declare block major numbers for devices which can be the root device.
1999-06-07 20:31:27 +00:00
thorpej
d76e7b8c6d
Don't pass a nam2blk around at all; just have setroot() and friends reference
...
dev_name2blk[] directly. Addresses PR #7622 (ITOH Yasufumi), although
in a different way.
1999-06-07 20:16:08 +00:00
dante
a775803f91
Add adv* entry under ISA devices
1999-06-06 17:57:23 +00:00
ross
a1c15a355d
In PMAP_ISACTIVE(), check curproc->p_vmspace before using it; this macro
...
is called early in startup, long before p_vmspace is set to &vmspace0.
1999-05-31 20:49:00 +00:00
ross
4313734913
After some banging and bashing, commit Jason's new ddb traceback code.
1999-05-31 20:42:15 +00:00
ross
604d4df11e
Convert to traceback-friendly temporary labels.
1999-05-31 20:40:23 +00:00
ross
ffc59b8bad
Be less drastic when running strip(1) on DEBUG=-g kernels.
1999-05-31 18:54:49 +00:00
ross
6b3d12f44a
Calculate what sp would have been and save it in otherwise-unused
...
FRAME_SP slot if entering ddb.
1999-05-31 06:41:39 +00:00
ross
d3df2008f1
Fix generation of locore.s dependencies.
1999-05-31 02:46:17 +00:00
thorpej
a2d06a4721
Generally update the comment above the vmapbuf() implementations.
1999-05-26 22:07:36 +00:00
thorpej
2580d306ab
Change the vm_map's "entries_pageable" member to a r/o flags member, which
...
has PAGEABLE and INTRSAFE flags. PAGEABLE now really means "pageable",
not "allocate vm_map_entry's from non-static pool", so update all map
creations to reflect that. INTRSAFE maps are maps that are used in
interrupt context (e.g. kmem_map, mb_map), and thus use the static
map entry pool (XXX as does kernel_map, for now). This will eventually
change now these maps are locked, as well.
1999-05-26 19:16:28 +00:00
cgd
5dd4815be9
uh, get the port name consistently correct (NetBSD/alpha, not NetBSD/Alpha)
1999-05-26 06:22:03 +00:00
thorpej
32de988d29
No longer need to pmap_emulate_reference() in cpu_fork() or cpu_swapin(),
...
since uvm_fault_wire() does the right thing with access_type.
1999-05-26 00:37:40 +00:00
thorpej
5832084eaf
bus_dmamem_map() maps DMA safe memory, which is usually one or more
...
managed pages, into KVA space. Since the pages are managed, we should
use pmap_enter(), not pmap_kenter_pa().
Also, when entering the mappings, enter with an access_type of
VM_PROT_READ | VM_PROT_WRITE. We do this for a couple of reasons:
(1) On systems that have H/W mod/ref attributes, the hardware
may not be able to track mod/ref done by a bus master.
(2) On systems that have to do mod/ref emulation, this prevents
a mod/ref page fault from potentially happening while in an
interrupt context, which can be problematic.
This latter change is fairly important if we ever want to be able to
transfer DMA-safe memory pages to anonymous memory objects; we will need
to know that the pages are modified, or else data could be lost!
Note that while the pages are unowned (i.e. "just DMA-safe memory pages"),
they won't consume any swap resources, as the mappings are wired, and
the pages aren't on the active or inactive queues.
1999-05-25 23:14:03 +00:00
thorpej
986c3eca39
Fix some major locking protocol issues related to pmap_kremove() having
...
to deal with PG_PVLIST mappings; it no longer has to. Add some DIAGNOSTIC
checks for inconsistent use of pmap_enter/pmap_kremove.
1999-05-25 20:32:29 +00:00
thorpej
5dec34efed
The kernel pmap can be accessed (and locked!) while in an interrupt
...
context, so we must block interrupts which may cause memory allocation
before asserting the kernel pmap's lock. Put this all in PMAP_LOCK()
and PMAP_UNLOCK() macros to make it easier.
1999-05-24 20:11:58 +00:00
thorpej
8c2d5c6fd3
Let the caller decide what to do if pmap_physpage_alloc() fails.
1999-05-24 01:35:54 +00:00
thorpej
c1eb28c237
Make the list of all pmaps LRU-ordered, and update a comment regarding
...
locking.
1999-05-23 22:37:02 +00:00
thorpej
2102d5a17e
Save ourselves some work in some pv list traversal functions; keep a pointer
...
to the PTE that maps the page in the pv_entry so that we don't have to
compute it from the pmap/va.
1999-05-23 17:49:07 +00:00
thorpej
5d48eed96a
Implement pv_entry stealing for the case when a pool page cannot be
...
allocated for one.
1999-05-23 16:54:43 +00:00
thorpej
66324de865
Use the pool allocator for pv_entry structures. Set a (patchable/config'able)
...
low water mark on the pool, so we have some chance of crawling along in
extreme memory shortages.
1999-05-21 23:07:59 +00:00
thorpej
a07ba7d1c1
Update the calls to allocsys().
1999-05-21 00:09:09 +00:00
lukem
e4a87aa1a9
* convert to using MI allocsys(). most ports were using an MD allocsys(),
...
although a couple still used the old pre-4.4-lite (?) mechanism.
* use format_bytes() to format the various printf()s that print out memory sizes
1999-05-20 08:21:42 +00:00
thorpej
f98d358a1f
Rework layer 2 protocol input routines. Instead of calling e.g. ether_input()
...
directly, call the function pointer (*if_input)(ifp, m). The input routine
expects the packet header to be at the head of the packet, and will adjust
as necessary. Privatize the layer 2 input and output routines, allowing
*_ifattach() to set them up as appropriate.
1999-05-18 23:52:51 +00:00
thorpej
9410ed17c1
Count new resident and wired pages in pmap_kenter*().
1999-05-17 16:22:57 +00:00
thorpej
7e68ddd393
Update the comments above vmapbuf() and vunmapbuf() to reflect reality.
1999-05-16 22:24:16 +00:00
thorpej
c10a926030
Allow the caller to specify a stack for the child process. If NULL,
...
the child inherits the stack pointer from the parent (traditional
behavior). Like the signal stack, the stack area is secified as
a low address and a size; machine-dependent code accounts for stack
direction.
This is required for clone(2).
1999-05-13 21:58:32 +00:00
cgd
e9da918f1b
add some more bits, mostly stubs
1999-05-11 00:04:52 +00:00
cgd
b0f5f854e4
have to take care to have a valid SP value in the unaligned fixup and
...
opdec (emulation) handlers.
1999-05-10 01:27:28 +00:00
cgd
9b9842a28b
handle unaligned ldwu/stw instructions. While there, fix a bug in the
...
unaligned access handler and clean it up some. Add support for emulating
the BWX instructions (ld{b,w}u, st{b,w}, sext{b,w}), which user software
can expect to be emulated. (Thanks, Alpha Architecture!)
1999-05-09 19:43:58 +00:00
cgd
75f1157922
convert to DEC-style register names (but not yet done for
...
the internal PALcode instruction format structure).
1999-05-09 19:40:00 +00:00
cgd
79c181f2e2
convert to DEC-style register names.
1999-05-09 19:39:13 +00:00
cgd
c8cf931f56
convert to DEC-style register names. the attempt to use function-based
...
register names was confusing, and could not _be_ correct in some cases.
Also, add a couple of 'generic' instruction formats which should be used
when decoding instructions before the specific format is known.
1999-05-09 19:38:59 +00:00
drochner
fe310dd299
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
1999-05-07 16:19:27 +00:00
christos
c596c324e3
Define __builtin_*() for lint
1999-05-03 16:30:31 +00:00
cgd
34fde29505
update comment re: COMPAT_OSF1
1999-04-30 23:34:08 +00:00
cgd
f6b3b14ce3
enable COMPAT_OSF1
1999-04-30 23:33:41 +00:00
cgd
ff48595e8b
processes would have vm->vm_ssize screwed up when they faulted
...
data regions higher than USRSTACK.
1999-04-30 20:21:57 +00:00
cgd
1a3537df95
OSF/1 locore-ish bits. right now just sigcode
1999-04-30 05:58:10 +00:00
cgd
04f53f0b03
gross hack for SIGFPE under OSF/1, until ross makes SW completion go
1999-04-30 05:47:53 +00:00
ross
c5a82dd848
* New MI man page for fp{set,get}{round,sticky,mask}(3).
...
* Implement fpgetsticky() for alpha.
* Direct fpsetsticky() and fp{get,set}mask() into alpha kernel via sysarch(2).
* Define new sysarch(2) stub for above and install and distribute sysarch.h
for alpha. (The fpcr IS user mode r/w, but for reasons beyond the scope
of a commit message kernel calls are needed.) And much kernel Magick is
required before these do anything, but this way programs compiled under
1.4 will DTRT on future snapshots and releases.
1999-04-30 00:58:30 +00:00
ross
7288a55336
Use a different initial FPCR, mainly to suppress the ieee inexact trap.
1999-04-29 03:02:20 +00:00
ross
0847df9065
#ifdef _KERNEL, define the machine FPCR bits and a rounding mode macro
1999-04-29 02:55:50 +00:00
ross
aa1e5724b9
WSEMUL_SUN -> WSEMUL_VT100
1999-04-29 01:28:40 +00:00
cgd
7b8e7abdd6
use osf1_exec_ecoff_hook()
1999-04-27 02:33:35 +00:00
cgd
6f2f5becb6
Alpha ECOFF object type definitions
1999-04-27 02:32:33 +00:00
ross
f868468aaa
Never used, and work-in-progress uses a different header.
1999-04-25 20:15:06 +00:00
simonb
5d8b1ef3e4
g/c REAL_CLISTS.
1999-04-25 02:56:26 +00:00
ross
28ef22871e
Copy isdn4bsd cdevsw hooks from i386 conf.c.
1999-04-24 17:01:15 +00:00
cgd
575e9f8dfd
support emulation-specified errno mapping tables
1999-04-23 05:43:02 +00:00
ross
be000bc016
Revert 1/2 of previous change. INSECURE is still OK for alpha.
1999-04-20 21:43:03 +00:00
thorpej
f7b0fea081
After reviewing the Green Book, BPT traps do indeed leave the PC pointing
...
to the instruction _after_ the `call_pal bpt' instruction.
1999-04-20 21:30:15 +00:00
thorpej
375b3fa699
Prototype alpha_debug(), and add some definitions for KGDB.
1999-04-20 21:23:56 +00:00
thorpej
62d09f4f93
Move the inclusion of <machine/bus.h> to within a _KERNEL section.
1999-04-20 21:23:09 +00:00
thorpej
869951571d
- Clean up ddb_trap() somewhat, and handle exceptions that happen while we're
...
in DDB (e.g. if a bad pointer was dereferenced; the debugger will recover).
- Change a comment to indicate that we are on the debugger stack when we get
to ddb_trap().
- Fix possible buglet in computation of the branch target in db_branch_taken().
1999-04-20 21:19:48 +00:00
thorpej
701edb8db8
- Revert previous, and do debugger entry if kernel BUGCHK or BPT traps
...
happen. If the debugger doesn't handle the trap, arrange things so the
debugger won't be called again before we panic.
- Before panic'ing, give the debugger a chance to field the trap, and
if the debugger has handled things, allow the kernel to continue running,
like the i386 port does.
1999-04-20 21:16:59 +00:00
thorpej
a12dedc3ea
- Revert previous change to XentIF(), now that we're going to enter the
...
debugger differently.
- Pull in debugger glue if DDB is configured.
And one unrelated change, while I was here: Don't create a fake trapframe
for main(); it hasn't been used by main() for quite some time, and panic
if main() returns, because that's not supposed to happen now.
1999-04-20 21:11:59 +00:00
thorpej
1b2eac076f
Add a common debugger entry point, alpha_debug(), which performs various
...
tasks (i.e. switches to the debug stack) and then invokes the appropriate
debugger (DDB or eventually KGDB).
1999-04-20 21:09:49 +00:00
thorpej
9d78593b30
Back out previous; we're going to dispatch to the debugger differently.
1999-04-20 21:08:23 +00:00