[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 12/18] OvmfPkg/XenBusDxe: Add an helper AsciiStrDup.
On Thu, Sep 04, 2014 at 05:51:07PM +0100, Anthony PERARD wrote: > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> .. because we need it in the patch titled: "Indroduce XenBus support itself". right? Please add that in the commit description, and with that you can add Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> > --- > 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/Helpers.c b/OvmfPkg/XenBusDxe/Helpers.c > new file mode 100644 > index 0000000..3e938b6 > --- /dev/null > +++ b/OvmfPkg/XenBusDxe/Helpers.c > @@ -0,0 +1,9 @@ > +#include "XenBusDxe.h" > + > +CHAR8* > +AsciiStrDup ( > + IN CONST CHAR8* Str > + ) > +{ > + return AllocateCopyPool (AsciiStrSize (Str), Str); > +} > diff --git a/OvmfPkg/XenBusDxe/XenBusDxe.h b/OvmfPkg/XenBusDxe/XenBusDxe.h > index d690914..dc48a46 100644 > --- a/OvmfPkg/XenBusDxe/XenBusDxe.h > +++ b/OvmfPkg/XenBusDxe/XenBusDxe.h > @@ -132,4 +132,9 @@ TestAndClearBit ( > IN volatile VOID *Address > ); > > +CHAR8* > +AsciiStrDup ( > + IN CONST CHAR8* Str > + ); > + > #endif > -- > Anthony PERARD > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxx > http://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |