Date: | Thu, 18 Feb 2010 15:23:41 -0500 |
---|---|
From: | Carole-Jean Wu <carolewu@xxxxxxxxxxxxx> |
Subject: | Re: [Gems-users] UserMode vs. SupervisorMode cache requests |
Hello, Thanks for all of your response. The codes that handles the user/supervisor mode checks are returning strange values. I inserted my own debugging codes in ruby_operate(xxx) of ruby/modules/ruby.c to print out mem_op->mode. This variable, defined as enum in ruby/generated/MSI_MOSI_CMP_directory/AccessModeType.h should return something between 0 and 3; however, it returns very arbitrary values, e.g. 32771, 32779, etc etc. Can you suggest possible fixes for this problem? Thanks very much, Carole On Thu, Feb 18, 2010 at 1:35 AM, Philip Garcia <pcgarcia@xxxxxxxx> wrote: I'm pretty sure there's a bug in Opal regarding the change in context, and in the default install, it doesn't change what context is running. If this is the case, it's possible that the code that handles the user/supervisor mode checks might be checking the context and testing for zero, and always returning the wrong value. |
[← Prev in Thread] | Current Thread | [Next in Thread→] |
---|---|---|
|
Previous by Date: | Re: [Gems-users] UserMode vs. SupervisorMode cache requests, Philip Garcia |
---|---|
Next by Date: | Re: [Gems-users] UserMode vs. SupervisorMode cache requests, Byn Choi |
Previous by Thread: | Re: [Gems-users] UserMode vs. SupervisorMode cache requests, Philip Garcia |
Next by Thread: | Re: [Gems-users] UserMode vs. SupervisorMode cache requests, Byn Choi |
Indexes: | [Date] [Thread] |