Selfie master asg8 - #37
Open
sigsegv4 wants to merge 29 commits into
Open
Conversation
…s, that store our kernel Args Address, we can write our params now directly into the memory
…15 into selfie-master-asg6to7
…akes an extra parameter
…he kernel without print for now
…ed p1.mips32, createcontext and deletecontext, and execute and exit the processes right, note: we have some things hardcoded, we fix them up in the next few commits, try the OS with <make all>
… not get rid of one bug
mc_switchAfterMInstructions, code cleanup, still self-compiling but not self-running. ( Due the nature of our implementation that the first loaded binary must be the kernel.mips32!)
…15 into selfie-master-asg6to7
…letecontext, as for now i dont see why we would ned a hypercall for that so no flushPageInContext hyperall
Write test file to show difference with the consumer producer problem, without CAS and with CAS. To run the test: make cas, make ncas
…cas with differend counts:
…mutex variable now to ensure that only one thread at a time can write / read the stack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tfork, PCP und CAS implementiert.
Bitte um Rueckmeldung ob die treiberstack implementation so passt.
mit make cas wird der test mit cas aufgerufen
mit make ncas wird der test ohne cas aufgerufen (Hat noch einen bug beendet nicht)
in der file testPCP_cas.c ist der Testcode fuer cas ,
in der file testPCP_noCAS.c ist der Testcode ohne cas hypercall.