Remove Service_PreReset handler
Jeffrey Lee authored
Detail:
  build/cmhg/InetHdr, riscos/c/module - Internet's PreReset handler leaves the module in a dangerous state; if another module attempts to access a previously-valid socket after Internet has completed its PreReset (or even during it, since the code explicitly triggers callbacks) then it will typically result in a crash due to the mbuf session having been closed.
  Since Internet isn't a hardware driver, it shouldn't need to do anything for Service_PreReset, so let's just remove the handler and leave the NIC drivers to deal with any reset handling (which they already appear to do correctly)
  Also, change InetHdr to use service call number #defines instead of magic numbers.
Admin:
  Tested on Iyonix, iMx6
  Fixes crashes seen on shutdown/reset when software is using sockets from callbacks (e.g. if a VNC server is running)


Version 5.63. Tagged as 'Internet-5_63'
1f00e299
Name Last commit Last update
..
c Remove Service_PreReset handler
s Have Internet look after its own messages