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
7fce7e0a
Commit
7fce7e0a
authored
Jun 11, 2021
by
longpanda
Browse files
Fix a bug when booting nitrux-release-amd64_2021.05.28.iso (#953)
parent
63924fa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
IPXE/ipxe_mod_code/ipxe-3fe683e/src/arch/x86/interface/pcbios/ventoy_int13.c
...ipxe-3fe683e/src/arch/x86/interface/pcbios/ventoy_int13.c
+9
-0
No files found.
IPXE/ipxe_mod_code/ipxe-3fe683e/src/arch/x86/interface/pcbios/ventoy_int13.c
View file @
7fce7e0a
...
@@ -1354,6 +1354,15 @@ static int int13_load_eltorito ( unsigned int drive, struct segoff *address ) {
...
@@ -1354,6 +1354,15 @@ static int int13_load_eltorito ( unsigned int drive, struct segoff *address ) {
DBG
(
"INT13 drive %02x El Torito boot image loads at %04x:%04x
\n
"
,
DBG
(
"INT13 drive %02x El Torito boot image loads at %04x:%04x
\n
"
,
drive
,
address
->
segment
,
address
->
offset
);
drive
,
address
->
segment
,
address
->
offset
);
if
(
catalog
.
boot
.
length
>
256
)
{
if
(
g_debug
)
{
printf
(
"trim length from %d to 4
\n
"
,
catalog
.
boot
.
length
);
}
catalog
.
boot
.
length
=
4
;
}
/* Use INT 13, 42 to read the boot image */
/* Use INT 13, 42 to read the boot image */
eltorito_address
.
bufsize
=
eltorito_address
.
bufsize
=
offsetof
(
typeof
(
eltorito_address
),
buffer_phys
);
offsetof
(
typeof
(
eltorito_address
),
buffer_phys
);
...
...
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