Commit Graph

6706 Commits

Author SHA1 Message Date
jmcneill 109219993b Fixup ACPI wakecode on i386. This (along with some PCI power management
hooks) allows my Latitude D600 to recover from S3 sleep.

acpi_wakeup.c changes from lha@:
  http://people.su.se/~lha/patches/netbsd/acpi-wakeup-1
2005-01-26 21:46:38 +00:00
joff 1cd0ad9aff Add atu(4) 802.11b USB driver 2005-01-24 03:02:45 +00:00
drochner fb26d6a978 restrict visibility of struct sigcontext* as much
as possible; include the needed opt_compat_*.h for
kernel code
2005-01-20 20:55:55 +00:00
scw 9a196509a4 Add "options PMS_SYNAPTICS_TOUCHPAD", commented out in all but GENERIC_LAPTOP. 2005-01-18 10:28:00 +00:00
dsl 02a6e19ef1 Fix comment, code is requesting CHS geometry, not max LBA sector 2005-01-17 21:28:51 +00:00
cube ec53a61e98 Add tap(4) support to a random^Wcarefully chosen set of kernel configs.
All those kernels have a line for both tun and bridge, and if either is
commented out, tap is commented out also.  With the exception of i386's
GENERIC_TINY.

XXX:  we _need_ some way of making this more simple.
2005-01-17 15:28:51 +00:00
drochner 9f4d33cf9a On my laptop, the SMI handler for the TCO interrupt appearently
re-tickles the watchdog, keeping the system from rebooting.
So enable the SMI for TCO only if the hardware reset is not available,
as a last resort.
2005-01-12 17:45:58 +00:00
reinoud 9695bde219 Add auixp(4) driver for the architectures that are known to have the ATI
IXP chipset.
2005-01-12 00:18:16 +00:00
skrll e2b108cb16 Add iwi(4). 2005-01-11 18:41:59 +00:00
mycroft 87e784e1de Now that countless UVM bugs have been fixed, enable "topdown" memory
allocation by default.
2005-01-10 05:34:51 +00:00
perry 0d3f1b36a7 space-then-tab ixpide so it comments out nicely. 2005-01-07 01:31:14 +00:00
yamt 1207308b90 for in-kernel maps,
- allocate kva for vm_map_entry from the map itsself and
  remove the static limit, MAX_KMAPENT.
- keep merged entries for later splitting to fix allocate-to-free problem.
  PR/24039.
2005-01-01 21:00:06 +00:00
christos 2c2559cb73 PR/28773: Takahiro Kambe: Support for newer cpu's in enhanced speedstep 2004-12-24 17:37:43 +00:00
cube 99b014db5e Add ixpide(4). 2004-12-06 19:28:12 +00:00
xtraeme 76025558e1 Add ACPI joy(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed and ok'ed by cube@ and martin@.
2004-12-02 14:33:31 +00:00
xtraeme 347378fc9f Add ACPI mpu(4) attachment, based on lpt_acpi.c by jmcneill@,
reviewed by christos@, cube@ and martin@.

While here, remove a printf() in mpu_attach() (ic/mpu.c) to remove
an empty line in some frontends (mpu_isa.c, etc).
2004-12-02 09:50:41 +00:00
grant 9204390fe4 add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.
2004-12-01 22:27:45 +00:00
kim d62a9fc15a Whitespace police. 2004-11-25 16:13:34 +00:00
christos aae3f73769 include sys/types.h to make this compile again. 2004-11-25 08:30:52 +00:00
bouyer fe4d81db48 pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).
2004-11-24 20:49:17 +00:00
augustss a66509ebd5 Some more Sharp MM20 fixup code that I forgot to commit in the first round. 2004-11-21 22:00:00 +00:00
christos 30fc143afa Add COMPAT_BSDPTY to the rest of the config files. 2004-11-10 17:54:02 +00:00
christos eec07087aa Add COMPAT_BSDPTY on all the kernels that have COMPAT options. 2004-11-10 17:25:21 +00:00
wiz 9589a2f43c Grammar fix in comment. 2004-11-01 23:20:42 +00:00
perry acd0ac9fc4 replace a tab with a space so commenting out auacer is more
aesthetically acceptable.
2004-10-26 19:52:23 +00:00
hannken 12c30b8690 Add speedstep support for Dothan processors.
From Steven J. Dovich via PR#26342.

