Networking Mostly Works!

The porting of a simple network stack to the operating system is now complete enough for simple HTTP demonstrations, and with a few differences to xv6-riscv-net:

  • The system call layer has been implemented anew, but not the driver layer (the old network driver is used for now)
  • Internal event processing is driven by a system call in a user-mode program instead of by software interrupts, this mechanism works for now but could be revised
  • UDP is not hooked up yet
  • The send/recv system calls accept larger buffer sizes (they break it into smaller buffered pieces internally)
  • The read/write system calls can also be used on sockets, except not with large buffers yet (that will mimic the new send/recv code)

There will be some more updates soon, together with downloadables and plans for future improvements.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *