Jump to content

Have you noticed the AutoRestartAfterKernelPanic function lost ?


  • Please log in to reply
46 replies to this topic

#41
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 268 posts
  • Gender:Male
No. Trunk is one set of sources and cparm's branch is another. But they are in the same repository and they "share" revision counter (change in a trunk or branch increments counter).

#42
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 742 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

No. Trunk is one set of sources and cparm's branch is another. But they are in the same repository and they "share" revision counter (change in a trunk or branch increments counter).

That's sad though 0-0
Dunno when will this function be merged into trunk.

#43
eep357

eep357

    Triple Platinum

  • Supervisors
  • 2,527 posts
  • Gender:Male
  • Location:Dark Side of The Wall
  • Interests:things and stuff
It may never be, but then you have bragging rights :)

#44
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 742 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

It may never be, but then you have bragging rights :)

It may never be, but then you have bragging rights :)

T_T
why not
I do think it's not a bad feature

#45
dmazar

dmazar

    InsanelyMac Sage

  • Coders
  • 268 posts
  • Gender:Male
You can always ask ErmaC or cparm to add it to trunk. It's up to them then to decide if they can/will do it or not.

In the meantime, you can try setting this flag in trunk code:
in i386/libsaio/bootstruct.c
change:
bootArgs->deviceTreeP = (uint32_t)addr;
bootArgs->deviceTreeLength = size;

// Copy BootArgs values to older structure
to:
bootArgs->deviceTreeP = (uint32_t)addr;
bootArgs->deviceTreeLength = size;

// set flag RebootOnPanic
bootArgs->__reserved1[0] = 1;

// Copy BootArgs values to older structure
Compile it and try if it works as expected. I did not test it.

#46
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 742 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

You can always ask ErmaC or cparm to add it to trunk. It's up to them then to decide if they can/will do it or not. In the meantime, you can try setting this flag in trunk code: in i386/libsaio/bootstruct.c change:

bootArgs->deviceTreeP = (uint32_t)addr; bootArgs->deviceTreeLength = size; // Copy BootArgs values to older structure
to:
bootArgs->deviceTreeP = (uint32_t)addr; bootArgs->deviceTreeLength = size; // set flag RebootOnPanic bootArgs->__reserved1[0] = 1; // Copy BootArgs values to older structure
Compile it and try if it works as expected. I did not test it.

:D
it seems to be the code cparm added to its branch
I will contact ErmaC to see if it's possible to add it to trunk

#47
p.H

p.H

    InsanelyMac Legend

  • FAQ Team
  • 742 posts
  • Gender:Male
  • Interests:Hackintosh & NBA & COD4 promod

You can always ask ErmaC or cparm to add it to trunk. It's up to them then to decide if they can/will do it or not. In the meantime, you can try setting this flag in trunk code: in i386/libsaio/bootstruct.c change:

bootArgs->deviceTreeP = (uint32_t)addr; bootArgs->deviceTreeLength = size; // Copy BootArgs values to older structure
to:
bootArgs->deviceTreeP = (uint32_t)addr; bootArgs->deviceTreeLength = size; // set flag RebootOnPanic bootArgs->__reserved1[0] = 1; // Copy BootArgs values to older structure
Compile it and try if it works as expected. I did not test it.

ErmaC has already added this feature to his branch
I tested it and it works.
So I just hope this feature will be added asap
cheers.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy