Commit Graph

48357 Commits

Author SHA1 Message Date
cegger
692c8bd822 - beggining -> beginning
- xenconscn_attach: ansify
- xenconscn_putc: KNF
2008-08-10 13:33:44 +00:00
cegger
33caeffbb8 Add accept filters per request from port-xen:
http://mail-index.netbsd.org/port-xen/2008/08/10/msg004087.html

pseudo-device entries were copied from sys/arch/i386/conf/GENERIC, rev. 1.904
2008-08-10 08:53:29 +00:00
skrll
9a6d9381d2 Improve a comment. 2008-08-08 17:23:19 +00:00
skrll
3ceaf8f8e4 Make "show uvmhist" available to all arches (not just sparc*) in ddb. 2008-08-08 17:09:28 +00:00
tsutsui
4578c8e434 Misc cosmetics:
- some KNF and ANSIfy
- use uintNN_t types
- remove a redundant declaration
- use __func__ to print a function name
- use PRIu64 to print uint64_t
- wrap long lines
2008-08-08 16:05:47 +00:00
tsutsui
42d0c1b9d0 Bump BOOTINFO_MAGIC to prevent old kernels (including netbsd-4) crashing
when bootinfo data is passed from newer bootloaders.

Note old bootloaders can still load newer kernels.
2008-08-08 15:07:52 +00:00
hauke
9588641dc1 No WAPBL (ffs journaling) for memory-strapped machines. 2008-08-08 13:59:24 +00:00
hannken
b05e82aae1 Make the console on com0 detection work again. 2008-08-08 09:50:19 +00:00
simonb
c86b901a9e Don't run off the end of the bootconf.desc[] array when printing out
the boot menu choices.  Fixes problems with funny display when MAXMENU
or more "menu" items are in /boot.cfg.
2008-08-08 07:48:32 +00:00
hannken
e553a8ce92 Remove an unneeded include to make it compile again. 2008-08-08 06:29:21 +00:00
dogcow
8b3b4956d6 fix "warning: 'npv' may be used uninitialized in this function" 2008-08-08 06:21:09 +00:00
tsutsui
c1e7fb3d43 Comment out options MACE_NEEDS_DELAYS.
Fixed mec(4) driver will (hopefully) work without it.
2008-08-07 15:14:40 +00:00
tsutsui
792cb95ad3 - check TX_RING pointer in MEC_INT_STATUS in mec_rxintr() (from OpenBSD)
- preserve the last TX descriptor to avoid wraparound (as per Linux driver)
- check IFQ_IS_EMPTY() on calling mec_start() in mec_intr()
- clear IFF_OACTIVE only if a number of descriptors are freed in mec_txintr()

Seems to fix mec(4) hangup problem (and silent reboot by crime watchdog)
on heavy load.  Tested by martin@ and Jorge Acereda Macia on port-sgimips.
(though Jorge still has some problem, but this should have fixed one issue)
2008-08-07 15:05:02 +00:00
tsutsui
a311d7b2e9 In crime_attach(), call crime_watchdog_disable() rather than
writing zero to the CRIME registers implicitly.
2008-08-07 14:44:29 +00:00
tsutsui
e1beb9f83b Fix a typo so that the crimedog is actually shut up. 2008-08-07 14:36:49 +00:00
matt
8f5842cc04 Use IF32_bits instead of I32_bit | F32_bit 2008-08-07 04:18:21 +00:00
matt
a960a1f973 Commit missing part of __HAVE_FAST_SOFTINTS support. 2008-08-07 04:17:25 +00:00
matt
8ce4fe62cc Remove unneeded cast. 2008-08-07 04:16:26 +00:00
matt
188b29fdf8 Now that pmap allocates ncolors for memhook, use them to properly memory. 2008-08-07 04:15:52 +00:00
matt
d80307c31b Only call dosoftints() is ci_intr_depth == 0 2008-08-07 04:11:07 +00:00
matt
196a1048f5 Enable __HAVE_FAST_SOFTINTS 2008-08-07 03:59:49 +00:00
matt
e2da7ceb83 Do fast softint processing in DO_AST_AND_RESTORE_ALIGNMENT_FAULTS.
Redo the softint mask so ci_softints >> ci_cpl != 0 becomes an easy
test for work to be done.
2008-08-07 03:58:15 +00:00
matt
baab10840a Change pv_entries to use SLIST.
For VIPT caches, keep track of when pages are dirty so that their content
can be flushed back to main memory.  This is done when the page is
read-only mapped by more than 1 color.  Pages become when either their
modified bit gets set or an unmanaged writeable page is mapped.  When
a page in unmapped or changed to read-only, run pmap_vac_me_harder in
case the page can be mapped read-only.

