Rev 669 | Rev 1777 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 669 | Rev 1702 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup genarch |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #include <genarch/ofw/ofw.h> |
35 | #include <genarch/ofw/ofw.h> |
30 | #include <arch/asm.h> |
36 | #include <arch/asm.h> |
31 | #include <stdarg.h> |
37 | #include <stdarg.h> |
32 | #include <cpu.h> |
38 | #include <cpu.h> |
33 | #include <arch/types.h> |
39 | #include <arch/types.h> |
Line 119... | Line 125... | ||
119 | 125 | ||
120 | void *ofw_claim(const void *addr, const int size, const int align) |
126 | void *ofw_claim(const void *addr, const int size, const int align) |
121 | { |
127 | { |
122 | return (void *) ofw_call("claim", 3, 1, addr, size, align); |
128 | return (void *) ofw_call("claim", 3, 1, addr, size, align); |
123 | } |
129 | } |
- | 130 | ||
- | 131 | /** @} |
|
- | 132 | */ |
|
- | 133 |