James,
To answer your first question: yes, you are on the right track with your
understanding of how to add to CacheRequestType.
GenericRequestType and CacheRequestType have different purposes.
CacheRequestType identifies the type of CacheMsg and GenericRequestType is
a pseudo parent of all requests (both cache messages and network
messages) used to provide an interface between Ruby and SLICC generated
request types.
Brad
On Thu, 18 May 2006, Cong Wang wrote:
> Hi All:
> One more thing that relates to my original question, what's the
> difference between GenericRequestType and CacheRequestType? It seems
> that BEGIN_XACT, COMMIT_XACT and ABORT_XACT all are in both types, why?
> Thanks in advance.
> Regards
> James
> On 18/05/2006, at 1:55 PM, James Wang wrote:
>
> > Hi All:
> > I am trying to have a new kind of CacheRequestType inserted into
> > ruby. It seems that the place to add this is in
> > $GEMS/protocols/RubySlicc_Exports.sm. Does this file later get
> > translated
> > into C++ file, as into generated directory? Am I on the right track
> > here?
> > Regards
> > James
> >
> > _______________________________________________
> > Gems-users mailing list
> > Gems-users@xxxxxxxxxxx
> > https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>
-----------------------------------------------------------------
Department of Computer Science Residence
University of Wisconsin
1210 W. Dayton St. #6366 608 Eagle Heights Apt. L
Madison, WI 53706 Madison, WI 53705
(608)265-2702 (608)852-6133
-----------------------------------------------------------------
|