Thanks are given to Imre Deak for giving me the idea to assert for PVF_DIRTY.
2008-08-06 19:13:45 +00:00
matt
04ddff9cc7 Define IF32_bits as the union of I32_bit|F32_bit 2008-08-06 19:06:40 +00:00
martin
80d96333fc Remove a few components of struct lwp that we do not touch any more. 2008-08-06 16:12:59 +00:00
martin
8093db04c6 We need socketvar.h now for struct sockopt. 2008-08-06 15:36:20 +00:00
matt
7fc2caf9e9 Fix typo FP_ -> FE_ 2008-08-06 03:54:50 +00:00
drochner
687baea535 Disable interrupts before shutdownhooks are run, as all other ports.
shutdownhooks need to use polling functions (and most do).
2008-08-05 17:09:17 +00:00
matt
91d4704c12 Update <machine/ieeefp.h> to use the C99 FE_* definitions instead of the
NetBSD defined ones.  Redefine the NetBSD ones in terms of the C99 ones.
Step 1 to having <fenv.h>
2008-08-05 16:47:41 +00:00
matt
c5e5572326 For ARITH traps, set the siginfo code appropriately for FP related traps. 2008-08-05 16:00:31 +00:00
matt
a97a3faaf7 Add the AFLT_FLT* code for T_ARITHFLT. 2008-08-05 15:59:28 +00:00
matt
e56d3c9caf Add PSL_{IV,FU,DV} bits. 2008-08-05 15:56:04 +00:00
cegger
e61fddb8f9 struct cfdata -> cfdata_t 2008-08-04 06:01:18 +00:00
tls
717f903a98 Add accept filters, ported from FreeBSD by Coyote Point Systems. Add inetd
support for specifying an accept filter for a service (mostly as a usage
example, but it can be handy for other things).  Manual pages to follow
in a day or so.

OK core@.
2008-08-04 03:55:47 +00:00
macallan
d61452c45c fix another botched device_t-ification 2008-08-04 03:14:43 +00:00
joerg
9ae4651601 Move some MD declarations from x86/pci/files.pci to x86/conf/files.x86,
so that Xen can use the former.

Drop Xen's pcib.c in favor of the x86 code and thereby unbreak ichlpcib.
2008-08-03 19:32:03 +00:00
joerg
cc4b6d8ca3 Reduce diff to GENERIC for compat options. 2008-08-03 19:23:47 +00:00
joerg
2955830a40 Remove SYSV IPC options as they have been replaced with sysctls. 2008-08-03 19:20:48 +00:00
rumble
6b11ab8f44 Add -m to usage and do not simply use strcmp to compare names as the volhdr
name is not necessarily nul-terminated.
2008-08-03 17:42:34 +00:00
rumble
f048ceb62a Add -m to move (rename) files in the volume header. While here, remove
some magic constants and fix some space-limited printfs.
2008-08-03 16:09:20 +00:00
tsutsui
70612e5c54 Remove __weak_alias() for mips3_delay(). It's in mips3_clock.c. 2008-08-03 09:14:28 +00:00
tsutsui
84e2b374ec Two fixes to make -current kernel be loadable by 4.0 bootloader:
- if bootinfo is not passed from bootloader, check argv[1] first
  which might be the loaded kernel path specified for bootloader
