[Gems-users] Adding new function to CacheMemory


Date: Sun, 14 Jan 2007 20:31:58 +0200
From: "Shachar Gang" <shacharg@xxxxxxxxxxxxx>
Subject: [Gems-users] Adding new function to CacheMemory
Hi,

I am trying to add new function to CacheMemory class.
I added the declaration and the function itself just like the function
isTagPresent and changePermission but when adding a call to the function from
in .sm file (MSI_MOSI_CMP_directory-L1cache.sm for example) and trying to
compile ruby I get the following error:
../protocols/MSI_MOSI_CMP_directory-L1cache.sm:188: Error: Invalid method
call: Type 'CacheMemory' does not have a method 'setNoDrowsy_Address'
The function setNoDrowsy has the same structure as isTagPresent (accept the
const on the function because this function change data)

Can anyone help me with that?

Thanks,
Shachar Gang

--
Open WebMail Project (http://openwebmail.org)

[← Prev in Thread] Current Thread [Next in Thread→]