| History log of /src/sys/arch/xen/include/bus_private.h |
| Revision | | Date | Author | Comments |
| 1.10 |
| 14-Feb-2019 |
cherry | Snag the final bits of PV only code to conditionally compile under -DXENPV
This completes the bifurcation.
The next step is to add -DXENPVHVM code.
|
| 1.9 |
| 23-Jan-2008 |
bouyer | branches: 1.9.98; Merge the bouyer-xeni386 branch. This brings in PAE support to NetBSD xeni386 (domU only). PAE support is enabled by 'options PAE', see the new XEN3PAE_DOMU and INSTALL_XEN3PAE_DOMU kernel config files.
See the comments in arch/i386/include/{pte.h,pmap.h} to see how it works. In short, we still handle it as a 2-level MMU, with the second level page directory being 4 pages in size. pmap switching is done by switching the L2 pages in the L3 entries, instead of loading %cr3. This is almost required by Xen, which handle the last L2 page (the one mapping 0xc0000000 - 0xffffffff) in a very special way. But this approach should also work for native PAE support if ever supported (in fact, the pmap should almost suport native PAE, what's missing is bootstrap code in locore.S).
|
| 1.8 |
| 22-Nov-2007 |
bouyer | branches: 1.8.6; Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support to NetBSD/Xen, both Dom0 and DomU.
|
| 1.7 |
| 28-Aug-2006 |
bouyer | branches: 1.7.12; 1.7.30; 1.7.32; 1.7.36; 1.7.38; Some bus_dma(9) fixes for Xen: - Attempt to gracefully recover from a failed decrease_reservation or increase_reservation, by avoiding physical memory loss. - always store a machine address in ds_addr; this avoids some mistakes where machine address would in some case be freed at physical address, or mapped as physical address.
|
| 1.6 |
| 16-Feb-2006 |
perry | branches: 1.6.2; 1.6.12; Change "inline" back to "__inline" in .h files -- C99 is still too new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
|
| 1.5 |
| 24-Dec-2005 |
perry | branches: 1.5.2; 1.5.4; 1.5.6; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
| 1.4 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
| 1.3 |
| 22-Aug-2005 |
bouyer | branches: 1.3.6; Rename _PRIVATE_BUS_DMAMEM_ALLOC_RANGE to _BUS_DMAMEM_ALLOC_RANGE for consistency with other macros defined in bus_private.h. Pointed out by YAMAMOTO Takashi.
|
| 1.2 |
| 20-Aug-2005 |
bouyer | Deal with the machine address space being non-contigous in bus_dmamem_alloc(): - Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to find the upper bound for our machine address space (and this can change when we swap pages with the hypervisor). - implement _xen_bus_dmamem_alloc_range(), which will request a contigous set of pages to the hypervisor if the pages returned by uvm_pglistalloc() don't fit the constraints. We can't deal with the low/high constraints yet, because Xen doesn't offer a way to get pages in a specific ranges of addresses.
Based on patches from Dave Thompson (in private mail), with heavy hacking by me.
|
| 1.1 |
| 16-Apr-2005 |
yamt | branches: 1.1.2; 1.1.4; 1.1.6; add files which i forgot to add with arch/x86/x86/bus_dma.c rev.1.21.
|
| 1.1.6.4 |
| 04-Feb-2008 |
yamt | sync with head.
|
| 1.1.6.3 |
| 07-Dec-2007 |
yamt | sync with head
|
| 1.1.6.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
| 1.1.6.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.1.4.2 |
| 29-Apr-2005 |
kent | sync with -current
|
| 1.1.4.1 |
| 16-Apr-2005 |
kent | file bus_private.h was added on branch kent-audio2 on 2005-04-29 11:28:29 +0000
|
| 1.1.2.5 |
| 16-Sep-2006 |
ghen | Pull up following revision(s) (requested by bouyer in ticket #1510): sys/arch/xen/x86/xen_bus_dma.c: revision 1.7 sys/arch/xen/x86/xen_bus_dma.c: revision 1.8 sys/arch/x86/include/bus_private.h: revision 1.6 sys/arch/x86/x86/bus_dma.c: revision 1.30 sys/arch/xen/include/bus_private.h: revision 1.7 Some bus_dma(9) fixes for Xen: - Attempt to gracefully recover from a failed decrease_reservation or increase_reservation, by avoiding physical memory loss. - always store a machine address in ds_addr; this avoids some mistakes where machine address would in some case be freed at physical address, or mapped as physical address. Wrap some printfs in #ifdef DEBUG, as we should not leak memory any more when bus_dma memory allocation fails.
|
| 1.1.2.4 |
| 25-Aug-2005 |
tron | Pull up following revision(s) (requested by bouyer in ticket #697): sys/arch/x86/x86/bus_dma.c: revision 1.23 sys/arch/x86/include/bus_private.h: revision 1.3 sys/arch/xen/include/bus_private.h: revision 1.3 Rename _PRIVATE_BUS_DMAMEM_ALLOC_RANGE to _BUS_DMAMEM_ALLOC_RANGE for consistency with other macros defined in bus_private.h. Pointed out by YAMAMOTO Takashi.
|
| 1.1.2.3 |
| 25-Aug-2005 |
tron | Pull up following revision(s) (requested by bouyer in ticket #696): sys/arch/xen/x86/xen_bus_dma.c: revision 1.1 sys/arch/xen/include/bus_private.h: revision 1.2 sys/arch/xen/conf/files.xen: revision 1.28 Deal with the machine address space being non-contigous in bus_dmamem_alloc(): - Define _BUS_AVAIL_END to 0xffffffff, as we don't have an easy way to find the upper bound for our machine address space (and this can change when we swap pages with the hypervisor). - implement _xen_bus_dmamem_alloc_range(), which will request a contigous set of pages to the hypervisor if the pages returned by uvm_pglistalloc() don't fit the constraints. We can't deal with the low/high constraints yet, because Xen doesn't offer a way to get pages in a specific ranges of addresses. Based on patches from Dave Thompson (in private mail), with heavy hacking by me.
|
| 1.1.2.2 |
| 21-Apr-2005 |
tron | Pull up revision 1.1 (requested by yamt in ticket #175): add files which i forgot to add with arch/x86/x86/bus_dma.c rev.1.21.
|
| 1.1.2.1 |
| 16-Apr-2005 |
tron | file bus_private.h was added on branch netbsd-3 on 2005-04-21 18:43:01 +0000
|
| 1.3.6.2 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
| 1.3.6.1 |
| 22-Aug-2005 |
skrll | file bus_private.h was added on branch ktrace-lwp on 2005-11-10 14:00:34 +0000
|
| 1.5.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
| 1.5.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.5.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
| 1.6.12.1 |
| 14-Sep-2006 |
riz | Pull up following revision(s) (requested by bouyer in ticket #150): sys/arch/xen/x86/xen_bus_dma.c: revision 1.7 sys/arch/xen/x86/xen_bus_dma.c: revision 1.8 sys/arch/x86/include/bus_private.h: revision 1.6 sys/arch/x86/x86/bus_dma.c: revision 1.30 sys/arch/xen/include/bus_private.h: revision 1.7 Some bus_dma(9) fixes for Xen: - Attempt to gracefully recover from a failed decrease_reservation or increase_reservation, by avoiding physical memory loss. - always store a machine address in ds_addr; this avoids some mistakes where machine address would in some case be freed at physical address, or mapped as physical address. Wrap some printfs in #ifdef DEBUG, as we should not leak memory any more when bus_dma memory allocation fails.
|
| 1.6.2.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
| 1.7.38.2 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
| 1.7.38.1 |
| 08-Dec-2007 |
mjf | Sync with HEAD.
|
| 1.7.36.1 |
| 21-Nov-2007 |
bouyer | Use an appropriate _BUS_AVAIL_END for _LP64
|
| 1.7.32.2 |
| 23-Mar-2008 |
matt | sync with HEAD
|
| 1.7.32.1 |
| 09-Jan-2008 |
matt | sync with HEAD
|
| 1.7.30.1 |
| 27-Nov-2007 |
joerg | Sync with HEAD. amd64 Xen support needs testing.
|
| 1.7.12.1 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
| 1.8.6.1 |
| 13-Jan-2008 |
bouyer | Work in progress on xeni386 PAE support: Make xeni386 build with a 64bit paddr_t. For this vaddr_t vs paddr_t vs pointers usages had to be clarified. If 'options PAE' is present in a Xen3 kernel, switch paddr_t, pd_entry_t and pt_entry_t to 64bits, and add the PAE entry in the __xen_guest ELF section.
|
| 1.9.98.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|