- when using argv[0] as the kernel path (loaded directly by the PROM)
  assume boot partition is 0 (partition a) since the kernel might be
  in an SGI volume header partition and it can't be a root partition

Ok'ed by rumble@, and tested on IP22 and IP32.
2008-08-03 00:35:03 +00:00
tsutsui
8485799843 - replace some mysterious magic numbers in CPU clock measurement code
with some more meaningful expressions
- compare counter values in 100ms rather than 2ms
- check CPU_MIPS_DOUBLE_COUNT in mips_cpu_flags explicitly
2008-08-03 00:20:18 +00:00
tsutsui
2d4879d193 Add CPU_MIPS_DOUBLE_COUNT to R10K family CPUs and
also remove (unused?) MIPS_NOT_SUPP flag from them.

Problem on R10k O2 is reported by martin@ on port-sgimips.
2008-08-03 00:09:20 +00:00
marcus
b66028ed66 sysasic_intr_string() takes an IRL, not an IPL. 2008-08-01 20:19:49 +00:00
matt
c54e2d5527 Fix bug where SRR1 (%r2) was being accidently misused and modifed
in place of segreg (%r1).

From Konrad Karpowicz <konradk at pacomp dot pl>.
2008-08-01 16:32:03 +00:00
marcus
ae05e8ed7a Fixed a compilation warning. 2008-08-01 11:33:06 +00:00
cegger
7c9b29a47a backout rev. 1.175:
options VGA_POST already existed which makes config barf.
2008-07-31 23:56:00 +00:00
joerg
ca906ffece Include VGA_POST by default in GENERIC and ALL on x86 now that the code
is conditional.
2008-07-31 14:15:00 +00:00
joerg
0b2a6aef84 machdep.acpi_vbios_reset = 2 --> vga_pci_resume will use x86emu to do a
POST when options VGA_POST is present.
2008-07-31 14:05:05 +00:00
cegger
e2775dc02b Add "options WAPBL" to Xen configs 2008-07-31 08:43:13 +00:00
simonb
dc9029a896 Regen for "options WAPBL". 2008-07-31 07:48:37 +00:00
simonb
ef38d7e5a7 Move "options WAPBL" so that it also gets added to INSTALL kernels. 2008-07-31 07:47:43 +00:00
simonb
ae9bf9b493 Regen for "options WAPBL". 2008-07-31 07:45:39 +00:00
simonb
73252465b8 Move "options WAPBL" so that it also gets added to INSTALL kernels. 2008-07-31 07:45:04 +00:00
simonb
0751ba4bff Add "options WAPBL" to standard GENERIC/INSTALL type configs. 2008-07-31 07:40:59 +00:00
tsutsui
a8858674e9 Add a BUS_DMASYNC_PREWRITE call against tile's DMA address descriptors.
Fixes mangled screen on recent kernels.
Tested on my R5K IP32 and on R10K IP32 by Jorge Acereda Macia on port-sgimips.
2008-07-30 17:24:27 +00:00
cherry
b89762695b Catchup with acpica 2008-07-30 11:57:24 +00:00
rjs
4ca1cae072 Add missing file. 2008-07-29 12:43:24 +00:00
macallan
df34d2042b Fix remaining register offset shifting left over from proper bus_space-ification
done a while ago. From Marco Trillo.
This should fix PR 39176.
2008-07-28 16:54:49 +00:00
hauke
3411d8045b Having read Frank Kardel's web page again, I think the XXX comment
wrt. the splhigh() guard can go.
2008-07-22 14:43:45 +00:00
matt
4886aa3da7 Implement workaround for:
arm11 Errata 364296:Possible Cache Data Corruption with Hit-Under-Miss

