Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new fixes for UEFI support #351

Merged
merged 3 commits into from
Jul 11, 2017
Merged

new fixes for UEFI support #351

merged 3 commits into from
Jul 11, 2017

Conversation

M1cha
Copy link

@M1cha M1cha commented Jul 10, 2017

This change is Reviewable

@lkl-jenkins
Copy link

Can one of the admins verify this patch?

@tavip
Copy link
Member

tavip commented Jul 10, 2017

@lkl-jenkins: test this please

@@ -549,8 +547,8 @@ int virtio_dev_setup(struct virtio_dev *dev, int queues, int num_max)

if (!lkl_is_running()) {
avail = sizeof(lkl_virtio_devs) - (devs - lkl_virtio_devs);
num_bytes = snprintf(devs, avail, " virtio_mmio.device=%d@0x%"PRIxPTR":%d",
mmio_size, (uintptr_t) dev->base, dev->irq);
num_bytes = snprintf(devs, avail, " virtio_mmio.device=%d@%p:%d",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC %p does not work correctly for mingw. The mingw tests seem to confirm this.

@thehajime
Copy link
Member

thanks ! please also address the checkpatch.sh error that circleci reported.

Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com>
@M1cha
Copy link
Author

M1cha commented Jul 11, 2017

I've removed 'tools: lkl: use "%p" instead of "0x%"PRIxPTR' and added support for inttypes.h support to my libc implementation instead.

@tavip
Copy link
Member

tavip commented Jul 11, 2017

@lkl-jenkins: test this please

@tavip
Copy link
Member

tavip commented Jul 11, 2017

Reviewed 2 of 3 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@tavip tavip merged commit 50ad8d6 into lkl:master Jul 11, 2017
@M1cha M1cha deleted the uefi-support branch July 11, 2017 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants