Changeset 93165be in mainline for generic/include/mm/frame.h
- Timestamp:
- 2006-03-16T23:54:05Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5fceec7
- Parents:
- ff14c520
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/mm/frame.h
rff14c520 r93165be 62 62 #define FRAME_ERROR 2 /* frame_alloc return status */ 63 63 64 /* Return true if the interlvals overlap */65 static inline int overlaps(__address s1,__address sz1, __address s2, __address sz2)66 {67 __address e1 = s1+sz1;68 __address e2 = s2+sz2;69 70 return s1 < e2 && s2 < e1;71 }72 73 64 static inline __address PFN2ADDR(pfn_t frame) 74 65 {
Note:
See TracChangeset
for help on using the changeset viewer.