Rev 2198 | Rev 2323 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2198 | Rev 2236 | ||
---|---|---|---|
Line 25... | Line 25... | ||
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 | 29 | ||
- | 30 | #include "mm.h" |
|
- | 31 | ||
30 | .section BOOTSTRAP |
32 | .section BOOTSTRAP |
31 | 33 | ||
32 | .global start |
34 | .global start |
33 | .global jump_to_kernel |
35 | .global jump_to_kernel |
- | 36 | .global page_table |
|
34 | 37 | ||
35 | start: |
38 | start: |
36 | b bootstrap |
39 | b bootstrap |
37 | 40 | ||
38 | jump_to_kernel: |
41 | jump_to_kernel: |
39 | bx r0 |
42 | bx r0 |
40 | 43 | ||
41 | 44 | ||
- | 45 | # align for start of page |
|
42 | .section PT |
46 | .section PT |
- | 47 | ||
43 | # align for start of page |
48 | # make place for first level page table |
44 | .global page_table |
- | |
45 | page_table: |
49 | page_table: |
46 | .skip 4096*4 |
50 | .skip PTL0_ENTRIES_ARCH * 4 |
47 | # make place for first level page table |
- |