-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 179743 b: refs/heads/master c: 0f4bd46 h: refs/heads/master i: 179741: 95eaea7 179739: 5536ccb 179735: 973be83 179727: f84b1d8 179711: fe48a44 v: v3
- Loading branch information
KOSAKI Motohiro
authored and
David Woodhouse
committed
Dec 31, 2009
1 parent
cd57d65
commit 29b0de3
Showing
2,999 changed files
with
53,612 additions
and
125,592 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 298a4c3a57fed38df365a6807728d1930a72c728 | ||
refs/heads/master: 0f4bd46ec252887f44f1f065b41867cac8f70dfb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* | ||
* File: Documentation/blackfin/cache-lock.txt | ||
* Based on: | ||
* Author: | ||
* | ||
* Created: | ||
* Description: This file contains the simple DMA Implementation for Blackfin | ||
* | ||
* Rev: $Id: cache-lock.txt 2384 2006-11-01 04:12:43Z magicyang $ | ||
* | ||
* Modified: | ||
* Copyright 2004-2006 Analog Devices Inc. | ||
* | ||
* Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
* | ||
*/ | ||
|
||
How to lock your code in cache in uClinux/blackfin | ||
-------------------------------------------------- | ||
|
||
There are only a few steps required to lock your code into the cache. | ||
Currently you can lock the code by Way. | ||
|
||
Below are the interface provided for locking the cache. | ||
|
||
|
||
1. cache_grab_lock(int Ways); | ||
|
||
This function grab the lock for locking your code into the cache specified | ||
by Ways. | ||
|
||
|
||
2. cache_lock(int Ways); | ||
|
||
This function should be called after your critical code has been executed. | ||
Once the critical code exits, the code is now loaded into the cache. This | ||
function locks the code into the cache. | ||
|
||
|
||
So, the example sequence will be: | ||
|
||
cache_grab_lock(WAY0_L); /* Grab the lock */ | ||
|
||
critical_code(); /* Execute the code of interest */ | ||
|
||
cache_lock(WAY0_L); /* Lock the cache */ | ||
|
||
Where WAY0_L signifies WAY0 locking. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.