Repository navigation
Add the Process Manager's process list - #52
Merged
Merged
Conversation
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.
Adds
ProcessManagerto GraphiteCore, following a new Mac OS 9.2.2 capture.Capture
ProcessManagerCapture.c(Retro68, PowerPC) records the program's own process serial number andGetProcessInformationrecord, the listGetNextProcesswalks, the front process,SameProcesson the special serial numbers and the errors for numbers that name no process. Its output on Mac OS 9.2.2 under UTM isProcessManager-macos-9.2.2-ppc.txt, unmodified. The README section lists what it showed.Behavior
ProcessSerialNumberwithkNoProcess(0),kSystemProcess(1) andkCurrentProcess(2).GetNextProcesswalks the host's list in launch order;kNoProcessgives the first, and the end,kCurrentProcessor an unknown number is procNotFound withkNoProcessleft in the serial number.GetProcessInformationtakeskCurrentProcessas the caller; the other special numbers and unknown numbers are procNotFound, and a record length other than 60 is paramErr. Only a length of 4 was measured.SameProcessnever fails.SetFrontProcesssucceeds for a running process but the front process stays as it was until the host brings it forward.ProcessManagerTestsrebuilds the probe's output fromProcessManagerand compares it with the capture line by line.