Tested on "Intel(R) Pentium(R) M processor 1.60GHz".
2004-10-25 15:42:24 +00:00
yamt fa29ea9740 to determine if an interrupt needs to grab the kernel lock or not,
check interrupt's own ipl rather than cpu's current ipl.
2004-10-23 21:24:05 +00:00
thorpej 0798da74ba Add support for passing booted wedge information to the kernel. 2004-10-23 17:20:04 +00:00
augustss 0c21c79cc5 s/uax/axe/ 2004-10-23 14:00:50 +00:00
augustss c29a55f981 Add cdce(4). 2004-10-22 13:10:20 +00:00
augustss e93cdd6905 Add a gross hack to route the ECHI interrupt on the Sharp MM20.
You can read the long and sad story about the BIOS in a comment.
2004-10-21 17:12:41 +00:00
thorpej 42b8fac3b8 Move boot device detection code from i386 and amd64 ports to x86_autoconf.c.
Rename i386_alldisks and x86_64_alldisks to x86_alldisks, adjust other
references to compensate.
2004-10-20 04:20:05 +00:00
lukem 58e9698928 enable ipw* (Intel PRO/Wireless 2100). (requested by hubertf) 2004-10-19 05:44:25 +00:00
thorpej 32ca684d72 match_harddisk(): Open RAW_PART, not the booted partition; we're
only performing the ioctl to fetch the disklabel.
2004-10-15 06:18:47 +00:00
augustss 8ada967637 Add auacer. 2004-10-10 16:39:36 +00:00
yamt 6b5cc3859a pmap_pageidlezero: use sse2 non-temporal store insn if available
to avoid undesired cache pollution.
2004-10-10 09:55:24 +00:00
yamt 61c1570d03 pmap_pageidlezero: update a function name in a panic message. 2004-10-10 09:54:46 +00:00
yamt a0fe4d1b0a remove a stale comment. 2004-10-10 09:53:59 +00:00
yamt 8e520446c5 pmap_zero_page, pmap_copy_page, pmap_pageidlezero:
preset PG_M and PG_U where appropriate to eliminate pte writebacks.
from freebsd.
2004-10-10 09:53:23 +00:00
yamt 83d9ffa7e6 pmap_enter, pmap_clear_attrs: minor optimizations. 2004-10-10 09:52:29 +00:00
yamt 048b624802 make l_holdcnt assertions more verbose. 2004-09-30 21:32:27 +00:00
yamt d2fe4b34bb move some per-cpu data definitions to MI place so that they can be modified
without touching all ports.  discussed on tech-kern@.
2004-09-22 11:32:02 +00:00
itohy 829103b30f Make it work again.
Hi, drochner!
2004-09-17 23:59:33 +00:00
skrll f7155e40f6 There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
thorpej 64c6842169 The pss driver has a comment at the top saying that it won't
even compile, so don't bother trying.
2004-09-15 15:54:23 +00:00
drochner 1134c44162 adapt to ISA "unknown address" namespace separation 2004-09-14 20:25:05 +00:00
jdolecek 3ea04717bf do not include "compat/aout/files.aout", COMPAT_AOUT is soon to be removed 2004-09-14 16:51:57 +00:00
drochner a02e2488a0 autoconf cleanup: turn xxxsubmatch() functions into the locator
passing variants
2004-09-13 14:57:31 +00:00
jdolecek 8c73815634 remove the commented COMPAT_AOUT - it's not present in the other
kernel configs neither
2004-09-12 12:49:22 +00:00
dsl 4b313d03d3 Need %ah == 0 (not 0xff) in order to find the correct partition table entry
when simulating a key press in the non-interactive mbr code.
Fixes bug introduced in rev 1.10 - older versions worked because %ah
happened to be 0!
Fixes PR bin/26919
2004-09-12 08:41:47 +00:00
jmmv 5a9d24809c Set valid values for the (commented out) WS_DEFAULT_COLATTR and
WS_DEFAULT_MONOATTR options.  This way, if a user blindly uncomments
them, he will not get a build failure.  Addresses PR kern/26503.
2004-09-08 11:38:22 +00:00
thorpej 9946bbdb7a Use CPUFLAGS for codegen options. 2004-09-06 23:41:21 +00:00
dsl 4a83eca5d5 Save 2 more bytes (by adjusting the ERR_NO_LBA setup).
Use up all the space by adding a short banner message.
'Fn diskn' for bootsel and 'NetBSB MBR boot' for the non-bootsel code.
2004-09-05 21:42:43 +00:00
manu 6e3c639957 IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on
tech-net@
2004-09-04 23:29:44 +00:00
thorpej e489b76d88 More complete fix for overriding CPUFLAGS and also apply fix to bootxx,
from Valeriy Ushakov.
2004-09-03 21:55:17 +00:00
thorpej f340ce91f0 Override CPUFLAGS to empty so that a CPUFLAGS setting in the user's
mk.conf don't affect the C options we need to build the boot loader.
2004-09-03 18:25:04 +00:00
dsl ab6077db18 Remove the functionality added in rev 1.7.
With no menu items the mbr_bootsel code will wait for the timeout (default
10 seconds) and then boot the default device - usually the active partition.
Forcing the 'active' partition was wrong - jmmv has a system which needs
to boot from hd1 where hd0 has no mbr partition info.
I suspect the problem I though rev 1.7 fixed was actually caused by
disklabel copying sector zero of the disk to sector zero of the partition!
Gains another 9 bytes of free space, mbr_bootsel now has 20 free bytes.
2004-09-01 20:31:20 +00:00
uwe af4511cccc Force STRIPFLAG to be empty after bsd.own.mk is included, so that
any value set in /etc/mk.conf is overriden.
2004-08-31 22:57:13 +00:00
drochner 070747cba1 remove the (superfluous) definition of "cpu" as an interface attribute 2004-08-30 15:35:20 +00:00
drochner 46289e1fef Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.
2004-08-30 15:05:15 +00:00
thorpej 6c08646cb8 Garbage-collect pagemove(); nothing use it anymore (YAY!!!) 2004-08-28 22:12:40 +00:00
jdolecek 64969161df use uvm_grow() to update stack segment size on stack page fault instead
of MD code
2004-08-28 17:53:00 +00:00
thorpej 523f87a2ce PTDpaddr -> PDPpaddr 2004-08-27 03:51:34 +00:00
itohy 318777e22f Add njs to some generic config files (I tested on i386 and sparc64). 2004-08-26 14:33:01 +00:00
junyoung 581cbf8089 As suggested on tech-kern@ days ago:
* Get rid of PTmap, PTD, PTDpde, APTmap, APTD, and APTDpde from locore.S.
* Rename PTDpaddr to PDPpaddr, ptdpaddr in struct cpu_kcore_hdr to pdppaddr for consistency.
2004-08-26 10:12:33 +00:00
lukem a3135cf216 enable ipw* (Intel PRO/Wireless 2100) 2004-08-23 14:04:45 +00:00
junyoung b13abba3f6 Include libi386.h for function prototypes. 2004-08-23 09:45:53 +00:00
junyoung 26231e86a1 * Nuke __P().
* No need to use 'extern' for function prototypes.
2004-08-23 09:41:59 +00:00
dsl 3a67f25b17 Use := when saving ${.OBJDIR) - then we get the correct value! 2004-08-23 06:54:04 +00:00
dsl c48b68dc4d Need to use := when evaluating ${.OBJDIR}, then the correct value
is passed into the subdir builds and the 'lib' objects are correctly shared.
Fixes PR/26554
2004-08-23 06:52:04 +00:00
dsl 5084a397e4 Increase space for boot parameters - needed for specifying serial port
IO address and long keyboard translation map.
2004-08-23 06:50:21 +00:00
junyoung 938fe5a686 Remove trailing spaces. 2004-08-22 06:46:34 +00:00
junyoung 905834c2fb Fix various typos in comments including ones that weren't noticed
for years.
2004-08-22 05:36:42 +00:00
nathanw 8b1b7c1c67 Check DDB before KGDB; if both are enabled, it's more useful to go to
DDB, because you can get to KGDB from there, but not the other way
around.
2004-08-20 21:38:35 +00:00
nathanw 584b896885 Nothing's wrong with having DDB and KGDB in the same kernel. 2004-08-20 21:33:57 +00:00
thorpej 9cc521a148 Move most of wdc_softc into a new atac_softc structure that contains
info common to all types of ATA controllers.
2004-08-20 06:39:37 +00:00
thorpej 1600c8b8cd - Add and use a CHAN_TO_WDC() macro to get the wdc_softc from an
ata_channel.
- Add and use a CHAN_TO_WDC_REGS() macro to get the wdc_regs from an
  ata_channel.
