Zack

@zack-overflow

Joined on May 26, 2020

  • Overview In this assignment we will augment our frontend knowledge of creating beutiful websites by learning how to design backends, the designs that provide your sites with data and handle complex logic. You will build a replica of the API for the quiz website Kahoot. The assignment will help you practice more complex database and API design techniques and help you learn how to test a backend without using a frontend. Setup Database (Mongo) First, you need to install mongodb, the database client for this api. On OSX something like this should work: brew uninstall --force mongodb
     Like  Bookmark
  • Did you make the checkpoint? If not, what are your bugs/obstacles? (Buggy/incomplete submissions will get first priority for evaluation/feedback) We think that we made the checkpoint. We succesfully setup the region1 and region0 page tables, set the trap handler vector in virtual memory, set the stack pointer and the program counter, and initiated a simple kernel program. The one thing that we are less confident that we succesfully accomplished is the code for SetKernelBrk(). While in theory it does what it should do, we have not tested this enough to be confident in its possibly flaws. Any other questions? When we start ./yalnix we see that the heap gets a certain area: malloc has 0x28000 to 0x30000 But, the end of the data, specified by _kernel_data_end is 0x30000. How does this make sense? That means that in the initial setup we are mallocing not into the heap, but into the data portion of memory. Does this matter? --Ben
     Like  Bookmark