Remove hack in userret which is redundant with workaround.

workaround code from <imre.deak@teleca.com>
2008-07-22 07:07:23 +00:00
cegger
30e1bad82e beautify dmesg with MPVERBOSE.
before:

pci0 at hypervisor0 bus 0: configuration mode 1hypervisor0: added to list as bus 0

pchb0 at pci0 dev 0 function 0

now:

pci0 at hypervisor0 bus 0: configuration mode 1
hypervisor0: added to list as bus 0
pchb0 at pci0 dev 0 function 0
2008-07-21 11:51:59 +00:00
matt
568e00fecc Add PMAP_KMPAGE defintion (forgotten commit). Also add PVF_DIRTY which will
be used by an update pmap.c shortly (to note what pages may have dirty
cache lines).
2008-07-21 07:33:54 +00:00
martin
1f71bc27ce Fix previous. 2008-07-20 22:57:19 +00:00
martin
4956be1f47 Make struct pcib_softc explicit in our softc. 2008-07-20 17:18:21 +00:00
martin
f3b6f1bea8 Explicitly add struct pcib_softc to the softc since the pcib functions
we call expect this.
2008-07-20 16:59:53 +00:00
martin
d2849ba366 Rearange softc so it starts with a struct pcib. We reuse the x86 pcib code
which assumes this.
2008-07-20 16:52:33 +00:00
martin
e394f32ae0 Make the softc externally visible, so other bridges reusing this code
don't have to "get it right" manually.
2008-07-20 16:50:29 +00:00
tsutsui
1a160ac866 Specify volatile to some pointers to access DMA registers. 2008-07-20 16:35:27 +00:00
tsutsui
471f4d63c3 No need to specify '&' to get array's address.
No binary changes.
2008-07-20 16:28:24 +00:00
tsutsui
b55114eae7 Fix pointer arithmetic botch in rev 1.37. 2008-07-20 16:23:38 +00:00
tsutsui
770f58015d Revert part of previous changes:
> make makeiplcookie() return PSL bits via ipl2psl_table[]
> rather than IPL_FOO indexes
because ipl2psl_table[] could be updated during autoconf(9)
and we can't use it as cookie before cpu_configure(9).
2008-07-17 16:13:33 +00:00
cegger
2515b0ec09 make this compile 2008-07-17 14:43:38 +00:00
cegger
075c838a83 devive_private -> device_private 2008-07-17 14:39:26 +00:00
skrll
d2b1f0c9d9 Bump image size to deal with bloat. 2008-07-17 07:01:30 +00:00
drochner
152044172b add a KASSERT to check the protection bits before using as array index 2008-07-16 18:56:34 +00:00
drochner
a3df0dfc03 split device/softc for scsibus 2008-07-16 18:50:58 +00:00
perry
7549434e22 Add -DM to the newvers_stand.h invocation.
Why is there a "Makefile.boot" used here, and a "Makefile.booters"
used one level up, with redundant stuff between both of them? This all
used to be so clean...
2008-07-16 16:13:38 +00:00
tsutsui
a3c412626c Disable more pseudo-devices to shrink an install kernel. 2008-07-16 15:22:50 +00:00
tsutsui
6415b4ca38 Change boot messages to replace build date and maker with kernrev. 2008-07-16 14:45:17 +00:00
tsutsui
a6ea1c4a92 Change boot messages to replace build date and maker with kernrev. 2008-07-16 13:44:51 +00:00
tsutsui
fc10d3a3fc Change boot messages to replace build date and maker with kernrev. 2008-07-16 13:19:20 +00:00
perry
ab1cc5d822 Call newvers_stand.sh with -DM so we don't include the (unused) date
and builder in the data segment.
2008-07-16 12:52:37 +00:00
chs
a1677d385b in pmap_map(), use pmap_kenter_pa() instead of pmap_enter()
so that we don't need to allocate memory to create the mapping.
this should help with getting crash dumps more reliably.
2008-07-16 03:22:04 +00:00
matt
1f9c1ede20 Revamp bookkeeping for pages entered by pmap_kenter_pa. Keep track of them
on pvlists so that the cacheability can be properly tracked.
2008-07-16 00:19:57 +00:00
perry
e2eca0cfb3 make vers.c also depend on the script that builds vers.c 2008-07-16 00:16:17 +00:00
perry
ac6f476b2b Update the version numbers following commit, and make them all identical. 2008-07-15 23:16:26 +00:00
perry
17bba44783 Change the x86 boot blocks so they don't include builder login and date.
For now, we include kernel revision as a way of allowing users to
notice that boot blocks have gotten very old, so the first line of the
printout looks like this (depending on the particular block):

  >> NetBSD/x86 BIOS Boot, Revision 3.4 (from NetBSD 5.0)

