fvdl
b2622c34d6
In syscall_fancy(), drop the kernel lock if trace_enter fails.
...
From Nick Hudson.
2002-12-14 14:40:36 +00:00
junyoung
16c0ce8d78
Fix comment.
...
De-__P().
2002-12-14 09:46:36 +00:00
junyoung
058737862e
Now that gdt_compact() is gone, #if 0'ed gdt_shrink() doesn't need to be
...
here, either. Remove other #if 0 code as well.
2002-12-14 09:38:50 +00:00
christos
0cc4fbf335
add twe control device
2002-12-13 23:26:47 +00:00
fvdl
ac22ef18d8
Remove redundant cli/sti instructions. From Enami Tsugutomo.
2002-12-12 21:39:33 +00:00
christos
61b8a488ba
Add empty shells of new functions so we can keep compiling.
2002-12-12 17:42:10 +00:00
christos
09e9a5cde9
This new file is wanted by compat_darwin.
2002-12-12 17:41:53 +00:00
christos
c9498dd93c
add missing dependency.
2002-12-12 17:41:19 +00:00
joda
86b7f22e4f
cpuid feature bit 30 is set on IA-64 (in x86 mode)
2002-12-11 13:50:14 +00:00
fvdl
a167f47c0c
Since a CPU may spin waiting for another CPU to handle an IPI, an
...
IPI must be the very first thing to be handled in splx(), if it
had been blocked before. Change things around a bit to guarantee
this.
2002-12-11 12:02:07 +00:00
perry
c2afe21c94
Change from a hardcoded sanity check date that has to be updated by
...
hand every few years to code that uses the automatically generated
time value from config_time.h
Fixes an ancient XXX in the code.
2002-12-10 23:24:33 +00:00
thorpej
e8cc3884de
Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is.
2002-12-10 17:14:02 +00:00
thorpej
78ea2dd367
Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
...
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
2002-12-10 05:14:24 +00:00
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