OSDN Git Service

modify MicroBlaze sample
authorryuz <ryuz@users.sourceforge.jp>
Mon, 4 Jul 2011 15:57:45 +0000 (00:57 +0900)
committerryuz <ryuz@users.sourceforge.jp>
Mon, 4 Jul 2011 15:57:45 +0000 (00:57 +0900)
kernel/include/arch/proc/mb/mb_v8/procatr.h
sample/mb/smm/gcc/Makefile
sample/mb/smm/ostimer.c
sample/mb/smm/uart.h

index 940fd53..09b29f4 100644 (file)
@@ -30,7 +30,7 @@
 #define _KERNEL_PROCATR_SPT_MULTINT                    FALSE           /**< %jp{多重割込みに対応しているか?} */
 
 #define _KERNEL_PROCATR_TMIN_INHNO                     0                       /**< %jp{割込みハンドラ番号の最小値} */
-#define _KERNEL_PROCATR_TMAX_INHNO                     255                     /**< %jp{割込みハンドラ番号の最大値} */
+#define _KERNEL_PROCATR_TMAX_INHNO                     0                       /**< %jp{割込みハンドラ番号の最大値} */
 
 #define _KERNEL_PROCATR_TMIN_EXCNO                     0                       /**< %jp{CPU例外ハンドラ番号の最小値} */
 #define _KERNEL_PROCATR_TMAX_EXCNO                     0                       /**< %jp{CPU例外ハンドラ番号の最大値} */
index f3e22be..4e9b6e7 100644 (file)
@@ -56,8 +56,8 @@ SRC_DIRS += . ..
 
 
 # %jp{オプションフラグ}%en{option flags}
-AFLAGS  = -mcpu=v7.30.a -mbig-endian
-CFLAGS  = -mcpu=v7.30.a -mbig-endian
+AFLAGS  = -mcpu=v7.30.a -mbig-endian -mno-xl-soft-mul
+CFLAGS  = -mcpu=v7.30.a -mbig-endian -mno-xl-soft-mul
 LNFLAGS = -mcpu=v7.30.a -mbig-endian -nostartfiles -Wl,-Map,$(TARGET).map,-T$(LINK_SCRIPT)
 
 
index df882f1..ce96f72 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "kernel.h"
 #include "ostimer.h"
+#include "uart.h"
 
 
 #define INHNO_TIMER                    0
index 84b56f9..ecad2ce 100644 (file)
@@ -9,8 +9,8 @@
  */
 
 
-#ifndef __ostimer_h__
-#define __ostimer_h__
+#ifndef __uart_h__
+#define __uart_h__
 
 
 #ifdef __cplusplus
@@ -31,7 +31,7 @@ void Uart_PutHexWord(unsigned long w);
 #endif
 
 
-#endif /* __ostimer_h__ */
+#endif /* __uart_h__ */
 
 
 /* end of file */