Rev 347 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 347 | Rev 406 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | 33 | ||
34 | .global memmap_arch_init |
34 | .global memmap_arch_init |
35 | .global e801memorysize |
35 | .global e801memorysize |
36 | 36 | ||
37 | .code16 |
37 | .code16 |
38 | .section K_TEXT_START_2 |
38 | .section K_TEXT_START_2, "ax" |
39 | 39 | ||
40 | memmap_arch_init: |
40 | memmap_arch_init: |
41 | e820begin: |
41 | e820begin: |
42 | xorl %ebx,%ebx # during first call, ebx must be 0 |
42 | xorl %ebx,%ebx # during first call, ebx must be 0 |
43 | movw $e820table_boot,%di |
43 | movw $e820table_boot,%di |
Line 106... | Line 106... | ||
106 | movl %edx,e801memorysize |
106 | movl %edx,e801memorysize |
107 | e801end: |
107 | e801end: |
108 | ret |
108 | ret |
109 | 109 | ||
110 | 110 | ||
111 | .section K_DATA_START |
111 | .section K_DATA_START, "aw", @progbits |
112 | 112 | ||
113 | #memory size in 1 kb chunks |
113 | #memory size in 1 kb chunks |
114 | e801memorysize: |
114 | e801memorysize: |
115 | .long 0 |
115 | .long 0 |