- Add and use a CHAN_TO_PCIIDE() macro to get the pciide_softc from an
  ata_channel.
- Add and use a CHAN_TO_PCHAN() macro to get the pciide_channel from an
  ata_channel.  (This one just hides a cast, and is really just for
  consistency with the others.)
2004-08-19 23:25:35 +00:00
junyoung 3d45791c36 Rename bootparams to boot_params for consistency. 2004-08-19 10:34:36 +00:00
dsl 523a1fe90e Define CONSADDR for pcio.c (continuing the same hack use for the other
parameters).
2004-08-15 22:10:50 +00:00
dsl c1eeebc3dd Allow the com port base address to be specified by the user (via installboot)
rather than taking the value from the bios.
Should allow the system to use a serial console that is also a 'bios serial
console' and isn't in the bios serial port table.
Probably fixes (with a few other changes) PR port-i386/9236
2004-08-15 22:04:45 +00:00
dsl c68c45c975 I challenged mycroft to optimise this code - and he found a spare byte... 2004-08-14 21:03:23 +00:00
thorpej 4b51cecfc2 - Split the register handles out of struct wdc_channel into a separate
wdc_regs structure, and array of which (indexed per channel) is pointed
  to by struct wdc_softc.
- Move the resulting wdc_channel structure to atavar.h and rename it to
  ata_channel.  Rename the corresponding flags.
- Add a "ch_ndrive" member to struct ata_channel, which indicates the
  maximum number of drives that can be present on the channel.  For now,
  this is always 2.  Add an ATA_MAXDRIVES constant that places an upper
  limit on this value, also currently 2.
2004-08-14 15:08:04 +00:00
jdolecek 8ac2263519 constify 2004-08-13 21:45:03 +00:00
drochner d9a2463d75 oops - forgot the isapnp attachment when I added joystick support
recently
fixes PR port-i386/26630 by George F. Costanzo
2004-08-13 08:45:25 +00:00
thorpej ab20886f7b Don't bother with bits that tell of the presence of optional callbacks;
just check the function pointers for NULL.
2004-08-13 03:12:59 +00:00
mycroft 0a960e80ec +cs@pcmcia 2004-08-10 20:50:11 +00:00
junyoung 0889de87d0 xi -> xirc,com,xi 2004-08-09 05:23:52 +00:00
mycroft 958716ead8 xi -> xirc,com,xi 2004-08-08 08:54:43 +00:00
briggs fae6b577a8 Recognize the VIA Nehemiah by name.
Probe the VIA cache.
Add to, don't step on, feature flags when looking at extended feature
    flags in VIA's 0x800000001 CPUID response.
2004-08-08 05:21:01 +00:00
dbj 1abd4b8f46 fix several related bugs that cause sysctl machdep.diskinfo to
lose when booted from pxeboot.
. make sure that i386_alldisks gets initialized even if
  bios geometry information is not available in the bootinfo
. if i386_alldisks is not initialized, have sysctl return EOPNOTSUPP
. compile pxeboot with -DPASS_BIOSGEOM and I386_INCLUDE_DISK=yes
  this may increase the size of pxeboot which is required to run
  in 64k.  However, it seems to be working ok on my system
2004-08-05 18:04:35 +00:00
mycroft 8bed9fe251 Set NKPTP default to 0 (it's calculated in locore). Also reduce NKPTP_MIN to
2 -- though, with our current rounding of the data section, we will never take
advantage of that.
2004-08-05 15:26:59 +00:00
mycroft c512454ca7 Increase nkpde automatically to adjust for the kernel size. Also, if we did
adjust nkpde, save the new value.  This should enable us to boot extremely
large kernels without fiddling with NKPTP.
2004-08-05 15:25:29 +00:00
mrg 0078e5d6ca update the comment for ichlpcib to include SpeedStep. 2004-07-31 17:35:19 +00:00
mrg 5ced3fb6e0 implement ICH-based Intel SpeedStep(TM), based on both the linux and
freebsd drivers for the same.  if found and supported, export a
"machdep.speedstep_state" sysctl that can be set to "0" (low) or "1"
(high).

tested on a dell inspiron 8500 (supported, working) and a dual P4
system (supports ichlpcib not speedstep, comes up properly disabled.)
2004-07-31 17:32:31 +00:00
jmmv 2a08d54a9a Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively.  Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others).  The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily.  For example,
'wsconsctl -d -w border=blue'.
2004-07-29 22:29:35 +00:00
manu 66fc5fb621 Empty shell for Darwin audit API 2004-07-28 22:24:06 +00:00
jmmv 92f81ea7d3 Implement support to dynamically change wscons console and kernel colors.
Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it.  This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
  change the colors dynamically from userland.  This is enabled by default
  in the GENERIC kernel (as well as others) but disabled on all INSTALL*
  kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
  which specify the default colors for the console at boot time.  These have
  the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