This may be changed a bit pending feedback. (Some people think that
the kernel revision shouldn't be there at all, for example.)

Part of the project to assure that bit-identical sources produce
bit-identical release binaries.
2008-07-15 21:29:37 +00:00
cegger
fddc51df07 Configure /dev/power for domu as in src/sys/arch/i386/conf/majors.i386.
See discussion on port-xen for the details at http://mail-index.netbsd.org/port-xen/2008/06/14/msg003904.html
2008-07-15 06:50:02 +00:00
chris
889823f09a Remove repeated setting of cpuctl bit for vectors being high in cpu setup
code.

Pointed out in private email by Kevin Lo.
2008-07-13 09:12:14 +00:00
tsutsui
ce1887dc69 - if SDA is set to low during DIR(INPUT) in gpiic_set_bits(),
store the SDA status into softc and enable it once after
  DIR() is changed to OUTPUT in gpiic_set_dir()
- remove "Read in output mode" warning in gpiic_read_bits()
  since it's a vaild operation (to read SCL during SDA output is low)

Tested by kiyohara@ on OPENBLOCKS266.
2008-07-12 02:04:07 +00:00
cube
ec7745c68a device_t split fallout [hi joerg!] 2008-07-11 11:58:37 +00:00
tsutsui
1644c2b297 Cosmetic changes to sync with other m68k ports:
- rename ipl2spl_table[] to ipl2psl_table[] and make it uint16_t
- rename _spl member in ipl_cookie_t to _psl
- sort some splbio entries
2008-07-10 16:14:16 +00:00
tsutsui
4c483f361d Remove __P(). 2008-07-10 16:07:30 +00:00
nakayama
edb7368453 Use proper CCR. 2008-07-10 15:38:40 +00:00
nakayama
3eac605929 sparc64_ipi_save_fpstate:
- use primary MMU context for consistency with other trap/interrupt handlers.

sparc64_ipi_save_fpstate, savefpstate:
- avoid storing fp registers as we can.

sparc64_ipi_save_fpstate, savefpstate, loadfpstate:
- remove unaligned case since buffers allocated with pool_cache are ensured
  64-byte aligned.

Ok by martin@.
2008-07-10 15:23:58 +00:00
nakayama
b74ec3e6b6 Switch fpstate buffer allocation from malloc to pool_cache.
Ok by martin@.
2008-07-10 15:04:41 +00:00
scw
d9aadb22f8 When dealing with 'cleanlist_idx == PMAP_REMOVE_CLEAN_LIST_SIZE' in
pmap_do_remove(), make sure to use PTE_SYNC() for each rolled-back
PTE on the list.

Fixes potential MMU inconsistencies on some ARM platforms where
page-tables are mapped write-back.
2008-07-09 23:22:15 +00:00
joerg
2f4873590d device/softc split
aprint conversion
2008-07-09 21:30:04 +00:00
joerg
3f4a1f5ac4 - device/softc split
- ANSIfy
2008-07-09 21:25:59 +00:00
joerg
9cd21b65c4 - Statify
- Split device/softc.
2008-07-09 21:19:23 +00:00
joerg
0fa9592ac8 Fix syntax. *sigh* 2008-07-09 21:07:55 +00:00
joerg
ec61c372b5 Finish device/softc split. 2008-07-09 21:07:25 +00:00
joerg
b6a44bdc8a - device/softc split 2008-07-09 21:03:42 +00:00
joerg
b92a5f0408 Constify a global variable. Split device/softc. 2008-07-09 20:59:16 +00:00
joerg
713c902ab3 Device/softc split. 2008-07-09 20:54:13 +00:00
joerg
fa4b49dc5e device/softc split. 2008-07-09 20:50:41 +00:00
joerg
fcdefdcff8 device/softc split 2008-07-09 20:45:33 +00:00
joerg
0ae228380e Finish device/softc split. 2008-07-09 20:41:02 +00:00
joerg
6bf2b4fab1 device/softc split 2008-07-09 20:40:16 +00:00
joerg
083ae1f6af device/softc split 2008-07-09 20:23:50 +00:00
joerg
52c17c8946 - device/softc split for ath(4) 2008-07-09 19:47:23 +00:00
kiyohara
71d621af19 Initialize the member sc_callout before call callout_reset(). 2008-07-08 17:32:56 +00:00
kiyohara
a25c030645 Remove SEM{MNI,MNS,UME,MNU} and SHMMAXPGS.
Add TMPFS and agr.
Enable some pseudo devices.
2008-07-07 18:30:41 +00:00
gmcgarry
5aa0bc7608 Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
accesses are permitted on them.  Therefore, change movl to movw.  No change to
machine code generated.
2008-07-07 13:01:16 +00:00
skrll
d5a5ca5266 G/C HP700_SOFTINTR_* 2008-07-07 12:29:30 +00:00
skrll
a5b2972af9 Update a comment. 2008-07-07 12:18:45 +00:00
tsutsui
bc6f8d1486 Split device_t/softc with misc cosmetic changes. 2008-07-06 13:29:50 +00:00
cegger
02018c5980 ryo shimizu: gscsehci doesn't work.
Correctly initialize softc. Fix from PR port-i386/39109.
2008-07-06 08:01:15 +00:00
bouyer
d80637780e xbd_map_align() can be called from interrupt context (though
xbd_handler()->dk_iodone()->dk_start()->xbd_start()), so don't try
to sleep in uvm_km_alloc().
2008-07-05 19:06:01 +00:00
tsutsui
0f31d9dee9 Split device_t/softc with misc related changes. 2008-07-05 08:46:25 +00:00
kiyohara
4a30efc297 Fix config error. required to include files.bluetooth. 2008-07-04 17:31:07 +00:00
bsh
928b18eabf fix slow TOD clock. 2008-07-04 11:59:45 +00:00
skrll
0e6408c2a9 Pull in harmony_round_buffersize fix from OpenBSD. 2008-07-04 11:18:02 +00:00
skrll
f73f03c598 Only process stuff if we're playing. This fixes panic if attempting to
record.

Part of PR/35239.

Progress is being made on getting recording working, but it's not quite
there yet.
2008-07-04 11:14:19 +00:00
drochner
abec36fc7a split device/softc for ioapic 2008-07-03 15:44:19 +00:00
drochner
54745077e8 Remove "struct device" from "struct pic", where it was only real
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64
2008-07-03 14:02:24 +00:00
matt
0b6e401be7 Use the same login in pmap_kenter_pa when removing an unmamanged mapping
as in pmap_kremove (otherwise kro_mappings will become incorrect).
2008-07-03 13:02:12 +00:00
matt
db24f36199 From: Andy Shevchenko <andy.shevchenko@teleca.com>
The OMAP2 ref timer providing a base for generic timecounting was configured
to reload at HZ similarly to the clock providing the tick interrupt at HZ.
This and the fact that the tc framework expected a full 32 bit counter range
resulted in time running ~40 times faster than normal.

Configure the ref timer as a full range counter to fix this.
2008-07-03 06:19:18 +00:00
matt
b2abaa8158 Nuke some debugging aprint's. 2008-07-03 06:18:01 +00:00
matt
74055e51f8 Nuke some remaining debug aprint 2008-07-03 06:17:24 +00:00
matt
45df48f8af The performance counter based delay function depends on a correct frequency
setting, do this for H4, which runs on a known fixed core frequency.

Submitted by Irme Deak <imre.deak@teleca.com>
2008-07-03 06:16:17 +00:00
matt
6a96a3909c For armv6(VIPT), change the rules for mapping via kenter_pa. Allow readonly
pages to be mapped by different cache color indexes.
2008-07-03 06:13:41 +00:00
matt
52956f334c Fix a typo in the delay loop time delta calculation.
From Irme Desk <imre.deak@teleca.com>.
2008-07-03 06:12:02 +00:00
matt
c62a0ac493 Add AT91 support. (XXX need to finish timecounter support). 2008-07-03 01:15:38 +00:00
rmind
160268aca6 Remove proc_representative_lwp(), use a simple LIST_FIRST() instead.
OK by <ad>.
2008-07-02 19:49:58 +00:00
drochner
14071b7c24 remove some obviously obsolete definitions 2008-07-02 19:18:52 +00:00
ad
b94f79f0e8 Replce exec_map with a pool. Proposed on tech-kern@, reviewed by chs@. 2008-07-02 17:28:54 +00:00
nakayama
773fffc601 UltraSPARCs don't have floating point queue, and reading %fq regsiter
will cause illegal instruction trap. So remove the code handling them.
2008-07-02 12:15:19 +00:00
macallan
9403c29e8e actually initialize sc_dmacmd and get rid of getnodebypci() - use
pcidev_to_ofdev() instead
noticed by Marco Trillo, tested on my iBook G4
2008-07-02 03:20:19 +00:00
bouyer
802c7519a2 Raise ci_idepth (and switch to interrupt stack on i386) becore calling
xenevt_event().
2008-07-01 18:49:20 +00:00
bouyer
42f814d7d2 spllower(): return immediatly if ci->ci_ilevel <= nlevel, as the asm
versions do.
2008-07-01 18:44:50 +00:00
mrg
1a29454088 hack around PR#38480:
- rename MTRR_I686_NVAR to MTRR_I686_NVAR_MAX, still set to 8
- store mtrr VCNT value into i686_mtrr_vcnt.  if it is less than 8,
  zero out the relevant parts of mtrr_raw[].msraddr
- replace all usage of MTRR_I686_NVAR with either i686_mtrr_vcnt or
  with MTRR_I686_NVAR_MAX as appropriate
- in i686_mtrr_reload() and mtrr_init_first() don't use mtrr_raw[]
  addresses of 0

still needs a bunch of reworking to handle VCNT > 8 case.
2008-07-01 15:27:34 +00:00
tsutsui
4a193f31ac Split device_t/softc with misc cosmetic changes. 2008-07-01 15:15:34 +00:00
tsutsui
5886a7c394 - avoid extra offset calculation in region/multi ops
- fix swapped dist/src in copy_region ops
2008-07-01 15:14:32 +00:00
nakayama
3644fd9574 Fix commented sparc derived code. 2008-06-30 14:16:13 +00:00
nakayama
fa9b47137f Avoid use of "<< TSTATE_PSTATE_SHIFT". 2008-06-30 14:12:20 +00:00
bsh
db59b3aaa6 KERNEL_BASE_EXT is mandatory after matt-armv6 merge 2008-06-30 08:18:11 +00:00
perry
10cfc49bff __FUNCTION__ -> __func__ 2008-06-30 00:46:41 +00:00