Xen PV disk driver in OVMF.
> I think the infrastructure needed to port netfront driver is already
> there. Just that the driver is not yet there.
>
> Anthony, am I right?
That correct. But the infrastructure might need some refactori
() using the same 16-bit compare and exchange, making
> this module fully architecture agnostic.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Anthony PER
On Mon, Feb 23, 2015 at 05:54:03PM +, Ard Biesheuvel wrote:
> On 23 February 2015 at 15:16, Anthony PERARD
> wrote:
> > On Thu, Feb 12, 2015 at 07:19:15PM +0800, Ard Biesheuvel wrote:
> >> This patch updates XenBusDxe to use the 16-bit compare and exchange
> >>
inding.h
>ComponentName.c
>ComponentName.h
> - InterlockedCompareExchange16.c
> - InterlockedCompareExchange16.h
>GrantTable.c
>GrantTable.h
>EventChannel.c
> @@ -45,14 +43,7 @
., as a UEFI Driver Model implementation for a PCI
> device.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Acked-by: Laszlo Ersek
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Anthony
gt; abstract XENIO_PROTOCOL for XenBusDxe to bind against.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Reviewed-by: Laszlo Ersek
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Anthony PERARD
--
Anthony PERARD
> of the code, such as a Xen console SerialPortLib driver.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Reviewed-by: Laszlo Ersek
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Anthony PER
that it can support non-PCI Xen implementations
> such as Xen on ARM.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Reviewed-by: Laszlo Ersek
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Anthony P
v,
>IN INTN Operation,
>IN OUT VOID *Arguments
>)
> {
> - ASSERT (Dev->Hyperpage != NULL);
> - return XenHypercall2 ((UINT8*)Dev->Hyperpage +
> __HYPERVISOR_event_channel_op * 32,
> + return XenHypercall2 (__HYPERVISOR_event_channel_op,
>
es on 32-bit architectures, which may
> require runtime library support.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Reviewed-by: Stefano Stabellini
> Reviewed-by: Laszlo Ersek
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Antho
ntribution Agreement 1.0
> Reviewed-by: Stefano Stabellini
> Acked-by: Laszlo Ersek
> Signed-off-by: Ard Biesheuvel
Reviewed-by: Anthony PERARD
--
Anthony PERARD
--
Download BIRT iHub F-Type - The Free Ente
On Thu, Nov 13, 2014 at 05:27:08PM +, Anthony PERARD wrote:
> Hi,
>
> I've took ovmf-ia32-msft-xen.patch from Scott Duplichan and made a few
> changes.
>
> So the first two patchs of this series changes the type of some
> variables/arguments/fields in order to avo
On Thu, Nov 13, 2014 at 07:00:18PM +0100, Laszlo Ersek wrote:
> On 11/13/14 18:55, Anthony PERARD wrote:
> > On Thu, Nov 13, 2014 at 12:13:23PM +0100, Laszlo Ersek wrote:
>
> >> But nasm emits the same warning. Any ideas?
> >
> > Yes, put lock and btr
The fix, having "lock" and the locked instruction on the same line in
the source.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/X64/TestAndClearBit.nasm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
On Thu, Nov 13, 2014 at 12:13:23PM +0100, Laszlo Ersek wrote:
> Anthony,
>
> On 11/06/14 12:24, Anthony PERARD wrote:
> > The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
> > X64/TestAndClearBit.asm to X64/TestAndClearBit.nasm
> >
>
This patch replace some types in GrantTable and the argument Index of
XenHypercallHvmGetParam to what the types should be.
This avoid to have type cast in code.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/GrantTable.c | 4
cott patch and the many cast
which I think are correct and cannot really be avoided.
Thanks,
Anthony PERARD (2):
OvmfPkg/XenBusDxe: In XenStore, replace type of Len from UINTN to
UINT32.
OvmfPkg/XenBusDxe: Fix some types.
Scott Duplichan (2):
OvmfPkg/XenBusDxe: fix VS2010 build failures
From: Scott Duplichan
This patch contain only type cast.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/EventChannel.c | 6 +++---
OvmfPkg/XenBusDxe/GrantTable.c | 4 ++--
OvmfPkg/XenBusDxe
From: Scott Duplichan
This patch contain type casts and replace one * operation by a
MultU64x32() call.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Scott Duplichan
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenPvBlkDxe/BlockFront.c | 16
OvmfPkg
type cast were it does not make sense to
have them.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
CC: Xen Devel
---
OvmfPkg/XenBusDxe/XenStore.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/OvmfPkg/XenBusDxe
,
> > and simply shutting up compiler warnings would be low on my list of
> > suspects :)
> >
> > I think I'll just go for this instead:
> >
> > > UINTN PmCmd;
> > > UINTN Pmba;
> > > UINTN PmRegMisc;
> > >
> >
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/XenHypercall.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/OvmfPkg/XenBusDxe/XenHypercall.h b/OvmfPkg/XenBusDxe/XenHypercall.h
index 3627b18..088037b 100644
--- a
k/src/edk2/OvmfPkg/XenBusDxe/XenBusDxe.h:86:31: note:
> previous definition is here
> typedef struct _XENBUS_DEVICE XENBUS_DEVICE;
I'm going to send a patch to try to fix this, hopefully that will be
enough.
--
Anthony PERARD
-
On Tue, Nov 11, 2014 at 04:12:24PM -0800, Jordan Justen wrote:
> EDK II code should not include system include files.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jordan Justen
> Cc: Anthony PERARD
> Cc: Scott Duplichan
> ---
> OvmfPkg/
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/TestAndClearBit.asm to Ia32/TestAndClearBit.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/Ia32/TestAndClearBit.S| 13
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
X64/TestAndClearBit.asm to X64/TestAndClearBit.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/X64/TestAndClearBit.S | 12
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
X64/InterlockedCompareExchange16.asm to X64/InterlockedCompareExchange16.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/X64/InterlockedCompareExchange16.S
Conversion done using the tools BaseTools/Scripts/ConvertMasmToNasm.py
Change in V2:
- one commit per assembly source files.
Anthony PERARD (6):
OvmfPkg XenBusDxe: Convert Ia32/hypercall.asm to NASM
OvmfPkg XenBusDxe: Convert Ia32/InterlockedCompareExchange16.asm to
NASM
OvmfPkg
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/InterlockedCompareExchange16.asm to Ia32/InterlockedCompareExchange16.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/Ia32/InterlockedCompareExchange16.S
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
Ia32/hypercall.asm to Ia32/hypercall.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/Ia32/hypercall.S | 22 --
.../Ia32
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
X64/hypercall.asm to X64/hypercall.nasm
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/X64/hypercall.S | 22 --
.../X64
g
> then the script should produce individual commits for each assembly
> file.
I did not know about it :(, Thanks.
I haven't try to run the script with -h or --help ..., but only once
without any parameter, which did not display
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert
all *.asm to *.nasm.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
.../XenBusDxe/Ia32/InterlockedCompareExchange16.S | 15 ---
...nge16.asm
.. to avoid the use .member = value syntax as VS does not support it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/XenBus.c | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/OvmfPkg/XenBusDxe
Tested only with GCC.
Anthony PERARD (4):
OvmfPkg/Include/...Xen: Convert __i386__/__x86_64__ to
MDE_CPU_IA32/MDE_CPU_X64.
OvmfPkg/Xen*: Pass struct XENSTORE_TRANSACTION argument as a pointer
OvmfPkg/XenBusDxe: Fix initialisation of gXenBusPrivateData
OvmfPkg/XenBusDxe: Fix
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/Include/IndustryStandard/Xen/arch-x86/xen.h | 8
OvmfPkg/Include/IndustryStandard/Xen/hvm/params.h | 2 +-
OvmfPkg/Include/IndustryStandard/Xen/io/blkif.h | 6 +++---
OvmfPkg/Include
As EDK II does not allow calls with a struct.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/Include/Protocol/XenBus.h | 14 +++---
OvmfPkg/XenBusDxe/XenBus.c| 2 +-
OvmfPkg/XenBusDxe/XenStore.c | 36
.. to avoid the use .member = value syntax as VS does not support it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/XenBus.c | 53 +-
1 file changed, 29 insertions(+), 24 deletions(-)
diff
asm.py can you look at
> converting the assembly to NASM with that script?
Yes, that should not be a problem.
Thank you.
--
Anthony PERARD
--
___
edk2-devel mailing list
.. because we need it in the patch titled:
"OvmfPkg/XenBusDxe: Indroduce XenBus support itself."
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
OvmfPkg/XenBusDxe/Helpers.c | 9 +
OvmfPkg
A ParaVirtualize block driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V4:
- Replace the license by the commonly used file header text.
- Add brief description for the driver.
Change in V3:
- enable compilation for Ia32 and Ia32X64
This atomically test's and clear's a bit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V3:
- adding IA32 support. (not yet reviewed)
both XenBusDxe/Ia32/TestAndClearBit.{S,asm} are new
Ch
-by: Anthony PERARD
---
Change in V4:
- Replace the license by the commonly used file header text.
- Clean XenBus.h header (remove copyright that does not belong to the
file anymore; and rewrite the brief description of the file)
- Fix description on the function
Change in V3:
- Insert to
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V3:
- Have XenStoreWaitWatch/XenBusWaitForWatch return a XENSTORE_STATUS
instead of VOID.
- Add description of the introducted member of the protocol
\2/g
s/([^a-zA-Z0-9_]|^)char([^a-zA-Z0-9_]|$)/\1CHAR8\2/g
s/([^a-zA-Z0-9_]|^)unsigned long([^a-zA-Z0-9_]|$)/\1UINTN\2/g
s/([^a-zA-Z0-9_]|^)long([^a-zA-Z0-9_]|$)/\1INTN\2/g
License: This patch adds many files under the MIT licence.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-of
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V3:
- moving xs_wire.h from patch #1 to this patch
- fix return value of XenStoreListDirectory
- Use a timeout to print a debug message if the other side of the
xenstore ring does not notify through the event channel
are under the MIT license.
Signed-off-by: Samuel Thibault
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V4:
- add file header to BlockFront.h (license, copyright, brief desc)
Change in V3:
- Improve comment of XenBusReadUint64.
- Moving
Implement the BlockIo protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V4:
- Replace the license by the commonly used file header text.
Change in V3:
- assert(Media->BlockSize % 512 == 0)
- Use Sector instead of Offset to issue
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V4:
- Replace the license by the commonly used file header text.
- add file header to XenHypercall.h (license, copyright, brief desc)
Change in V3:
- adding
The PciIo interface will be used in "OvmfPkg/XenBusDxe: Add Grant Table
functions" to get the memory address of the BAR 1 and use the space to
map shared memory.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- add a commit d
There are used to grant access of pages to other Xen domains.
This code originaly comes from the Xen Project, and more precisely from
MiniOS.
Signed-off-by: Steven Smith
Signed-off-by: Grzegorz Milos
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
vmfPkg: Add the
MIT license to License.txt".
Other changes have been listed after a '---' line in every patches.
Anthony PERARD (19):
OvmfPkg: Add the MIT license to License.txt.
OvmfPkg: Add public headers from Xen Project.
OvmfPkg: Add basic skeleton for the XenBus bus driver.
This first function is used to notify the other side that there is
something to do. The other side is another Xen domain.
License: This patch adds event_channel.h which is under MIT licence.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V4
The ExitBoot event is used to disconnect from the device before the
next operating system start using them.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- use the variable mMyDevice to prevent the driver from
starting twice (if there
This includes Component Name and Driver Binding.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V4:
- Replace the license by the commonly used file header text.
- Add brief description for the driver
: Anthony PERARD
---
Change in V3:
New patch
---
OvmfPkg/License.txt | 25 +
1 file changed, 25 insertions(+)
diff --git a/OvmfPkg/License.txt b/OvmfPkg/License.txt
index be68999..e2eff41 100644
--- a/OvmfPkg/License.txt
+++ b/OvmfPkg/License.txt
@@ -23,3 +23,28
: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- eventchannel, update protocol to return error code.
- expand patch description
- Add comments in the XenBus Protocol header.
Change in V2:
- coding style
- adding comment to functions
- Rename Xenbus to XenBus
This protocol will be used for communication between a PV driver (like a
PV block driver) and the XenBus/XenStore.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
--
Change in V3:
- Add disclaimer about the volatile nature of the protocol.
- Add a
This patch is inspired by InterlockedCompareExchange32 from the
BaseSynchronizationLib.
The function will be used in the "OvmfPkg/XenBusDxe: Add Grant Table
functions" patch.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
-
On Sun, Oct 19, 2014 at 05:20:45PM -0700, Jordan Justen wrote:
> On 2014-10-17 10:03:58, Anthony PERARD wrote:
> > This is a bus-like on top of XenStore. It will look for advertised
> > ParaVirtualized devices and initialize them by producing XenBus
> > protocol.
> >
On Sun, Oct 19, 2014 at 05:00:13PM -0700, Jordan Justen wrote:
> On 2014-10-17 10:03:51, Anthony PERARD wrote:
> > This patch is inspired by InterlockedCompareExchange32 from the
> > BaseSynchronizationLib.
>
> Why not attempt to add it to BaseSynchronizationLib?
The BaseSy
On Sun, Oct 19, 2014 at 04:27:11PM -0700, Jordan Justen wrote:
> On 2014-10-17 10:03:46, Anthony PERARD wrote:
> > This includes Component Name and Driver Binding.
> >
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Anthony PERARD
> &
On Sun, Oct 19, 2014 at 04:47:32PM -0700, Jordan Justen wrote:
> On 2014-10-17 10:03:45, Anthony PERARD wrote:
> > This patch imports publics headers in order to use features from Xen
> > like XenStore, PV Block... There is only the necessary header files and
> > there are onl
Implement the BlockIo protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- assert(Media->BlockSize % 512 == 0)
- Use Sector instead of Offset to issue IOs.
Change in V2:
- Remove blockIo2 headers.
- Fix few comment.
- file hea
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V3:
- Have XenStoreWaitWatch/XenBusWaitForWatch return a XENSTORE_STATUS
instead of VOID.
- Add description of the introducted member of the protocol
This first function is used to notify the other side that there is
something to do. The other side is another Xen domain.
License: This patch adds event_channel.h which is under MIT licence.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3
: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- eventchannel, update protocol to return error code.
- expand patch description
- Add comments in the XenBus Protocol header.
Change in V2:
- coding style
- adding comment to functions
- Rename Xenbus to XenBus
-by: Anthony PERARD
---
Change in V3:
- Insert to ChildList later, once populated.
- Remove XENBUS_XENSTORE_NODE macro.
- add comment to XenBusAddDevice and XenBusEnumerateBus about
concurrency calls.
- Add a description to the introduced member to the protocol.
Change in V2:
- comment, file
A ParaVirtualize block driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- enable compilation for Ia32 and Ia32X64
- fix version (driver binding)
Change in V2:
- Add minimal support for controller name
- Remove stuff about BlockIo2
.. because we need it in the patch titled:
"OvmfPkg/XenBusDxe: Indroduce XenBus support itself."
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
OvmfPkg/XenBusDxe/Helpers.c | 9 +
OvmfPkg
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V3:
- moving xs_wire.h from patch #1 to this patch
- fix return value of XenStoreListDirectory
- Use a timeout to print a debug message if the other side of the
xenstore ring does not notify through the event channel
This atomically test's and clear's a bit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
CC: Konrad Rzeszutek Wilk
Change in V3:
- adding IA32 support. (not yet reviewed)
both XenBusDxe/Ia32/TestAndC
are under the MIT license.
Signed-off-by: Samuel Thibault
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- Improve comment of XenBusReadUint64.
- Moving blkif.h to this patch
with the necessary #pragma pack(4) applied for Ia32.
- Add a
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
CC: Konrad Rzeszutek Wilk
Change in V3:
- adding IA32 support. (not reviewed yet)
both XenBusDxe/Ia32/hypercall.{S,asm} file are new
Change in V2:
- file header
This includes Component Name and Driver Binding.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
Reviewed-by: Konrad Rzeszutek Wilk
---
Change in V3:
- enable compilation for Ia32 and Ia32X64
- fix version (driver binding)
Change in V2:
- Simple support
This patch is inspired by InterlockedCompareExchange32 from the
BaseSynchronizationLib.
The function will be used in the "OvmfPkg/XenBusDxe: Add Grant Table
functions" patch.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
-
-zA-Z0-9_]|$)/\1UINTN\2/g
s/([^a-zA-Z0-9_]|^)long([^a-zA-Z0-9_]|$)/\1INTN\2/g
License: This patch adds many files under the MIT licence.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- Remove unused header sched.h
- moving xs_wire.h in
: Anthony PERARD
---
Change in V3:
New patch
---
OvmfPkg/License.txt | 25 +
1 file changed, 25 insertions(+)
diff --git a/OvmfPkg/License.txt b/OvmfPkg/License.txt
index be68999..e2eff41 100644
--- a/OvmfPkg/License.txt
+++ b/OvmfPkg/License.txt
@@ -23,3 +23,28
The PciIo interface will be used in "OvmfPkg/XenBusDxe: Add Grant Table
functions" to get the memory address of the BAR 1 and use the space to
map shared memory.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- add a commit d
Other changes have been listed after a '---' line in every patches.
Anthony PERARD (19):
OvmfPkg: Add the MIT license to License.txt.
OvmfPkg: Add public headers from Xen Project.
OvmfPkg: Add basic skeleton for the XenBus bus driver.
OvmfPkg/XenBusDxe: Add device state struct a
There are used to grant access of pages to other Xen domains.
This code originaly comes from the Xen Project, and more precisely from
MiniOS.
Signed-off-by: Steven Smith
Signed-off-by: Grzegorz Milos
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
This protocol will be used for communication between a PV driver (like a
PV block driver) and the XenBus/XenStore.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
--
Change in V3:
- Add disclaimer about the volatile nature of the protocol.
- Add a
The ExitBoot event is used to disconnect from the device before the
next operating system start using them.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V3:
- use the variable mMyDevice to prevent the driver from
starting twice (if there
On Fri, Sep 12, 2014 at 10:57:53AM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:51:13PM +0100, Anthony PERARD wrote:
> > Install the BlockIo protocol.
>
> Implement. Perhaps point out that the blkif.h is a good literature
> to understand it?
Maybe not in
"XenPvBlk: unrecognized block operation %d response
> > (status %d)\n",
> > +Response->operation, Status));
> > +break;
> > + }
> > +
> > + Dev->Ring.rsp_cons = ++ConsumerIndex;
> > + if (IoData != NU
kg/OvmfPkg.dec
> > +
> > +[Sources]
> > + XenPvBlkDxe.h
> > + XenPvBlkDxe.c
> > + ComponentName.c
> > + ComponentName.h
> > +
> > +
> > +[LibraryClasses]
> > + UefiDriverEntryPoint
> > + UefiBootServicesTableLib
> > + MemoryAllocationLib
>
On Fri, Sep 12, 2014 at 09:58:53AM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:51:10PM +0100, Anthony PERARD wrote:
> > Contributed-under: TianoCore Contribution Agreement 1.0
> > Signed-off-by: Anthony PERARD
>
> While the code is fine, please expand t
On Thu, Sep 11, 2014 at 01:10:14PM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:51:09PM +0100, Anthony PERARD wrote:
> > This is a bus-like on top of XenStore. It will look for advertised
> > ParaVirtualized devices and initialize them by producing XenB
On Wed, Sep 10, 2014 at 04:48:50PM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:51:06PM +0100, Anthony PERARD wrote:
> > XenStore is a key/value database, which is running on another virtual
> > machine. It can be accessed through shared memory. T
On Wed, Sep 10, 2014 at 04:15:03PM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:51:04PM +0100, Anthony PERARD wrote:
> > This first function is used to notify the other side that there is
> > something to do. The other side is another Xen domain.
> >
On Wed, Sep 10, 2014 at 04:09:43PM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:51:02PM +0100, Anthony PERARD wrote:
> > This is a copy of InterlockedCompareExchange32 from the
> > BaseSynchronizationLib.
> >
> > The function will be used in the ne
On Wed, Sep 10, 2014 at 03:58:16PM -0400, Konrad Rzeszutek Wilk wrote:
> On Thu, Sep 04, 2014 at 05:50:58PM +0100, Anthony PERARD wrote:
> > The ExitBoot event is used to disconnect from the device before the
> > next operating system start using them.
> >
> > C
On Fri, Sep 05, 2014 at 12:30:05PM -0700, Jordan Justen wrote:
> On Fri, Sep 5, 2014 at 6:34 AM, Anthony PERARD
> wrote:
> > On Thu, Sep 04, 2014 at 08:01:07PM +0200, Laszlo Ersek wrote:
> >> On 09/04/14 18:50, Anthony PERARD wrote:
> >> > Hi all,
> >>
On Thu, Sep 04, 2014 at 08:01:07PM +0200, Laszlo Ersek wrote:
> On 09/04/14 18:50, Anthony PERARD wrote:
> > Hi all,
> >
> > This patch series is implementing the necessary in order to access a PV
> > block
> > device. For that, one need a XenStore client, a Xen
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V2:
- coding style
- adding comment to functions
- Rename Xenbus to XenBus.
---
OvmfPkg/Include/Protocol/XenBus.h | 27 +++
OvmfPkg/XenBusDxe/EventChannel.c | 55
Install the BlockIo protocol.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V2:
- Remove blockIo2 headers.
- Fix few comment.
- file header, copyright
- Rewrite few comment and error messages
- No more callback
- Improving block read/write
-off-by: Anthony PERARD
---
Change in V2:
- trigger CoW is probably not needed on OVMF (as opposed to Mini-OS),
removed the test.
- comments
- renamed XenbusReadInteger to XenBusReadUint64
- remove callback from IoData, use simple status instead
- return a status from the synchronus io
- Close
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
OvmfPkg/XenBusDxe/Helpers.c | 9 +
OvmfPkg/XenBusDxe/XenBusDxe.h | 5 +
2 files changed, 14 insertions(+)
create mode 100644 OvmfPkg/XenBusDxe/Helpers.c
diff --git a/OvmfPkg/XenBusDxe
This atomically test and clear a bit.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V2:
- Adding .asm version
- Comment the function
---
OvmfPkg/XenBusDxe/X64/TestAndClearBit.S | 13 +
OvmfPkg/XenBusDxe/X64/TestAndClearBit.asm
XenStore is a key/value database, which is running on another virtual
machine. It can be accessed through shared memory. This is a client
implementation.
Origin: FreeBSD 10.0
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Anthony PERARD
---
Change in V2:
- Change
1 - 100 of 142 matches
Mail list logo