Add .chip directive

This commit is contained in:
Laurent Vivier 2004-06-09 12:24:24 +00:00
parent e96721c090
commit 97ac148b40
5 changed files with 7 additions and 12 deletions

View File

@ -4,6 +4,8 @@
*
*/
.chip 68030
.global MMU030_get_TC
MMU030_get_TC:
link.w %fp,#0

View File

@ -4,6 +4,8 @@
*
*/
.chip 68040
.global MMU040_get_TC
MMU040_get_TC:
link.w %fp,#0

View File

@ -32,18 +32,6 @@ second: second.o
second.o: $(OBJS) ld.script
$(LD) -T ld.script -o second.o $(OBJS)
MMU030_asm.o: MMU030_asm.S
$(AS) $(ASFLAGS) -m68030 -o $@ $^
enter_kernel030.o: enter_kernel030.S copymem.i
$(AS) $(ASFLAGS) -m68030 -o $@ $<
MMU040_asm.o: MMU040_asm.S
$(AS) $(ASFLAGS) -m68040 -o $@ $^
enter_kernel040.o: enter_kernel040.S copymem.i
$(AS) $(ASFLAGS) -m68040 -o $@ $<
.c.o:
$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $^

View File

@ -4,6 +4,8 @@
*
*/
.chip 68030
.include "copymem.i"
.align 4

View File

@ -3,6 +3,7 @@
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
*
*/
.chip 68040
.include "copymem.i"