X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Fprom.c;h=25811ea30d146fb30aadff54c2acd0876c780021;hp=19b4bf5acd7b2590f72e3cc17ca5409a1874f1f3;hb=438c6a4c03afdb1c70e3e803c2790252c6044931;hpb=5af5ce399e68962e29aab2bfead786a0148b8035 diff --git a/second/prom.c b/second/prom.c index 19b4bf5..25811ea 100644 --- a/second/prom.c +++ b/second/prom.c @@ -553,7 +553,9 @@ prom_claim (void *virt, unsigned int size, unsigned int align) void prom_release(void *virt, unsigned int size) { -// call_prom ("release", 2, 1, virt, size); + call_prom ("release", 2, 0, virt, size); +#if 0 /* this is bullshit, newworld OF RELEASE method works fine. */ + /* release in not enough, it needs also an unmap call. This bit of forth * code inspired from Darwin's bootloader but could be replaced by direct * calls to the MMU package if needed @@ -570,6 +572,7 @@ prom_release(void *virt, unsigned int size) "\" release\" ^mem " // Then free the physical pages ,size, virt ); +#endif /* bullshit */ } void