Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
265b70f1
Commit
265b70f1
authored
May 10, 2021
by
longpanda
Browse files
misc update
parent
491f0bea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_vhd.c
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_vhd.c
+9
-1
No files found.
GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/ventoy_vhd.c
View file @
265b70f1
...
@@ -543,7 +543,7 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
...
@@ -543,7 +543,7 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
}
}
grub_env_set
(
args
[
1
],
type
);
grub_env_set
(
args
[
1
],
type
);
debug
(
"<%s> vtoy type: <%s> "
,
args
[
0
],
type
);
debug
(
"<%s> vtoy type: <%s>
offset:%d
\n
"
,
args
[
0
],
type
,
offset
);
if
(
offset
>=
0
)
if
(
offset
>=
0
)
{
{
...
@@ -598,6 +598,14 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
...
@@ -598,6 +598,14 @@ grub_err_t ventoy_cmd_get_vtoy_type(grub_extcmd_context_t ctxt, int argc, char *
altboot
=
1
;
altboot
=
1
;
grub_env_set
(
args
[
3
],
"1"
);
grub_env_set
(
args
[
3
],
"1"
);
}
}
else
{
debug
(
"offset data=0x%x
\n
"
,
data
);
}
}
else
{
debug
(
"BootCode: 0x%x
\n
"
,
gpt
->
MBR
.
BootCode
[
92
]);
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment