Commit Graph

5631 Commits

Author SHA1 Message Date
david
213339df22 Restore the cardbus config line. Cardslot is upset with pcmcia only. 2002-12-09 16:24:39 +00:00
perry
21bf723223 comment out/comment/move p64h2apic line. 2002-12-09 15:50:57 +00:00
david
6189641f30 Don't want cardbus here, since there are no devices on it.
Thanks to Krister Walfridsson for mentioning it.
2002-12-09 02:38:13 +00:00
ad
59773dea2e Implement the DPT EATA ioctl() interface. 2002-12-07 19:48:30 +00:00
junyoung
6b57b095ae Identify many Intel processors which were misidentified previously. 2002-12-07 15:36:20 +00:00
junyoung
721f8f7979 Print processor signature (id) after clock frequency. 2002-12-07 15:18:08 +00:00
jmc
a94542f191 Rename the commented out fwscsi -> sbpscsi (names changed once code was
committed)
2002-12-07 07:26:51 +00:00
junyoung
43bc578d8b Get rid of #ifdef CPUDEBUG. CPU signature is always displayed. 2002-12-06 17:53:52 +00:00
junyoung
6e278393ba Don't pollute struct cpu_info with throwaway variables. 2002-12-06 14:47:07 +00:00
junyoung
df482bbd8a Rename amd_cpuid_cpu_cacheinfo() to amd_cpu_cacheinfo(). 2002-12-06 05:03:02 +00:00
junyoung
281fa073dc Display the extended feature flags with non-Intel processors rather than
the standard flags. See also PR#19163.

Before:

cpu0: AMD Athlon XP 1800+ (686-class), 1532.11 MHz
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,FGPAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>

After:

cpu0: AMD Athlon XP 1800+ (686-class), 1532.11 MHz
cpu0: features c3cbf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features c3cbf9ff<PGE,MCA,CMOV,PAT,PSE36,MPC,MMXX,MMX>
cpu0: features c3cbf9ff<FXSR,SSE,3DNOW2,3DNOW>

While I'm here, amd_cpuid_cpu_cacheinfo() is an info function rather
than a probe function.
2002-12-06 02:38:25 +00:00
christos
c363ae66f1 add offsets for linux_rt_sigframe 2002-12-06 00:00:20 +00:00
christos
6b0fccd61c simplify 2002-12-06 00:00:04 +00:00
junyoung
a2a55f2564 - FGPAT -> PAT, as documented in Intel manual.
- Feature flag 31 is "Signal Break on FERR" (SBF).
2002-12-05 17:25:26 +00:00
junyoung
72510c5d3b - Identify VIA C3 processors. Fix PR#19163.
- While here, make use of CPUID2STEPPING() macro.
2002-12-05 16:19:08 +00:00
jdolecek
4ed167f658 a bit of KNF - function type on separate line than function name, function
name on start of line
2002-12-05 10:01:56 +00:00
ichiro
fa14fafc16 add IEEE1394 configuration(Comment out) 2002-12-05 09:32:22 +00:00
david
2cf8089839 Include cbb, and its cardslot and pcmcia children. Needed by some wi cards. 2002-12-04 23:44:12 +00:00
fvdl
93f2be9ef0 For the resume/recurse case, make sure that the interrupt mask level
of the handler is set before acquiring the kernel lock, to avoid a
recursive chain of interrupt processing out of splx().
2002-12-04 23:13:09 +00:00
jdolecek
6227201ba9 If booting from floppy in 2.88MB drive, actually test if it's possible
to read sector 18, and fallback to 1.44MB drive geometry if that fails.
This allows to boot from 1.44MB floppy disk in 2.88MB drive.
Tested with 2.88MB drive in IBM PS/2 model 95 donated
by 'Yokotashi' <lhc at kanal ucw cz> and Pavel Cahyna
<pavel.cahyna at st ms mff cuni cz>
Bump biosboot version.

Fixes PR kern/3418 by Keith Moore.

Change okayed by Frank van den Linden.
2002-12-04 18:26:56 +00:00
fvdl
5c45b70587 Don't use delay() in the IPI wait loop. Use an empty one instead, with
a counter check in the DIAGNOSTIC case.
2002-12-04 01:36:10 +00:00
fvdl
082d4707fd Create a proper frame in Xspllower if DDB is defined. 2002-12-04 01:33:58 +00:00
haya
805040f592 New Feature: add pseudo device for IEEE 1394 isochronous stream and
isochronous reception routine for IEEE 1394 OHCI (fwohci).  The
transmission part is under construction.

The minimum configuration options for this feature are:

