I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / WebPal
Cache Flush?

New MessageCache Flush? (modified 0 times) xeon
Profile
Can someone tell me if this looks right?

#define CLEAR_CACHE(BEG,END) \
{ \
register unsigned long _beg __asm ("a1") = (unsigned long)(BEG); \
register unsigned long _end __asm ("a2") = (unsigned long)(END); \
register unsigned long _flg __asm ("a3") = 0; \
__asm __volatile ("swi 0x9f0002 @ sys_cacheflush" \
: /* no outputs */ \
: /* no inputs */ \
: "a1"); \
}


-Xeon
11-15-2002 17:00:11

New MessageRE:Cache Flush? (modified 0 times) bigbrd
Profile
If you want to use rob's program, you should add a flush cache
to rob's program, just after it
disables mmu, just after the
        mcr      p15, 0, r1, c1, c0 
add the following:

        mov     r1,#0
mcr p15,0,r1,c7,c0 @flush cache
11-16-2002 01:30:31

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3