Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88912
b: refs/heads/master
c: 288621e
h: refs/heads/master
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Ingo Molnar committed Apr 17, 2008
1 parent 05d4619 commit d293831
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89bda4fccbd49f4b2bf59d0165391696037be856
refs/heads/master: 288621e32a7ae3a29c37b45297136c0264e2ff7b
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/relocate_kernel_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
*/

#define PTR(x) (x << 2)
#define PAGE_ALIGNED (1 << PAGE_SHIFT)
#define PAGE_ATTR 0x63 /* _PAGE_PRESENT|_PAGE_RW|_PAGE_ACCESSED|_PAGE_DIRTY */
#define PAE_PGD_ATTR 0x01 /* _PAGE_PRESENT */

.text
.align PAGE_ALIGNED
.align PAGE_SIZE
.globl relocate_kernel
relocate_kernel:
movl 8(%esp), %ebp /* list of pages */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/x86/kernel/relocate_kernel_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
*/

#define PTR(x) (x << 3)
#define PAGE_ALIGNED (1 << PAGE_SHIFT)
#define PAGE_ATTR 0x63 /* _PAGE_PRESENT|_PAGE_RW|_PAGE_ACCESSED|_PAGE_DIRTY */

.text
.align PAGE_ALIGNED
.align PAGE_SIZE
.code64
.globl relocate_kernel
relocate_kernel:
Expand Down

0 comments on commit d293831

Please sign in to comment.