2004-07-28 12:34:02 +00:00
tron 317f4e4195 - Remove support for non-VGA and ISA VGA graphic cards.
- Remove ISA attachments for various device (e.g. com(4)) so that the
  ACPI attached devices get the low device numbers.
2004-07-24 15:30:34 +00:00
tron 8849562832 Add new kernel configuration for ACPI based SMP systems which can also be
used to utilize Hyper-Threading.
2004-07-23 17:57:41 +00:00
he 1239ef54cc Add an attachment for ath* at pci, since some laptops have mini-PCI
atheros wireless hardware, such as IBM TP41p and TP40p.
2004-07-23 15:36:00 +00:00
mycroft f85e332440 Use pmap_kenter_pa() to map pages to dump, not pmap_enter(), so that it's more
resistant to VM lossage.
2004-07-22 15:12:46 +00:00
tron ad1499aa47 Enable ehci(4) by default. 2004-07-19 14:23:59 +00:00
christos 935764b9b1 catch up with darwin new functions 2004-07-16 04:56:30 +00:00
atatat f68a9f1ff2 Add "options SYSCTL_INCLUDE_DESCR" to a lot of configs, but commented
out in most of them.
2004-07-15 03:53:44 +00:00
atatat 1ce3b064a0 Make uudecode into a tool that can be used to build a kernel and redo
the athhal-elf.o handling to take advantage of it.  This means that
bsd.files.mk is no longer included by Makefile.i386 so CFLAGS won't be
duplicated.
2004-07-15 03:35:20 +00:00
msaitoh 38e0720545 Add Dothan 2004-07-11 15:22:05 +00:00
nathanw 7e753fcf97 cyrix6x86_cpu_setup: Save and restore the original value of CCR3
across the "coma bug" workaround to avoid clearing the MAPEN bit if it
was originally set by firmware. This appears necessary for proper
functioning of SMM on Geode CPUs, and thus for proper emulation (ugh)
of access to certain PCI configuration registers or VGA register
spaces. With this change, VGA and soundblaster emulation work on Geode
NX1 systems.

