Hello,
Here is what I'm planning to do to send requests from
a program to Ruby cache controller. Please correct me
if I'm wrong.
- I'll define a magic instruction in commands.C. This
instruction will be called in the program.
- I'll define an action in *.sm file This action will
be handled when the magic instruction is called.
My question is: how should I define the action in
commands.C so that it's get called when the magic
instruction is called? For example, if my action's
name is aa_myAction, would it work if I do the
following in commands.C?
else if (val == 61) { // my magic number
printf("My magic instruction\n");
L1Cache_Controller::aa_myAction;
}
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.