# IEEE 1394 (i.LINK)
fwohci*	at pci? dev ? function ?
pseudo-device	fwiso		1
2002-12-04 00:28:39 +00:00
kenh
25c20430c3 The day-of-week register in the MC146818 has the value 1-7, but
clock_secs_to_ymdhms() returns dt_wday with a range of 0-6.  Make sure
the DOW register has the correct range.
2002-12-03 16:11:11 +00:00
fvdl
8848e366f2 For softints, there's no intrframe on the stack, so don't try to use it.
Use a seperate lock function (in taking the same lock) instead.
2002-12-01 00:15:36 +00:00
fvdl
14067df51c Fix format warnings in INTRDEBUG case. 2002-11-30 22:22:53 +00:00
fvdl
1e23499b18 Make biosgeom struct packed, so that it works out on x86_64. 2002-11-30 13:46:26 +00:00
fvdl
6da8034165 Think before committing.. previous wasn't actually needed, the values are
guaranteed to fit in 32 bits when loading the kernel into physmem,
and it avoids bootloader incompatibility.
2002-11-29 19:38:24 +00:00
fvdl
6f923c1495 Use long for ssym and esym in btinfo_symtab, so that it works out for
both i386 and x86_64.
2002-11-29 19:33:26 +00:00
fvdl
f91cba76ea Add ci_apicid field. 2002-11-28 21:43:55 +00:00
fvdl
ca0469f229 Some changes to make single-CPU systems that have an ioapic (and
an MP BIOS table enabled) work. Some MULTIPROCESSOR defines to
make things compile, and a split of ci_cpuid into ci_cpuid and
ci_apicid. They're always equal for the MULTIPROCESSOR case,
but different otherwise (ci_cpuid will always be 0).
2002-11-28 16:37:35 +00:00
fvdl
ea871d0671 Only include IPI stubs in the MULTIPROCESSOR case. From Hubert Feyrer. 2002-11-27 21:59:55 +00:00
fvdl
39652b6d2a Only take the kernel lock if we interrupted while < IPL_SCHED. Handlers
at higher levels must therefore provide their own locking. Currently
this is only serial interrupts (com), which has COM_MPLOCK for this
purpose.
2002-11-27 00:43:12 +00:00
fvdl
18ad7e80b6 Specify the interrupt frame as the argument to i386_int(un)lock. 2002-11-27 00:41:59 +00:00
lukem
0635de35a3 Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more. 2002-11-26 23:30:07 +00:00
christos
729ccbc9cd si_ -> sel_ 2002-11-26 19:49:00 +00:00
thorpej
09dfaace39 The traditional C preprocessor is fixed in GCC 3.3 now, so no need
to skip -traditional-cpp for HAVE_GCC3.
2002-11-26 18:51:12 +00:00
christos
26f075fcb4 minor cleanups. 2002-11-26 18:40:46 +00:00
manu
53356d6169 Added an empty shell for signal delivery. Now we just have to fill the
machine dependant bits.
2002-11-25 22:25:12 +00:00
enami
e58966cf92 Explicitly include machine/atomic.h since this file uses inline function
defined there.  This is necessary when LOCKDEBUG is defined.
2002-11-25 02:10:28 +00:00
lukem
1847a76b62 use NOMAN instead of MKMAN=no. noted by David Bonnafous on port-i386@ 2002-11-24 23:48:48 +00:00
christos
40983baedb add mach_sigcode.o to the files that depend on assym.h 2002-11-24 18:56:01 +00:00
jmc
33169df7d2 Provide a cast when setting up the interrupt handler (npxintr has a different
signature than the prototype expects)
2002-11-24 10:19:37 +00:00
fvdl
79f52ea3a8 Some hacks to make this compile on x86_64. 2002-11-23 23:34:39 +00:00
fvdl
b31699f426 Remove duplicate definitions, include <machine/frameasm.h> instead. 2002-11-23 10:50:09 +00:00
fvdl
e5a9ffde7a Remove "ioapic.h" include, and always include the intr_find_mpmapping
prototype; it's not worth the extra bytes to avoid including this.
2002-11-23 10:37:09 +00:00
lha
2943f5e96b install intrdefs.h so it can be used by intr.h (and libkvm) 2002-11-23 05:33:11 +00:00
lha
e5a0293cb5 Add fix a missing CPUVAR define (copied from mach_sigcode.S). Frank
promised to a better fix when he wakes up, this just to make it
compile again.
2002-11-23 02:05:51 +00:00
fvdl
23fb62d8f1 Removed unused function. From kristerw. 2002-11-22 21:21:13 +00:00
fvdl
af8aa9d5df Get this to compile again in the ioapic case. 2002-11-22 16:16:56 +00:00