-
Notifications
You must be signed in to change notification settings - Fork 15
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
Building virtio example with zig #65
Open
erichchan999
wants to merge
25
commits into
main
Choose a base branch
from
virtio_blk_zig
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
erichchan999
force-pushed
the
virtio_blk_zig
branch
from
May 30, 2024 10:10
244946e
to
6b66656
Compare
erichchan999
force-pushed
the
virtio_blk_zig
branch
5 times, most recently
from
July 4, 2024 08:53
b303783
to
5d5e5c6
Compare
erichchan999
force-pushed
the
virtio_blk_zig
branch
3 times, most recently
from
July 5, 2024 06:05
7407ca5
to
882622c
Compare
build.zig
Outdated
Comment on lines
89
to
94
// @ivanv: fix all of our libvmm includes! This is a mess! | ||
libvmm.addIncludePath(b.path("src")); | ||
libvmm.addIncludePath(b.path("src/util/")); | ||
libvmm.addIncludePath(b.path("src/util")); | ||
libvmm.addIncludePath(b.path("src/virtio")); | ||
libvmm.addIncludePath(b.path("src/arch/aarch64")); | ||
libvmm.addIncludePath(b.path("src/arch/aarch64/vgic/")); | ||
libvmm.addIncludePath(b.path("src/arch/aarch64/vgic")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you rebase on main we can remove all these lines, finally.
Comment on lines
+433
to
+339
const microkit_tool_cmd = b.addSystemCommand(&[_][]const u8{ | ||
microkit_tool.getPath(b), | ||
}); | ||
microkit_tool_cmd.addFileArg(system_description_path); | ||
microkit_tool_cmd.addArg("--search-path"); | ||
microkit_tool_cmd.addArg(b.getInstallPath(.bin, "")); | ||
microkit_tool_cmd.addArg("--board"); | ||
microkit_tool_cmd.addArg(@tagName(microkit_board)); | ||
microkit_tool_cmd.addArg("--config"); | ||
microkit_tool_cmd.addArg(@tagName(microkit_config)); | ||
microkit_tool_cmd.addArg("-o"); | ||
microkit_tool_cmd.addArg(final_image_dest); | ||
microkit_tool_cmd.addArg("-r"); | ||
microkit_tool_cmd.addArg(b.getInstallPath(.prefix, "./report.txt")); | ||
microkit_tool_cmd.step.dependOn(b.getInstallStep()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you follow what examples/simple/build.zig
does for this?
Ivan-Velickovic
force-pushed
the
virtio_blk_zig
branch
3 times, most recently
from
July 8, 2024 07:21
5c6fd2c
to
d5fee93
Compare
Ivan-Velickovic
force-pushed
the
virtio_blk_zig
branch
from
August 7, 2024 01:39
d5fee93
to
24e1d9f
Compare
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
…s is done for odroidc4 example Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Eric Chan <[email protected]> Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
There's an issue with Microkit 1.4.0 that affects the Odroid-C4. Signed-off-by: Ivan Velickovic <[email protected]>
Ivan-Velickovic
force-pushed
the
virtio_blk_zig
branch
from
August 7, 2024 01:40
24e1d9f
to
fc775ae
Compare
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Ivan-Velickovic
force-pushed
the
virtio_blk_zig
branch
from
August 7, 2024 01:54
77e93ca
to
44f75b6
Compare
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Signed-off-by: Ivan Velickovic <[email protected]>
Ivan-Velickovic
force-pushed
the
virtio_blk_zig
branch
from
August 7, 2024 02:39
94491b1
to
10d814d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Waiting on this PR #74 to be merged first.
Provides zig build for virtio example. Changes the top-level build.zig in libvmm to have sddf build.zig as a dependency.