comparison kernel/arch/vexpressA9.c3 @ 388:e07c2a9abac1

Enabled paging in kernel
author Windel Bouwman
date Fri, 02 May 2014 14:51:46 +0200
parents 6df89163e114
children
comparison
equal deleted inserted replaced
387:34ac19044b8a 388:e07c2a9abac1
14 } 14 }
15 15
16 function void putc(int c) 16 function void putc(int c)
17 { 17 {
18 var int *UART0DR; 18 var int *UART0DR;
19 UART0DR = cast<int*>(0x10009000); // UART0 DR register 19 UART0DR = cast<int*>(0x109000); // UART0 DR register when remapped at 1MB
20 *UART0DR = c; 20 *UART0DR = c;
21 } 21 }
22 22
23 function void halt() 23 function void halt()
24 { 24 {