Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11730
b: refs/heads/master
c: 7e65811
h: refs/heads/master
v: v3
  • Loading branch information
Olaf Hering authored and Paul Mackerras committed Oct 29, 2005
1 parent 1416627 commit b524351
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 67a1b68263d58a3ed5ce024468606044a1561312
refs/heads/master: 7e658118faa9faf71f8a8295cdaeb7ca71c04672
1 change: 1 addition & 0 deletions trunk/arch/ppc64/boot/crt0.S
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,6 @@ clear_caches:
sync
isync

mr r6,r1
b start

4 changes: 2 additions & 2 deletions trunk/arch/ppc64/boot/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static unsigned long try_claim(unsigned long size)
return addr;
}

void start(unsigned long a1, unsigned long a2, void *promptr)
void start(unsigned long a1, unsigned long a2, void *promptr, void *sp)
{
unsigned long i;
int len;
Expand All @@ -151,7 +151,7 @@ void start(unsigned long a1, unsigned long a2, void *promptr)
if (getprop(chosen_handle, "stdin", &stdin, sizeof(stdin)) != 4)
exit();

printf("\n\rzImage starting: loaded at 0x%lx\n\r", (unsigned long) _start);
printf("\n\rzImage starting: loaded at 0x%p (sp: 0x%p)\n\r", _start, sp);

/*
* The first available claim_base must be above the end of the
Expand Down

0 comments on commit b524351

Please sign in to comment.