This is an old revision of the document!

TCP cleanup

Cleanup TCP close actions

  • Reduce duplicate code by separating tcp_terminate() from tcp_close().
  • Use tcp_terminate to immediately free all tcp resources.
  • Use tcp_close() to bing TCP connection to closing state.
  • Make tcp_close() function simpler, not doing different job in different state.

Trace gPXE boot initialize steps about memory environment setup

  • After recent Michael Brown's [prefix] patch-set:
    • [prefix] Add A20-enabling code in libflat
    • [prefix] Move flatten_real_mode to libflat.S
    • [prefix] Move flatten_real_mode to .text16.early
    • [prefix] Add .text16.early section
    • [prefix] Use flat real mode for access to high memory
    • [prefix] Use flat real mode instead of real mode
  • gPXE now works fully on Flat real mode.
  • Here is another nice document explains it.
  • Which solved the problem that big image relocate failure.
  • We can now safely modify the heap_size as we want. :)

QR Code
QR Code soc:2010:cooldavid:journal:week9 (generated for current page)