mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
2000-09-22 Joel Sherrill <joel@OARcorp.com>
* Makefile.am, cpu_asm.S, psmacro.ah, rtems/score/cpu.h: First attempt to compile with GNU tools. Minor modifications to compile enough to get to assembler errors.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2000-09-22 Joel Sherrill <joel@OARcorp.com>
|
||||
|
||||
* Makefile.am, cpu_asm.S, psmacro.ah, rtems/score/cpu.h:
|
||||
First attempt to compile with GNU tools. Minor modifications
|
||||
to compile enough to get to assembler errors.
|
||||
|
||||
2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* Makefile.am: Include compile.am, remove duplicate includes.
|
||||
|
||||
@@ -5,26 +5,29 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../../../../../../automake/compile.am
|
||||
include $(top_srcdir)/../../../../../../automake/lib.am
|
||||
|
||||
SUBDIRS = rtems
|
||||
|
||||
C_FILES = cpu.c
|
||||
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
||||
|
||||
H_FILES = amd.ah asm.h cpu_asm.h pswmacro.ah register.ah
|
||||
H_FILES = amd.ah asm.h pswmacro.ah register.ah
|
||||
|
||||
S_FILES = cpu_asm.S sig.S
|
||||
S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../../../../../../automake/compile.am
|
||||
include $(top_srcdir)/../../../../../../automake/lib.am
|
||||
|
||||
$(PROJECT_INCLUDE):
|
||||
$(mkinstalldirs) $@
|
||||
|
||||
$(PROJECT_INCLUDE)/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
$(PROJECT_INCLUDE)/%.ah: %.ah
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
; */
|
||||
|
||||
;#include <cpu_asm.h>
|
||||
.include "register.ah"
|
||||
.include "amd.ah"
|
||||
.include "pswmacro.ah"
|
||||
#include <register.ah>
|
||||
#include <amd.ah>
|
||||
#include <pswmacro.ah>
|
||||
; .extern _bsp_exit
|
||||
;
|
||||
; push a register onto the struct
|
||||
|
||||
@@ -281,8 +281,8 @@ $1:
|
||||
nop ;
|
||||
add v2, rfb, 0 ;
|
||||
$2:
|
||||
cpeq v0, v3, rfb ; fill rfb->'rfb
|
||||
jmpt v0, $3 ; if rfb==rfb'
|
||||
cpeq v0, v3, rfb ; fill rfb->rfb
|
||||
jmpt v0, $3 ; if rfb==rfb
|
||||
const tav, (0x80<<2) ; prepare for fill
|
||||
or tav, tav, v2 ;
|
||||
|
||||
@@ -294,12 +294,12 @@ $2:
|
||||
mtsr cr, tav ;
|
||||
loadm 0, 0, gr0, v2 ; fill from LA->rfb
|
||||
$3:
|
||||
add rfb, v3, 0 ; move rfb upto 'rfb
|
||||
add rfb, v3, 0 ; move rfb upto rfb
|
||||
sub rab, v1, 0 ; assign rab to rfb-512
|
||||
|
||||
add v0, msp, SIGCTX_GR1 ;
|
||||
load 0, 0, v2, v0 ; v0 = interrupted gr1
|
||||
add gr1, v2, 0 ; move gr1 upto 'gr1
|
||||
add gr1, v2, 0 ; move gr1 upto gr1
|
||||
nop ;
|
||||
.endm
|
||||
|
||||
|
||||
@@ -310,7 +310,7 @@ extern void a29k_sigdfl_sup(void);
|
||||
*
|
||||
*/
|
||||
|
||||
#error "Check these definitions!!!"
|
||||
#warning "Check these definitions!!!"
|
||||
|
||||
#define CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
|
||||
#define CPU_BIG_ENDIAN TRUE
|
||||
@@ -479,7 +479,7 @@ typedef struct {
|
||||
* _CPU_Context_Initialize.
|
||||
*/
|
||||
|
||||
EXTERN Context_Control_fp _CPU_Null_fp_context;
|
||||
SCORE_EXTERN Context_Control_fp _CPU_Null_fp_context;
|
||||
|
||||
/*
|
||||
* On some CPUs, RTEMS supports a software managed interrupt stack.
|
||||
@@ -494,8 +494,8 @@ EXTERN Context_Control_fp _CPU_Null_fp_context;
|
||||
* CPU_HAS_SOFTWARE_INTERRUPT_STACK is defined as TRUE.
|
||||
*/
|
||||
|
||||
EXTERN void *_CPU_Interrupt_stack_low;
|
||||
EXTERN void *_CPU_Interrupt_stack_high;
|
||||
SCORE_EXTERN void *_CPU_Interrupt_stack_low;
|
||||
SCORE_EXTERN void *_CPU_Interrupt_stack_high;
|
||||
|
||||
/*
|
||||
* With some compilation systems, it is difficult if not impossible to
|
||||
@@ -507,7 +507,7 @@ EXTERN void *_CPU_Interrupt_stack_high;
|
||||
* sequence (if a dispatch is necessary).
|
||||
*/
|
||||
|
||||
EXTERN void (*_CPU_Thread_dispatch_pointer)();
|
||||
SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
|
||||
|
||||
/*
|
||||
* Nothing prevents the porter from declaring more CPU specific variables.
|
||||
|
||||
Reference in New Issue
Block a user