Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xing Lin
qemu
Commits
5fd386f6
Commit
5fd386f6
authored
May 23, 2004
by
bellard
Browse files
PowerPC merge
git-svn-id:
svn://svn.savannah.nongnu.org/qemu/trunk@858
c046a42c-6fe2-441c-8c8c-71466251a162
parent
0ced6589
Changes
1
Show whitespace changes
Inline
Side-by-side
exec.c
View file @
5fd386f6
...
...
@@ -1789,8 +1789,9 @@ void cpu_register_physical_memory(target_phys_addr_t start_addr,
unsigned
long
addr
,
end_addr
;
PhysPageDesc
*
p
;
size
=
(
size
+
TARGET_PAGE_SIZE
-
1
)
&
TARGET_PAGE_MASK
;
end_addr
=
start_addr
+
size
;
for
(
addr
=
start_addr
;
addr
<
end_addr
;
addr
+=
TARGET_PAGE_SIZE
)
{
for
(
addr
=
start_addr
;
addr
!=
end_addr
;
addr
+=
TARGET_PAGE_SIZE
)
{
p
=
phys_page_find_alloc
(
addr
>>
TARGET_PAGE_BITS
);
p
->
phys_offset
=
phys_offset
;
if
((
phys_offset
&
~
TARGET_PAGE_MASK
)
<=
IO_MEM_ROM
)
...
...
Write
Preview
Supports
Markdown
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