[nvmewin] Cadence - new NVMe driver developer

Robles, Raymond C raymond.c.robles at intel.com
Fri May 11 15:39:55 PDT 2012


FYI... if you need to add new #defines (such as CHATHAM), I believe you need to add them to the VS project properties... it's not enough to define them in the sources file before converting.

From: nvmewin-bounces at lists.openfabrics.org [mailto:nvmewin-bounces at lists.openfabrics.org] On Behalf Of Freyensee, James P
Sent: Friday, May 11, 2012 3:35 PM
To: Brenda Powers; Ramakrishna, Aruna; nvmewin at lists.openfabrics.org
Subject: Re: [nvmewin] Cadence - new NVMe driver developer

The NVMe driver has been designed to be built without using VS, but for VS11 there is an easy way to port the build into VS11:


>From the main menu in VS 11, go:

File->Open->Convert Sources/Dir

Find the 'sources' file from the resulting pop-up file explorer window.

That is it.  It makes two projects: Nvme-Package and nvme.  I don't know what Nvme-package is yet, but trying to build it fails.  I just turned it off and just build 'nvme'.  I assume though nvme-Package has something to do with signing the driver.

From: nvmewin-bounces at lists.openfabrics.org<mailto:nvmewin-bounces at lists.openfabrics.org> [mailto:nvmewin-bounces at lists.openfabrics.org]<mailto:[mailto:nvmewin-bounces at lists.openfabrics.org]> On Behalf Of Brenda Powers
Sent: Friday, May 11, 2012 9:30 AM
To: Ramakrishna, Aruna; nvmewin at lists.openfabrics.org<mailto:nvmewin at lists.openfabrics.org>
Subject: Re: [nvmewin] Cadence - new NVMe driver developer

Thank you, I will try that. Sorry, but I developed NT drivers 15 or so yrs. ago and I am really out of date on developing Windows drivers.

Brenda

From: Ramakrishna, Aruna [mailto:aruna.ramakrishna at intel.com]
Sent: Friday, May 11, 2012 9:29 AM
To: Brenda Powers; nvmewin at lists.openfabrics.org<mailto:nvmewin at lists.openfabrics.org>
Subject: RE: Cadence - new NVMe driver developer

Yes, but I don't think you need to do anything specific to include that. It should be integrated with the new VS 11.

From: Brenda Powers [mailto:bpowers at cadence.com]
Sent: Friday, May 11, 2012 9:28 AM
To: Ramakrishna, Aruna; nvmewin at lists.openfabrics.org<mailto:nvmewin at lists.openfabrics.org>
Subject: RE: Cadence - new NVMe driver developer

Thank you. Do I need to use the Windows Driver Kit?

Brenda

From: Ramakrishna, Aruna [mailto:aruna.ramakrishna at intel.com]<mailto:[mailto:aruna.ramakrishna at intel.com]>
Sent: Friday, May 11, 2012 9:27 AM
To: Brenda Powers; nvmewin at lists.openfabrics.org<mailto:nvmewin at lists.openfabrics.org>
Subject: RE: Cadence - new NVMe driver developer

You should create the VS project as a driver project (project type settings); that should be it.

Thanks,
Aruna


From: nvmewin-bounces at lists.openfabrics.org<mailto:nvmewin-bounces at lists.openfabrics.org> [mailto:nvmewin-bounces at lists.openfabrics.org]<mailto:[mailto:nvmewin-bounces at lists.openfabrics.org]> On Behalf Of Brenda Powers
Sent: Friday, May 11, 2012 9:10 AM
To: nvmewin at lists.openfabrics.org<mailto:nvmewin at lists.openfabrics.org>
Subject: [nvmewin] Cadence - new NVMe driver developer

Good Morning:

I am starting to use the Windows NVMe driver and need some initial guidance.

I am using Visual Studio Beta 11 as my environment. I created a new project from the NVMe code. When I  build the code I receive an error:

Error      1              error C1083: Cannot open include file: 'ntddk.h': No such file or directory                c:\users\bpowers\desktop\feg\nvmee_windows_driver\nvmewin\nvmewin\trunk\source\precomp.h             48                1              NVMeDriver

The precomp.h file has the contents:

/*
* File: precomp.h
*/

#include "ntddk.h"
#include "ntddscsi.h"
#include "ntdddisk.h"
#include <storport.h>

#include "nvme.h"
#include "nvmeReg.h"
#include "nvmeIoctl.h"
#include "nvmeStd.h"
#include "nvmePwrMgmt.h"
#include "nvmeSnti.h"
#include "nvmeSntiUtils.h"
#include "nvmeSntiTypes.h"
#include "nvmeIo.h"


Is there anything I have to do to setup the Visual Studio configuration to find this header file?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/nvmewin/attachments/20120511/3dc00aa9/attachment.html>


More information about the nvmewin mailing list