• R/O
  • HTTP
  • SSH
  • HTTPS

hos-v4a: Commit

HOS-V4 Advance の開発リポジトリ


Commit MetaInfo

Revision209ed270ba391f33ed78668724d77601597e2080 (tree)
Zeit2011-07-05 00:57:45
Autorryuz <ryuz@user...>
Commiterryuz

Log Message

modify MicroBlaze sample

Ändern Zusammenfassung

Diff

--- a/kernel/include/arch/proc/mb/mb_v8/procatr.h
+++ b/kernel/include/arch/proc/mb/mb_v8/procatr.h
@@ -30,7 +30,7 @@
3030 #define _KERNEL_PROCATR_SPT_MULTINT FALSE /**< %jp{多重割込みに対応しているか?} */
3131
3232 #define _KERNEL_PROCATR_TMIN_INHNO 0 /**< %jp{割込みハンドラ番号の最小値} */
33-#define _KERNEL_PROCATR_TMAX_INHNO 255 /**< %jp{割込みハンドラ番号の最大値} */
33+#define _KERNEL_PROCATR_TMAX_INHNO 0 /**< %jp{割込みハンドラ番号の最大値} */
3434
3535 #define _KERNEL_PROCATR_TMIN_EXCNO 0 /**< %jp{CPU例外ハンドラ番号の最小値} */
3636 #define _KERNEL_PROCATR_TMAX_EXCNO 0 /**< %jp{CPU例外ハンドラ番号の最大値} */
--- a/sample/mb/smm/gcc/Makefile
+++ b/sample/mb/smm/gcc/Makefile
@@ -56,8 +56,8 @@ SRC_DIRS += . ..
5656
5757
5858 # %jp{オプションフラグ}%en{option flags}
59-AFLAGS = -mcpu=v7.30.a -mbig-endian
60-CFLAGS = -mcpu=v7.30.a -mbig-endian
59+AFLAGS = -mcpu=v7.30.a -mbig-endian -mno-xl-soft-mul
60+CFLAGS = -mcpu=v7.30.a -mbig-endian -mno-xl-soft-mul
6161 LNFLAGS = -mcpu=v7.30.a -mbig-endian -nostartfiles -Wl,-Map,$(TARGET).map,-T$(LINK_SCRIPT)
6262
6363
--- a/sample/mb/smm/ostimer.c
+++ b/sample/mb/smm/ostimer.c
@@ -11,6 +11,7 @@
1111
1212 #include "kernel.h"
1313 #include "ostimer.h"
14+#include "uart.h"
1415
1516
1617 #define INHNO_TIMER 0
--- a/sample/mb/smm/uart.h
+++ b/sample/mb/smm/uart.h
@@ -9,8 +9,8 @@
99 */
1010
1111
12-#ifndef __ostimer_h__
13-#define __ostimer_h__
12+#ifndef __uart_h__
13+#define __uart_h__
1414
1515
1616 #ifdef __cplusplus
@@ -31,7 +31,7 @@ void Uart_PutHexWord(unsigned long w);
3131 #endif
3232
3333
34-#endif /* __ostimer_h__ */
34+#endif /* __uart_h__ */
3535
3636
3737 /* end of file */
Show on old repository browser