Commit Graph

5457 Commits

Author SHA1 Message Date
joda 337993c988 use the same mnemonics as linux for cpu features (this is -o linux
after all)
2002-10-04 19:39:54 +00:00
junyoung 8c56af5cb9 Don't init IDT twice. 2002-10-04 19:27:05 +00:00
junyoung 857da21d88 Correctly identify model 6, 7, and 8 of AMD Athlon and Duron processors.
Before:
cpu0: AMD Athlon Model 6 (Palomino) (686-class), 1532.11 MHz

After:
cpu0: AMD Athlon XP 1800+ (686-class), 1532.11 MHz
2002-10-04 18:42:34 +00:00
elric d19d268a95 assign majors for raw and cooked cgd's. 2002-10-04 18:28:24 +00:00
tsutsui 714e6adf24 Add le* at isapnp? 2002-10-04 16:24:47 +00:00
simonb a66f0d74ef This file hasn't been used in a long time. 2002-10-04 08:48:35 +00:00
simonb dcd65411b2 Only declare and set the "step" variable in identifycpu() ifdef CPUDEBUG. 2002-10-04 08:44:08 +00:00
junyoung acd50bf487 Back out pushl/popl -> movl change. copy_fault is also used by kcopy(9). 2002-10-04 06:43:40 +00:00
explorer 3a856ad198 use config_match() 2002-10-04 06:02:38 +00:00
junyoung f9939562a1 Fix a mistake in previous commit. 2002-10-04 04:40:12 +00:00
junyoung 8ab9e2ef57 Use single movl instruction rather than pushl/popl pair. 2002-10-04 03:20:59 +00:00
itojun 8f0eabf697 whitespace 2002-10-04 03:17:00 +00:00
fvdl 547337a4ce FIx off by one error for brand id array index. 2002-10-03 19:39:51 +00:00
elric 70bf1b763b prepend syscall_fancy and syscall_plain with mach_ to get this to compile
again.
2002-10-03 19:17:01 +00:00
fvdl 4eb09bb2aa Make shared IRQs for the normal PIC case work again as they did before
the MP merge (i.e. treat them as having the lowest level of all registered
handlers in the chain for the IRQ).
2002-10-03 15:58:56 +00:00
uwe 50de7c9595 If we don't get record drq from pnpbios, set it to play drq.
Otherwise attaching half-duplex device will trigger panic.
NB: ad1848_isa_get_props should probably check for recdrq == -1 as well.
2002-10-03 03:02:11 +00:00
thorpej 89bf5a8f8e Add trailing ; to CFATTACH_DECL. 2002-10-02 15:52:22 +00:00
drochner 59ec26b0d3 _C_LABEL(curproc) disappeared - have cpu_info now
(still uniprocessor only)
2002-10-02 15:23:31 +00:00
drochner 5a62e785ca add kvm86_incall again which got lost in the SMP merge 2002-10-02 14:54:43 +00:00
thorpej 10e0a941aa Use ELF-safe local labels. 2002-10-02 06:18:32 +00:00
thorpej 1ad8e0ff42 Tidy up CFATTACH_DECL() formatting. 2002-10-02 05:47:08 +00:00
fvdl 6b7332c86b The local APIC registers are defined for 32bit access only, so don't
use movzbl on them.
2002-10-01 19:36:51 +00:00
fvdl bb7657559b Don't use pool(9) for TLB shootdown queue elements. Recent pool
changes made the usage here clash with the pool code, and the
pool code is overkill for this case (fixed number of elements,
always NOWAIT).

Use a simple static freelist allocator instead (pv_list-like).
2002-10-01 19:36:06 +00:00
matt be5fafec51 ANSI'fy the inline functions. 2002-10-01 19:08:51 +00:00
fvdl 1aca7be70a Add cpu0 at mainbus0 2002-10-01 13:29:03 +00:00
fvdl 26ab868e68 Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
2002-10-01 12:56:36 +00:00
dbj 818445e944 recognize FS_APPLEUFS partitions
part of PR #17345
2002-09-28 01:17:09 +00:00
thorpej f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
provos 0f09ed48a5 remove trailing \n in panic(). approved perry. 2002-09-27 15:35:29 +00:00
thorpej 6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej d1ad2ac4f2 Rather than referencing the cfdriver directly in the cfdata entries,
instead use a string naming the driver.  The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
grant 8dca22997c ep0 at isa? -> ep* (ala GENERIC), so ep instances during install are
consistent with GENERIC.
2002-09-26 07:30:17 +00:00
thorpej 71404bb533 Don't include <sys/map.h>. 2002-09-25 22:21:01 +00:00
martti 81e8d78cd4 Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK" 2002-09-25 11:49:48 +00:00
pooka d623a21172 iwic@pci 2002-09-24 22:07:46 +00:00
gmcgarry 627c1b14f8 Back-out previous. 2002-09-23 21:35:42 +00:00
simonb 4e3613273b Remove breaks after returns, unreachable returns and returns after
returns(!).
2002-09-23 05:51:10 +00:00
simonb 63096043b3 Use "#define\t" instead of "#define ". 2002-09-22 08:30:56 +00:00
chs c081614ea2 it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not.  doh.
2002-09-22 07:53:39 +00:00
chs 55e1f79335 add pmap_remove_all() hook (empty on most platforms so far). 2002-09-22 07:17:08 +00:00
gmcgarry adc9fb5f5b MD component of the new cpu_switch() interface. Introduces nextrunqueue(),
cpu_idle() and new cpu_switch() to replace the old cpu_switch()
which did the lot.  Runs leaner without overly blocking interrupts.

Includes cleanup of the RAS code to make use of callee-saved registers.

Benchmarks on DX4 @ 100MHz reveal a slight performance improvement
but probably not statistically signficant.  More TBD to verify this.

Changes passed a pounding on Athlon @ 1GHz too.
2002-09-22 06:51:10 +00:00
gmcgarry dca80f08fd Add __HAVE_MD_RUNQUEUE flag for MD code to override MI run queue primitives. 2002-09-22 04:11:32 +00:00
perry 87a452620b change a tab to a space so commenting elansc isn't as ugly 2002-09-21 15:24:29 +00:00
kanaoka c9aa0785fe Add support for "Intel 82801DB LPC".
kern/18348: From Andreas Wrede <andreas@planix.com>.
2002-09-20 14:52:39 +00:00
martti 3b553bac54 Added (commented out) IPFILTER_DEFAULT_BLOCK. 2002-09-20 10:39:48 +00:00
wiz ef50e53177 Fix typo in comment. 2002-09-19 12:00:11 +00:00
lukem 3ea2e21f82 enable USERCONF by default; it's small and extremely useful to have available. 2002-09-18 02:43:53 +00:00
lukem 789c0e4589 these files are managed elsewhere, and are just bitrotting here; remove them. 2002-09-18 02:34:53 +00:00
gehenna 77a6b82b27 Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.
2002-09-06 13:18:43 +00:00
erh 5a02e1abe2 Adjust the check for what segments should go on the low priority free list.
If a segment starts exactly at 16M don't try to split it because that causes
the code to try to call uvm_page_physload with a zero length segment.
(kern/17199)
2002-09-05 02:43:00 +00:00