The NetBSD Project

CVS log for src/sys/arch/x86/isa/isa_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / isa

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.52 / (download) - annotate - [select for diffs], Fri Apr 15 17:53:44 2022 UTC (9 months, 2 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.51: +11 -2 lines
Diff to previous 1.51 (colored)

Disable FADT LEGACY_DEVICES flag test.

This test had the unintended side-effect of blocking the lm(4) driver
from attaching on more than one system. Go back to (slow) probing of
ISA devices for now to restore existing functionality.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Dec 17 06:28:20 2021 UTC (13 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

Correct copypaste comment grammar.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Dec 17 06:26:14 2021 UTC (13 months, 1 week ago) by skrll
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

Trailing whitespace

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 16 13:15:01 2021 UTC (15 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.48: +7 -2 lines
Diff to previous 1.48 (colored)

Skip legacy device detection for VMware guests with ACPI enabled.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Oct 15 19:01:52 2021 UTC (15 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.47: +6 -2 lines
Diff to previous 1.47 (colored)

Add missing acpi include

Revision 1.47 / (download) - annotate - [select for diffs], Fri Oct 15 18:44:53 2021 UTC (15 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.46: +12 -5 lines
Diff to previous 1.46 (colored)

If ACPI indicates that there are no user visible devices on the LPC or ISA
bus, set the "no-legacy-devices" property on isa to bypass indirect
configuration of ISA devices.

Revision 1.46 / (download) - annotate - [select for diffs], Sat May 2 16:44:35 2020 UTC (2 years, 8 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.45: +5 -2 lines
Diff to previous 1.45 (colored)

Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
  to VM_GUEST_XENPVH in this entry point.
  Most of the boot procedure (especially page table setup and switch to
  paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
  native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
  and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
  in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
  (which uses a simple hypercall that is available early) and switch to
  xencons when we can use pmap_kenter_pa().

Revision 1.45 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (2 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.44: +2 -6 lines
Diff to previous 1.44 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.44.10.1 / (download) - annotate - [select for diffs], Sun Apr 12 17:25:52 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.44: +2 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Get rid of xen-specific ci_x* interrupt handling:
- use the general SIR mechanism, reserving 3 more slots for IPL_VM, IPL_SCHED
  and IPL_HIGH
- remove specific handling from C sources, or change to ipending
- convert IPL number to SIR number in various places
- Remove XUNMASK/XPENDING in assembly or change to IUNMASK/IPENDING
- remove Xen-specific ci_xsources, ci_xmask, ci_xunmask, ci_xpending from
  struct cpu_info
- for now remove a KASSERT that there are no pending interrupts in
  idle_block(). We can get there with some software interrupts pending
  in autoconf XXX needs to be looked at.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:53 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.39: +8 -28 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:33 2019 UTC (3 years, 11 months ago) by cherry
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

We reorganise definitions for XEN source support as follows:

XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:45 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.38.2.2: +7 -4 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.43 / (download) - annotate - [select for diffs], Tue Dec 25 06:50:12 2018 UTC (4 years, 1 month ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.42: +6 -2 lines
Diff to previous 1.42 (colored)

Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c

While at it, separate the source function tracking so that the interrupt
paths are truly independant.

Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.

In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.

Happy Christmas!

Revision 1.42 / (download) - annotate - [select for diffs], Mon Dec 10 15:08:23 2018 UTC (4 years, 1 month ago) by maxv
Branch: MAIN
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

Remove unused mbuf.h includes.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Dec 3 19:51:09 2018 UTC (4 years, 1 month ago) by cherry
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Allow isa_machdep.c to compile in the case of no ioapic support.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:48 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.38.2.1: +2 -25 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored)

Ssync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Mon Sep 10 07:04:08 2018 UTC (4 years, 4 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.39: +2 -25 lines
Diff to previous 1.39 (colored)

Remove the last usage of xen_pirq_alloc() and pirq_establish()
outside of the x86 interrupt and xen events framework.

This allows us to finally unify the interrupt path for both Xen
and x86 as changes 'internal' to the subsystem.

This change has been kindly tested on real hardware by gson@

The change is not cosmetic and may thus affect users on various
hardware configurations - especially involving legacy hardware.

I look forward to bug reports.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:47 2018 UTC (4 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.38: +8 -11 lines
Diff to previous 1.38 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Sun Jun 24 13:35:33 2018 UTC (4 years, 7 months ago) by jdolecek
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.38: +8 -11 lines
Diff to previous 1.38 (colored)

add support for kern.intr.list aka intrctl(8) 'list' for xen

event_set_handler() and pirq_establish() now have extra intrname
parameter; shared intr_create_intrid() is used to provide the value

xen drivers were changed to pass the specific driver instance
name as the xname, e.g.  'vcpu0 clock' instead just 'clock', or
'xencons0' instead of 'xencons'

associated evcnt is now changed to use intrname - this matches native x86

Revision 1.38 / (download) - annotate - [select for diffs], Wed Dec 13 16:30:18 2017 UTC (5 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

Fixes for physical interrupts on Xen:
- do not cast int * to intr_handle_t *, they're not the same size
- legacy_irq is not always -1 for ioapic interrupts, test pic_type instead
- change irq2port[] to hold (port + 1) so that 0 is an invalid value
- add KASSERTs to make sure vect, port or irq values extracted from arrays are
  valid (or that they are invalid before write)
- for the !ioapic case, we still need to do PHYSDEVOP_ASSIGN_VECTOR and
  bind_pirq_to_evtch().

now XEN3_DOM0 boots again

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.32: +42 -6 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

update from HEAD

Revision 1.37 / (download) - annotate - [select for diffs], Sat Nov 4 14:56:48 2017 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c

The purpose of this change is to expose the x86/include/intr.h API
to drivers. Specifically the following functions:

   void *intr_establish_xname(...);
   void *intr_establish(...);
   void intr_disestablish(...);

while maintaining the old API from xen/include/evtchn.h, specifically
the following functions:

    int event_set_handler(...);
    int event_remove_handler(...);

This is so that if things break, we can keep using the old API until
everything stabilises. This is a stepping stone towards getting the
actual XEN event callback path rework code in place - which can be
done opaquely behind the intr.h API - NetBSD/XEN specific drivers that
have been ported to the intr.h API should then work without
significant further modifications.

Revision 1.32.16.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32.16.2: +32 -4 lines
Diff to previous 1.32.16.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jul 21 12:27:48 2017 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Fix uninitialised use of variable mpih

Pointed out by joerg@

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sun Jul 16 06:14:24 2017 UTC (5 years, 6 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.35.2.1: +405 -0 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

2739767

Revision 1.35.2.1, Sun Jul 16 06:14:23 2017 UTC (5 years, 6 months ago) by cherry
Branch: perseant-stdc-iso10646
Changes since 1.35: +0 -405 lines
FILE REMOVED

file isa_machdep.c was added on branch perseant-stdc-iso10646 on 2017-07-16 06:14:24 +0000

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 16 06:14:23 2017 UTC (5 years, 6 months ago) by cherry
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base
Branch point for: perseant-stdc-iso10646
Changes since 1.34: +31 -3 lines
Diff to previous 1.34 (colored)

Remove the xen specific interrupt type for the x86 intr_handle_t
For this to work, we use the evtchn.c:get_pirq_to_evtchn() glue
function to make things easier.

Revision 1.32.16.2 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:59 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.32.16.1: +12 -4 lines
Diff to previous 1.32.16.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:06 2016 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.33: +12 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Sat Oct 15 16:46:14 2016 UTC (6 years, 3 months ago) by jdolecek
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.33: +12 -4 lines
Diff to previous 1.33 (colored)

provide intr xname

Revision 1.32.16.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

Sync with HEAD

Revision 1.33 / (download) - annotate - [select for diffs], Mon Apr 27 06:51:40 2015 UTC (7 years, 9 months ago) by knakahara
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored)

add intr_handle_t and let pci_intr_handle_t use it.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:05 2012 UTC (10 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.31: +17 -34 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

sync with head

Revision 1.31.6.3 / (download) - annotate - [select for diffs], Tue Mar 6 18:26:39 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.31.6.2: +17 -34 lines
Diff to previous 1.31.6.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync to -current

Revision 1.31.6.2 / (download) - annotate - [select for diffs], Tue Mar 6 09:56:12 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.31.6.1: +34 -17 lines
Diff to previous 1.31.6.1 (colored) to branchpoint 1.31 (colored)

sync to -current

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Sun Mar 4 00:46:16 2012 UTC (10 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.31: +17 -34 lines
Diff to previous 1.31 (colored)

sync to latest -current.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Feb 28 20:26:37 2012 UTC (10 years, 11 months ago) by mbalmer
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base4, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.31: +17 -34 lines
Diff to previous 1.31 (colored)

cosmetic, spelling, and grammar adjustments

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 18 23:43:36 2011 UTC (11 years, 3 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.30: +51 -2 lines
Diff to previous 1.30 (colored)

Factor device_isa_register() and device_pci_register() out of
device_register() and stick the new routines into isa_machdep.c and
pci_machdep.c, respectively.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 1 15:10:31 2011 UTC (11 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.29: +2 -20 lines
Diff to previous 1.29 (colored)

Add bus_dma overrides. From dyoung

Revision 1.24.2.3 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:29 2011 UTC (11 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.2: +25 -22 lines
Diff to previous 1.24.2.2 (colored) to branchpoint 1.24 (colored) next main 1.25 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 27 09:32:11 2011 UTC (11 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.28: +25 -22 lines
Diff to previous 1.28 (colored)

use c99 struct initializers

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:16 2009 UTC (13 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24.2.1: +10 -2 lines
Diff to previous 1.24.2.1 (colored) to branchpoint 1.24 (colored)

Sync with HEAD.

Revision 1.18.20.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:50 2009 UTC (13 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.20.2: +10 -2 lines
Diff to previous 1.18.20.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 19 15:04:27 2009 UTC (13 years, 5 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Aug 18 17:02:00 2009 UTC (13 years, 5 months ago) by dyoung
Branch: MAIN
Changes since 1.26: +10 -2 lines
Diff to previous 1.26 (colored)

These are stragglers from my last commit ("Let us safely detach
the ISA bus and devices attaching to the ISA bus").  Define
isa_detach_hook() in MD ISA implementations.  Define isa_dmadestroy().

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:18:44 2009 UTC (13 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.24: +8 -9 lines
Diff to previous 1.24 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.18.20.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:10 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18.20.1: +17 -26 lines
Diff to previous 1.18.20.1 (colored) to branchpoint 1.18 (colored)

sync with head.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:56 2009 UTC (13 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.23.4.1: +8 -9 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Apr 19 14:11:37 2009 UTC (13 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jymxensuspend-base
Changes since 1.25: +7 -8 lines
Diff to previous 1.25 (colored)

cpuctl:

- Add interrupt shielding (direct hardware interrupts away from the
  specified CPUs). Not documented just yet but will be soon.

- Redo /dev/cpu time_t compat so no kernel changes are needed.

x86:

- Make intr_establish, intr_disestablish safe to use when !cold.

- Distribute hardware interrupts among the CPUs, instead of directing
  everything to the boot CPU.

- Add MD code for interrupt sheilding. This works in most cases but there is
  a bug where delivery is not accepted by an LAPIC after redistribution. It
  also needs re-balancing to make things fair after interrupts are turned
  back on for a CPU.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 14 14:46:08 2009 UTC (13 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.

Revision 1.23.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:09 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

Revision 1.18.16.4 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:38 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.18.16.3: +0 -1 lines
Diff to previous 1.18.16.3 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

Sync with HEAD.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Dec 18 12:18:20 2008 UTC (14 years, 1 month ago) by cegger
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.23: +2 -3 lines
Diff to previous 1.23 (colored)

remove unused malloc.h

Revision 1.18.16.3 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:11 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18.16.2: +4 -3 lines
Diff to previous 1.18.16.2 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.19.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:37 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.19.2.1: +10 -17 lines
Diff to previous 1.19.2.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.20.2.2 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:57 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.20.2.1: +6 -5 lines
Diff to previous 1.20.2.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 3 14:02:25 2008 UTC (14 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.22: +6 -5 lines
Diff to previous 1.22 (colored)

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

Revision 1.18.16.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:02 2008 UTC (14 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18.16.1: +4 -12 lines
Diff to previous 1.18.16.1 (colored) to branchpoint 1.18 (colored)

Sync with HEAD.

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:18 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.20: +6 -14 lines
Diff to previous 1.20 (colored)

Sync with head.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jun 27 11:03:14 2008 UTC (14 years, 7 months ago) by cegger
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

struct device * -> device_t

Revision 1.21 / (download) - annotate - [select for diffs], Fri Jun 27 08:59:36 2008 UTC (14 years, 7 months ago) by cegger
Branch: MAIN
Changes since 1.20: +5 -13 lines
Diff to previous 1.20 (colored)

ansify

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:50 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.18.18.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:04:58 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.18.18.1: +3 -3 lines
Diff to previous 1.18.18.1 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head

Revision 1.18.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:50 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.18: +3 -10 lines
Diff to previous 1.18 (colored)

Sync with HEAD.

Revision 1.20 / (download) - annotate - [select for diffs], Fri May 30 19:03:10 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Add a 'known_mpsafe' argument to intr_establish().

Revision 1.18.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:03 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

sync with head.

Revision 1.18.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:28 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:40 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.18: +2 -9 lines
Diff to previous 1.18 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.17.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:39 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:15 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.16.12.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:51 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:22 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.2: +6 -5 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:03:17 2007 UTC (15 years, 6 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Jul 9 20:52:38 2007 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Sun Apr 29 12:37:41 2007 UTC (15 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.16: +6 -5 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Replace another simplelock.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:24 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.15: +5 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:50 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.1: +5 -2 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 21 20:41:26 2007 UTC (15 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.15: +5 -2 lines
Diff to previous 1.15 (colored)

add a pair of new bus_dma(9) functions:
	int _bus_dmatag_subregion(bus_dma_tag_t tag,
				  bus_addr_t min_addr,
				  bus_addr_t max_addr,
				  bus_dma_tag_t *newtag,
				  int flags)
	void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to.  this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12: +14 -16 lines
Diff to previous 1.12 (colored)

sync with head.

Revision 1.13.22.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:42 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.13.22.1: +8 -8 lines
Diff to previous 1.13.22.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.13.20.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:38 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.13: +14 -16 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:39 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.14: +8 -8 lines
Diff to previous 1.14 (colored)

__unused removal on arguments; approved by core.

Revision 1.13.22.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.13: +17 -19 lines
Diff to previous 1.13 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:44 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.13: +17 -19 lines
Diff to previous 1.13 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:47 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

merge ktrace-lwp.

Revision 1.7.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.3: +3 -3 lines
Diff to previous 1.7.2.3 (colored) next main 1.8 (colored)

Sync with HEAD. Here we go again...

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:29 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with -current

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Thu Apr 21 18:40:47 2005 UTC (17 years, 9 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Pull up revision 1.12 (requested by yamt in ticket #175):
tweak x86 bus_dma code so that it can be used by xen port.
- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Apr 16 07:53:35 2005 UTC (17 years, 9 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

tweak x86 bus_dma code so that it can be used by xen port.

- distinguish paddr_t and bus_addr_t.
  for xen, use bus_addr_t in the sense of machine address.
- move _X86_BUS_DMA_PRIVATE part of bus.h into bus_private.h.
- remove special handling of xen_shm.  we can always grab
  machine address from pte.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:30 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.2: +2 -2 lines
Diff to previous 1.7.2.2 (colored)

Fix the sync with head I botched.

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:43 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7.2.1: +0 -0 lines
Diff to previous 1.7.2.1 (colored)

Sync with HEAD.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:04 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.7: +4 -8 lines
Diff to previous 1.7 (colored)

Sync with HEAD

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jun 20 18:04:08 2004 UTC (18 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: netbsd-3, kent-audio2
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Remove the "ID" component of the x86 bus_dma flags, since these are no
longer "ISA DMA" specific flags.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 30 21:19:54 2003 UTC (19 years, 3 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

* keep track of PCI buses that aren't known by firmware, but are found
  by NetBSD
* use this info in in intr_find_mpmapping
* get rid of the last argument to intr_find_mpmapping, it was redundant

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 16 22:56:29 2003 UTC (19 years, 3 months ago) by fvdl
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

Add hooks and structures to allow the MP table intr mapping code a
better shot at finding a mapping. For PCI interrupts, if a bus
has no mappings, try its parent, with the swizzled pin, and the
bridge's device number.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 7 16:30:33 2003 UTC (19 years, 5 months ago) by agc
Branch: MAIN
Changes since 1.7: +3 -7 lines
Diff to previous 1.7 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 7 21:33:58 2003 UTC (19 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.6: +48 -630 lines
Diff to previous 1.6 (colored)

Generalize bounce buffers, and use them for 32 bit PCI if needed.
Make ALLOCNOW the default iff bouncing might be needed (this has
no effect on i386 because ISA DMA devices already had to use
ALLOCNOW, and PCI isn't bounced (yet), since we don't do > 4G
at this point for i386.

Revision 1.6 / (download) - annotate - [select for diffs], Mon May 5 12:55:44 2003 UTC (19 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +2 -7 lines
Diff to previous 1.5 (colored)

Move definition of ISA_DMA_BOUNCE_THRESHOLD to dev/isa/isareg.h.

Revision 1.5 / (download) - annotate - [select for diffs], Sat May 3 18:11:08 2003 UTC (19 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

DMA, not dma nor Dma.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 4 01:07:36 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3 (colored)

s/i386_isa_chipset/x86_isa_chipset/

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 2 18:27:14 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.2: +2 -10 lines
Diff to previous 1.2 (colored)

Clean up some unneeded "mca.h" and "eisa.h" includes, make one that is
needed dependent on !__x86_64__. To be revisited later.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 2 18:11:03 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored)

x86_64 has no mca.h and eisa.h (should perhaps just generate empty ones)

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 27 00:28:08 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN

Moved here from i386/isa

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>