This was also the underlying problem that led to the introduction of
the PCI_QUIRK_SKIP_FUNCn quirks in pci_quirks.c, which are no longer
necessary (and counterproductive if you want to use VGA or a
Geode-specific audio driver). See the thread "pci probe" on port-i386
in August 2003 (The Soekris 4801, apparantly the most popular
Geode-based NetBSD box, has neither VGA nor audio, which may explain
why this wasn't noticed at the time).
2004-07-10 21:25:53 +00:00
cube 120187b856 Add commented out EST_FREQ_USERWRITE to GENERIC_LAPTOP too. 2004-07-10 18:52:30 +00:00
cube ca1f4e2485 Add an option to allow any user to write to machdep.est.frequency.target,
which is very handy on a laptop to control EST through another program that
you don't necessarily want to run as root (in my case, gkrellm).

The option's name is EST_FREQ_USERWRITE, and is disabled by default.
2004-07-10 18:51:01 +00:00
bouyer 8e03c54653 Add geodeide(4), a driver for the AMD Geode CS5530A IDE controller.
Tested by Ian Zagorskih (ianzag at megasignal.com).
2004-07-09 18:38:37 +00:00
drochner af0dfbe584 don't need md timing functions for joystick anymore 2004-07-08 22:07:47 +00:00
christos daf173e8a5 follow suit and fix copyright attribution. 2004-07-08 11:46:55 +00:00
christos 663957c46f make this compile again. 2004-07-07 23:28:28 +00:00
mycroft d539198300 Minor adjustment so that it is safe for an interrupt handler to unregister
itself.  Fixes a potential problem with PCMCIA IRQ probing.  See PR 9928.
2004-07-07 01:03:57 +00:00
mycroft c8a3263cbf Remove XSERVER and XSERVER_DDB from all config files. wscons does not use
these, and pccons is rapidly heading for the guillotine.
2004-07-06 22:53:36 +00:00
mycroft 1e3cb7e7ec Back out part of the changes in rev 1.86. Remove npxdna_notset(), and instead
have the DNA trap handler point to npxdna_empty() by default.  This way, if
there are no npx devices found and MATH_EMULATE is not configured, we go back
to the old behavior of issuing a SIGKILL and printing:
pid XXX killed due to lack of floating point
rather than panicking.
2004-07-06 01:30:08 +00:00
abs 1a06ef7694 Remove accidently added UMASS_DEBUG. Thanks to kimmo for spotting. 2004-07-05 22:30:38 +00:00
mycroft 6ad727416a Attempt to handle unknown ServerWorks chips, although I wouldn't bet on it
working cleanly.
2004-07-05 19:15:05 +00:00
yamt 201fdee01b for uniprocessor, splvm() is enough to protect tlb flush queue. 2004-07-05 11:19:46 +00:00
christos 7c328d9858 add a skeleton that defines the symbols we need; no implementation 2004-07-04 15:24:30 +00:00
christos a3eca3bd01 Add USRSTACK definitions 2004-07-04 15:22:29 +00:00
christos 0122ef6740 add darwin_commpage_machdep.S [does nothing for now, and the name is too long] 2004-07-04 15:22:03 +00:00
tron 16e9e90a52 Add re(4). There are laptops with an onboard Realtek 8169 Gigabit LAN. 2004-07-04 13:16:56 +00:00
mycroft 2b9d3e39a0 Fix confusion between index numbers in one table and node numbers in another
table, that was causing PNPBIOS to fail on some machines.  Should fix PR 18610.
2004-07-04 06:18:26 +00:00
mycroft 58a7151020 Update Serverworks chip names, and add a few more. 2004-07-04 05:53:55 +00:00
mycroft 88bac700e0 Be more careful about what ServerWorks devices we attempt to map PCI buses
behind.
This should address PR 21458 and PR 25670.
2004-07-04 04:55:18 +00:00
mycroft cd5dfd5c5c Rebuild. This primarily updates NGDT. 2004-07-04 03:35:01 +00:00
mycroft 15eb49718a s/PAGE_SIZE/NBPG/ to make this compile again. 2004-07-04 03:21:53 +00:00
mycroft 66760f9d8c Change MAXDRV to 0x8f, to fix El Torito booting problems on some machines.
See PR 22647.
2004-07-04 00:38:51 +00:00
mycroft 5f1cbe539c If apm_set_powstate() fails, make sure we run apm_resume() so that run any
powerhooks we have.  From PR 13671 (but applied to both standby and suspend).
2004-07-03 22:29:13 +00:00
mycroft 6343f6f6ee Per PR 8120, put back the reloading of the IDT in cpu_reset(). (Presumably
this overrides some descriptor caching in the CPU.)
2004-07-03 21:02:09 +00:00
yamt eb3fe82f73 i8254_initclocks: fix an integer overflow problem in rev.1.83.
a patch provided by FUKAUMI Naoki.  PR/26152.
2004-07-03 18:24:37 +00:00
drochner 12abfacf0b just include <sys/joystick.h> 2004-07-02 17:15:10 +00:00
yamt 38cdafcad1 {i8254,lapic}_initclocks: try to be more precise using fixtick. 2004-07-01 13:00:39 +00:00
itojun b140dfa763 s/options\t\t/options \t/. (whether UMASS_DEBUG is appropriate for everyone's
GENERIC is a different issue.  i'm not sure)
2004-06-29 04:51:29 +00:00
bouyer 21e9a36edc Add options P1003_1B_SEMAPHORE
to all GENERIC-like kernel config files where SYSV* options were already
present (commented out if the SYSV* options are commented out).
Fix lib/25897 and lib/25898.
2004-06-28 21:07:47 +00:00
fvdl 029ca90566 Updaing ci_ilevel and testing ci_ipending must be done with all interrupts
off, or priority inversion can occur, which can lead to IPI deadlocks.
Leaves interrupts off for a bit longer, sadly, but with no noticeable
effects on the systems I tested on.

From YAMAMOTO Takashi.
2004-06-28 09:13:11 +00:00
martin f142712a67 Add mtd (Myson MTD803 3-in-1 Ethernet) driver. 2004-06-27 16:47:06 +00:00
dsl 5cf67adbc4 Change interface between bootxx.S and boot1() - always linked together.
This allows boot1() to change the sector number (of the boot partition)
that bootxx.S passes through to boot2().
This means that boot2() will find the correct partition when boot1()
reads /boot from the 'a' partition instead of the mbr boot partition.
This all happens when you update a system that used a small 'wd0h' partition
to boot a raid1 set to the new bootcode.  Deleting /boot from the 'wd0h'
partition will make the new bootcode find /boot and the root filesystem
inside the raid set.
2004-06-27 15:37:11 +00:00
abs bd8eb3b5ed Add (commented out) ALTQ options to all GENERIC-like files 2004-06-26 07:32:05 +00:00
yamt 9a1474eb02 remove a prototype for a function which doesn't exist. (npxdna) 2004-06-23 12:24:01 +00:00
toshii a9b9fd4313 Add re; Realtek GbE. 2004-06-22 15:18:33 +00:00
itojun 596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
jmc 84fafa3db5 Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
2004-06-21 18:20:08 +00:00
thorpej 82c52d4891 Add COMPAT_20. 2004-06-20 03:24:04 +00:00
christos c22e4ed8cd ptm is now mandatory, depends on pty, and can be disabled with -DNO_DEV_PTM 2004-06-18 15:02:29 +00:00
christos 0399e839cf Add pseudo-device ptm on all the generic flavored kernels. 2004-06-16 15:07:39 +00:00
tshiozak 0d08b7cade Make sure to restore curproc's PTD before calling AcpiEnterSleepState().
Leaving the PTD inconsistent may crash the kernel.
2004-06-14 18:09:35 +00:00
lukem b88c3a1555 Use "options<SPACE><TAB>".
(`egrep -l '(^|[^e])options<TAB>'` is your friend...)
2004-06-14 01:27:59 +00:00
tshiozak 1b7c9e7222 - make sure to use proc0's PTD for the ACPI wakecode.
- add re-initialization for npx while resuming.
2004-06-11 19:45:55 +00:00
kleink c004d32eb8 Reflect <sys/endian.h> rev. 1.4: make htonl() et al. arguments and
results uint{16,32}_t.  Noted by Ian Zagorskih.
2004-06-10 16:01:39 +00:00
kochi d29c4e62c3 Fix typo:
ACPI = Advanced *Configuration* and Power Interface
2004-06-08 12:46:11 +00:00
kochi 7e55bddc3a Add ACPI_DISABLE_ON_POWEROFF option. 2004-06-07 15:33:52 +00:00
christos ff64927ee9 Don't include the rnd device; it makes us too big. 2004-06-06 07:04:27 +00:00
thorpej e33c2bb5d5 Add the %MAKEOPTIONSAPPEND token at the end of the file, after the
common Makefile.kern.inc has been included.
2004-06-04 04:45:49 +00:00
augustss df613458d1 Use SPC-TAB after the word "options". 2004-06-01 16:29:36 +00:00
christos 5369712097 PR/19925: David Ferlier: Add scrolling support to wscons 2004-05-28 21:44:51 +00:00
christos bf3905ed0c Add ptm device. 2004-05-27 02:57:24 +00:00
thorpej 2ecdd552dc Add the notion of "shadow registers" to the wdc driver. These shadow
registers are registers that overlap with others on many controllers, but
which may actually be distinct on some controllers.  Right now, the two
shadows are:

- wd_status (usually overlaps wd_command)
- wd_features (usually overlaps wd_error)

Add a new helper function, wdc_init_shadow_regs(), used to initialize
the shadow register handles on controllers where they do actually overlap.

Partially from Jordan Rhody @ Wasabi Systems, Inc.
2004-05-25 20:42:40 +00:00
tsarna f7fae574cc add uep driver 2004-05-24 23:50:11 +00:00
yamt 9080a4b746 instead of blindly set IF in MCOUNT_EXIT,
save eflags in MCOUNT_ENTER and restore it.
2004-05-24 14:01:10 +00:00
christos 0b36703edc put back SIZEOF_HEADERS now that bfd is fixed; you will need to recompile
libbfd...
2004-05-23 18:09:44 +00:00
christos d70a6522f9 Use 1024 instead of SIZEOF_HEADERS, so that we can include a note section. 2004-05-22 22:06:54 +00:00
kleink a8f9b18e52 Bring back {u,}int_fast8_t back to 8 bits, as I had misunderstood Charles. 2004-05-22 14:16:59 +00:00
grant e26fd850ec add `scsibus* at umass?' so usb mass storage devices which attach to
sd@scsibus can be used out of the box.

whitespace tweak for wd* at umass?
2004-05-22 03:16:26 +00:00
kleink dd80e25e65 Change {u,}int_fast{8,16}_t to 32-bit types, as the previous minimum-
width implementation was a rather poor choice.  Per discussion with
Charles Hannum.

Note: While this is technically an ABI change I believe it is a
change that we can afford at this time (and to be pulled up to
2.0).  The types are not widely used yet, and a survey of pkgsrc
has not shown uses that would be adversely affected by it.
2004-05-21 22:52:06 +00:00
atatat a1296cdfe4 Whitespace nits 2004-05-21 03:30:40 +00:00
yamt 8956861179 curcpu: fix a typo. (cpuinfo -> cpu_info)
no functional difference.
2004-05-16 12:32:53 +00:00
yamt 66b2ec5ff7 fix a compile error in the case DDB && !GPROF.
the problem pointed by Jaka Jejcic on current-users@ and
by several others privately.
2004-05-13 20:30:39 +00:00
yamt d94ff45112 call mcount in Xspllower. 2004-05-13 12:27:38 +00:00
yamt ed15986b95 pmap_load: assert that being able to take ipis. 2004-05-13 12:24:05 +00:00
yamt a87499d4ea witch_return: call Xspllower only when there're pending interrupts. 2004-05-13 12:15:01 +00:00
yamt 6b9fd4bdc5 npxsave_lwp: issue pause in a busy loop. 2004-05-13 12:13:20 +00:00
yamt d55112e112 add a comment to note that INTRFASTEXIT and trap() should be in sync. 2004-05-12 20:03:06 +00:00
yamt 5dac5f5d40 add a comment on mp_attrs. 2004-05-12 09:11:03 +00:00
wiz 8785cb8fb1 Add commented out entries for ioat* and nsclpcsio*;
from Sergey Svishchev in private mail.
2004-05-11 23:07:35 +00:00
drochner 19f047f8d0 SIGTRAMP_VALID() should not pollute the user namespace 2004-05-10 21:51:49 +00:00
kleink 7b3b647647 Factor out W{CHAR,INT}_{MAX,MIN} into their own header file. 2004-05-08 21:51:47 +00:00
dsl 17bfe85dd3 Make mbr_bootsel boot active partition if/when no menu items are output.
Stops users sitting in front of a system that is waiting for a keypress.
Just don't ask how I added more functionality AND got an extra 7 free bytes!
2004-05-08 21:18:22 +00:00
lukem 191597b042 move machdep.est.cpu_brand to machdep.cpu_brand 2004-05-03 16:38:28 +00:00
kochi b616cd6b52 don't use large stuff on stack.
(char devinfo[256] -> char *devinfo)
2004-05-03 07:08:46 +00:00
kochi beb4a7fe16 specify static where appropriate. 2004-05-01 12:03:27 +00:00
kochi 32cdfb5cac Enhance debug output for ICHx (with PIIX_DEBUG)
from Masanori Kanaoka
2004-05-01 06:35:10 +00:00
gendalia ec36bf86ae Uncomment 'wd* at umass?' in GENERIC, add to GENERIC_LAPTOP.
supports the ISD's ATA protocol over Bulk-Only, used with the Archos studio
and Archos Jukebox products, among others.
2004-04-30 17:41:19 +00:00
fredb 2c8270471f - - "options" should be followed by <SPACE><TAB>.
- - restore "options COMPAT_20", no doubt commented out by mistake.
2004-04-30 15:55:10 +00:00
christos b657953b30 Add and document PCIBIOS_LIBRETTO_FIXUP 2004-04-30 02:47:16 +00:00
christos 4eac397f2f Add code to deal with the losing Libretto L2/L3 pcibios. From Masanori
Kanaoka. I've been sitting on this code for 3 years, and have not done
anything better with it. It is ugly, it needs to be handled better, but
it is better to have it #ifdef'ed out rather than nothing.
2004-04-30 02:45:37 +00:00
christos f117f546d1 Deal with edge versus level interrupts properly. From Masanori Kanaoka. 2004-04-30 02:44:03 +00:00
lukem 59fdcaadf2 add ENHANCED_SPEEDSTEP 2004-04-30 02:08:17 +00:00
lukem 2df026b026 Integrate support for Enhanced SpeedStep Technology (est) that
Michael Eriksson posted to port-i386 on 20031102, with various
modifications by me to work in the new sysctl(9) framework.

The code is enabled with 'options ENHANCED_SPEEDSTEP', and if
the CPU supports EST the following sysctl(8) nodes appear
(with the values that a Dell Inspiron 8600 + WUXGA with a
1.4GHz Pentium M CPU supports):
	machdep.est.cpu_brand = Intel(R) Pentium(R) M processor 1400MHz
	machdep.est.frequency.target = 1400
	machdep.est.frequency.current = 1400
	machdep.est.frequency.available = 1400 1200 1000 800 600

If EST support isn't available, the "machdep.est" sysctl sub-MIB
is not created.

Once we have a more general "CPU frequency" control API we can
migrate this code to using that.

Thanks to Michael Erikkson for providing this code!
2004-04-30 02:05:42 +00:00
lukem 3da1e3206a Add driver for Enhanced SpeedStep (in Pentium M processors),
written by Michael Eriksson and posted to port-i386 on 20031102.
(This is the driver "as is" - I'll commit the code to integrate it
into -current separately)
2004-04-30 01:56:12 +00:00
gendalia 6c64abac77 add raidframe and raid autoconfig support to the INSTALL kernel. 2004-04-29 20:42:39 +00:00
minoura 3a9e37fe76 Comment out ichlpcib.
There are at least 2 reports that it freezes upon startup.
http://mail-index.netbsd.org/current-users/2004/04/19/0016.html
2004-04-29 11:54:24 +00:00
uwe 33c262357e Adapt to pci_devinfo signature change. 2004-04-24 15:09:54 +00:00
minoura d75fa2749f Move misplaced debug code.
This should make it compile w/o pcppi and w/ CLOCKDEBUG.
2004-04-24 13:38:36 +00:00
itojun 6123043789 pass string length (= boundary info) to pci_devinfo so that we do not run over
the end of memory region
2004-04-23 21:13:05 +00:00
dsl 5d3e088ee0 Put the 'mbr has bootselect table' marker into all versions of the mbr code.
Having the table in the 'standard' mbr allows fdisk to write in bootsel
menu items and only ask about updating the mbr code before exit.
Sysinst validates that the mbr code contains the bootselect table for
all the mbr code variants it reads - because it might want to write the table
and doesn't really want to make the validation dependant on what it is
going to do later.
Fixes install/25235, but sysinst needs some changes (like reporting the
failure to write the mbr) before the pr itself is closed.
2004-04-23 06:21:21 +00:00
itojun 8bcb745d7c sprintf -> snprintf 2004-04-22 00:31:00 +00:00
christos 6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
yamt c13fd66a5d syscall_fancy/plain: add assertions to detect PHOLD leaks. 2004-04-20 12:00:02 +00:00
yamt 88005c19af add '.L' prefixes to local labels. 2004-04-20 11:59:20 +00:00
fvdl 07fd2b039b Adapt for new aapic.c location. 2004-04-18 18:36:56 +00:00
he a1182cdd25 We need to also clean out athhal-elf-o, so that "make clean; make"
after an initial "make" will also (re)build athhal-elf.o.
2004-04-15 15:02:17 +00:00
mrg 47a36b2bdc when we have a P4 or a MP system, don't enable performance monitoring.
this fixes PR#25014.  i386 GENERIC can re-enable PERFCTRS by default now
(it was disabled with x86 SMP support was commited to the trunk.)

XXX:  should add P4 support
XXX:  should add MP support
2004-04-15 13:56:32 +00:00
yamt faedfe8895 - keep cr3 register and its copy in TSS synchronized.
otherwise an interrupt vector using a task gate (ie. ddbipi) messes it up.
- defer LDTR loading as well as cr3.
- tweak comments to make three copies of switching code more synchronized.
2004-04-12 13:17:46 +00:00
kochi 193c08b383 Clean up memory allocated during autoconfiguration 2004-04-11 10:36:35 +00:00
kochi b547a6d28f change acpi_resource_parse API to support _PRS parsing as well as _CRS 2004-04-11 08:36:19 +00:00
kochi e80850866a de __P, ANSIfy PCIBIOS related files. 2004-04-11 06:00:25 +00:00
kochi db7198d645 whitespace nit 2004-04-10 11:48:10 +00:00
augustss 9224fd7b0a Put ichlpcib in alphabetical order. 2004-04-07 13:13:59 +00:00
wiz 8ad72c592f Revert previous: Linux' procfs spells "CPU" "cpu", so mimic it.
Closes PR 25076 by salo.
2004-04-06 20:37:07 +00:00
mrg 1739cf2504 - fix i386_intel_brand[]: it was missing a empty reserved entry at 0xD
causing Mobile Pentium 4 to be shown as a Mobile Celeron.
- fix intel_family6_name() for brand=0xB && signature >= 0xF13
- fix a potential out-of-bounds array reference
2004-04-05 02:09:41 +00:00
kochi ee2683e797 Support for PIRQ[E-H], found in recent intel south bridges
(ICH2 and later), which fixes PR/23700.
The changes are from Hiroyuki Bessho and Masanori Kanaoka in PR/23700
with a little modification of interrupt router lookup from mine.
2004-04-04 16:06:09 +00:00
kochi 41ea3c2a77 add one more PCI ID (ICH4-M). 2004-04-04 15:16:38 +00:00
groo f2d334068a Let's try that again... one comes from .CURDIR, another set of files
comes from .OBJDIR.
2004-04-03 18:18:21 +00:00
groo 291203c667 Don't cd ${.CURDIR}, it's not where the uudecoded objects are. 2004-04-03 17:45:19 +00:00
lukem e7b4b99d58 Convert to using UUDECODE_FILES instead of using -kb in the repository. 2004-04-02 08:54:04 +00:00
jwise bffc53d606 Fix grammar in error message. 2004-03-29 15:57:28 +00:00
drochner c83eb997b8 nothing cares about __HAVE_SIGINFO anymore, so nuke it 2004-03-26 21:39:57 +00:00
drochner ae94c80224 fix references to the syscall formerly known as SYS___sigreturn14 2004-03-26 19:05:33 +00:00
minoura a3a2a1ebcf Print better names for Pentium4-class processors (Xeon, Celeron, etc). 2004-03-26 13:57:44 +00:00
jmc 77e0ba6695 Convert athhal-elf.o to a .uue and add appropriate make hooks to use it 2004-03-25 23:32:10 +00:00
wiz f1b19ce1db Backout previous -- this is not enough, config needs to be taught
how to reach partitions above h. Noted by Simon Burge, related to
PR 24905.
2004-03-25 15:26:35 +00:00
wiz 3afe1a1d87 Define maxpartitions to the same value as MAXPARTITIONS in disklabel.h.
Addresses PR 24905 by Simon Burge.
2004-03-25 12:38:49 +00:00
drochner 566efeb685 remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 16:46:27 +00:00
drochner 091c877e12 remove license clauses 3 and 4 from my cpoyright notices 2004-03-24 16:34:29 +00:00
atatat 19af35fd0d Tango on sysctl_createv() and flags. The flags have all been renamed,
and sysctl_createv() now uses more arguments.
2004-03-24 15:34:46 +00:00
kanaoka 5886bca6f0 Make it compile (int -> ACPI_INTEGER) 2004-03-24 11:26:46 +00:00
lukem 455da8e60b Move mbr_bootsel from offset 404 to offset 400 in struct mbr_sector to
leave 4 bytes for the Windows NT Drive Serial Number (DSN) at 440-443
(as mbr_sector.mbr_dsn).

Ensure that all the MBR & PBR code reserves space for mbr_sector.mbr_dsn.

Leave the bootsel magic number at 444-445 as mbr_sector.mbr_bootsel_magic
(instead of mbr_sector.mbr_bootsel.mbrbs_magic), but use 0xb5e1 (MBR_BS_MAGIC)
instead of 0xaa55 (MBR_MAGIC) to indicate that this change has occurred.

Rework MBR_BS_NEWMBR to mean "mbr_bootsel has moved to 400".

Modify fdisk(8) to automatically relocate the mbr_bootsel from 404 to 400
if mbr_bootsel_magic is the old value (0xaa55), and unset MBR_BS_NEWMBR
to flag that new mbr_bootsel code must be used if updating the MBR.


These changes fixes a problem where Windows 2000 or Windows XP would corrupt
the last 3 bytes + NUL of MBR partition 3's bootsel name if the bootsel name
was 5 characters long, replacing bytes 6-9 with the DSN.
Also, by explicitly reserving the space for the DSN we prevent problems in the
future if non bootsel MBR or PBR code had other information at bytes 440-443.
2004-03-22 07:11:00 +00:00
kim 92703eeedb AMD CPUID 0x6a0 is an Athlon XP processor model 10, revision A2.
http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/27532.pdf
2004-03-21 17:59:44 +00:00
junyoung 2ed9c2c7b7 ANSIfy. 2004-03-21 15:37:02 +00:00
simonb 84b7d801ac Only initialise ksi if we use it. 2004-03-21 10:56:24 +00:00
minoura 88f55c570c Fix typo. 2004-03-15 05:31:46 +00:00
minoura 17724e2968 Stop the timer explicitly before initialization.
Apparently certain BIOS requires this.  Noted by yamt.
2004-03-15 01:23:49 +00:00
minoura 10cb1fb645 Add ichlpcib. 2004-03-14 08:09:42 +00:00
minoura b332b550b9 Add Intel ICHn PCI-LPC bridge driver.
It is a pcib, but with sysmon watchdog support.
2004-03-14 08:04:38 +00:00
cl ea5ec0212d add kernel part of concurrency support for SA on MP systems
- move per VP data into struct sadata_vp referenced from l->l_savp
  * VP id
  * lock on VP data
  * LWP on VP
  * recently blocked LWP on VP
  * queue of LWPs woken which ran on this VP before sleep
  * faultaddr
  * LWP cache for upcalls
  * upcall queue
- add current concurrency and requested concurrency variables
- make process exit run LWP on all VPs
- make signal delivery consider all VPs
- make timer events consider all VPs
- add sa_newsavp to allocate new sadata_vp structure
- add sa_increaseconcurrency to prepare new VP
- make sys_sa_setconcurrency request new VP or wakeup idle VP
- make sa_yield lower current concurrency
- set sa_cpu = VP id in upcalls
- maintain cached LWPs per VP
2004-03-14 01:08:47 +00:00
dsl ae7b924322 Translate ascii keycode to help those with azerty keyboard type straight. 2004-03-13 22:41:37 +00:00
bjh21 dff5222d3a Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it.  This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111.  The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers.  To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned.  Thy just use rather more function pointers than before.  Tested
on i386 and (with a new host driver) acorn32.  Compiled on several other
affected architectures.
2004-03-13 17:31:33 +00:00
yamt aad9f63765 before resuming from failure during return to user mode,
- clear PSL_NT.  it can be set by userland because setting it
  isn't a privileged operation.
  (cf. DSA-336-1, CVE-2002-0429)
- set PSL_I.  otherwise, if SIGSEGV is ignored, we'll
  end up to infinite loop, generating the same traps, with
  interrupts disabled.
2004-03-11 11:42:04 +00:00
yamt b62ef7b657 update trap(), resume_iret and friends to match with
the recent version of INTRFASTEXIT.
might be related to PR/24711.
2004-03-11 11:39:25 +00:00
junyoung 0f89803028 Drop trailing spaces. 2004-03-05 11:30:50 +00:00
dsl 44eaa39982 Report errno value from boot1() - even though the standalone FS code
seems to translate everything into ENOENT.
2004-02-28 23:01:55 +00:00
dsl da7ffa3cbe Look for /boot in the 'a' partition (from the label in the mbr partition)
if it can't be found in a filesystem (or raid set) at the start of the
mbr partition.
2004-02-28 22:32:23 +00:00
dbj 5b782a2183 allow err of IREENT_MAGIC when looking for interrupt frames 2004-02-28 20:30:58 +00:00
dbj 0dcc30f1ff fix bug in tracing current process by explicit pid 2004-02-28 02:58:35 +00:00
dbj ba0f8cbecc fix an uninitialized variable problem that prevented t/u from working.
this also helps some when no symbols are available
2004-02-28 01:00:30 +00:00
dbj d3e00c7d64 fix backtracing through interrupt frames and system call frames 2004-02-27 22:52:03 +00:00
enami ac317107c7 Backout (part of) rev. 1.187, since the control no longer fall through. 2004-02-27 21:37:48 +00:00
jdolecek b1d292e1be add yet another ServerWorks variant
from PR port-i386/24570 by Ray Phillips
2004-02-27 09:01:26 +00:00