Rev 4343 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4343 | Rev 4344 | ||
---|---|---|---|
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 ppc32mm |
29 | /** @addtogroup ppc32mm |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
Line 61... | Line 61... | ||
61 | last_frame = ALIGN_UP(last_frame + size, FRAME_SIZE); |
61 | last_frame = ALIGN_UP(last_frame + size, FRAME_SIZE); |
62 | 62 | ||
63 | return virtaddr; |
63 | return virtaddr; |
64 | } |
64 | } |
65 | 65 | ||
66 | void hw_area(uintptr_t *physaddr, pfn_t *frames) |
- | |
67 | { |
- | |
68 | *physaddr = end_frame; |
- | |
69 | *frames = ADDR2PFN(0xffffffff - end_frame); |
- | |
70 | } |
- | |
71 | - | ||
72 | /** @} |
66 | /** @} |
73 | */ |
67 | */ |