fix a bug of header file dependency error

1. in tos_k.h, port_config.h should go ahead of tos_cpu_types.h
This commit is contained in:
daishengdong
2020-02-18 10:38:02 +08:00
parent 5868b6bdb6
commit 0d6f72a351
5 changed files with 30 additions and 18 deletions

View File

@@ -14,17 +14,17 @@
PUBLIC port_irq_context_switch
PUBLIC port_context_switch
port_int_disable
port_int_disable:
SIM
RET
port_int_enable
port_int_enable:
RIM
RET
port_cpsr_save
port_cpsr_save:
/* does not work:
LD A, CC
*/
@@ -34,7 +34,7 @@ port_cpsr_save
RET
port_cpsr_restore
port_cpsr_restore:
/* does not work:
LD CC, A
*/