Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vesta
u-boot-2015.04
Commits
153c2d9f
Commit
153c2d9f
authored
14 years ago
by
Graeme Russ
Committed by
Wolfgang Denk
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
x86: Fix copying of Real-Mode code into RAM
Signed-off-by:
Graeme Russ
<
graeme.russ@gmail.com
>
parent
2fb1bc4f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
arch/i386/lib/bios_setup.c
+1
-1
1 addition, 1 deletion
arch/i386/lib/bios_setup.c
arch/i386/lib/realmode.c
+1
-1
1 addition, 1 deletion
arch/i386/lib/realmode.c
with
2 additions
and
2 deletions
arch/i386/lib/bios_setup.c
+
1
−
1
View file @
153c2d9f
...
...
@@ -141,7 +141,7 @@ static void setvector(int vector, u16 segment, void *handler)
int
bios_setup
(
void
)
{
ulong
i386boot_bios
=
(
ulong
)
&
_i386boot_bios
;
ulong
i386boot_bios
=
(
ulong
)
&
_i386boot_bios
+
gd
->
reloc_off
;
ulong
i386boot_bios_size
=
(
ulong
)
&
_i386boot_bios_size
;
static
int
done
=
0
;
...
...
This diff is collapsed.
Click to expand it.
arch/i386/lib/realmode.c
+
1
−
1
View file @
153c2d9f
...
...
@@ -37,7 +37,7 @@ extern char realmode_enter;
int
realmode_setup
(
void
)
{
ulong
i386boot_realmode
=
(
ulong
)
&
_i386boot_realmode
;
ulong
i386boot_realmode
=
(
ulong
)
&
_i386boot_realmode
+
gd
->
reloc_off
;
ulong
i386boot_realmode_size
=
(
ulong
)
&
_i386boot_realmode_size
;
/* copy the realmode switch code */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment