Do not call open/close_peripheraldevice. That ties in too closely to ZiLOG's psuedo-OS
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@742 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
cc67653244
commit
5b5b6af723
@ -61,8 +61,6 @@
|
|||||||
xref __len_code
|
xref __len_code
|
||||||
xref __low_code
|
xref __low_code
|
||||||
xref __low_romcode
|
xref __low_romcode
|
||||||
xref __open_periphdevice
|
|
||||||
xref __close_periphdevice
|
|
||||||
xref _os_start
|
xref _os_start
|
||||||
xdef _ez80_startup
|
xdef _ez80_startup
|
||||||
xdef _ez80_halt
|
xdef _ez80_halt
|
||||||
@ -141,10 +139,6 @@ _ez80_datadone:
|
|||||||
ldir ; Copy the code section
|
ldir ; Copy the code section
|
||||||
_ez80_codedone:
|
_ez80_codedone:
|
||||||
|
|
||||||
; Initialize the peripheral devices
|
|
||||||
|
|
||||||
call __open_periphdevice
|
|
||||||
|
|
||||||
; Perform board-specific intialization
|
; Perform board-specific intialization
|
||||||
|
|
||||||
call _up_lowinit
|
call _up_lowinit
|
||||||
@ -155,7 +149,6 @@ _ez80_codedone:
|
|||||||
|
|
||||||
; NuttX will never return, but just in case...
|
; NuttX will never return, but just in case...
|
||||||
|
|
||||||
call __close_periphdevice
|
|
||||||
_ez80_halt:
|
_ez80_halt:
|
||||||
halt ; We should never get here
|
halt ; We should never get here
|
||||||
jp _ez80_halt
|
jp _ez80_halt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user