Subversion Repositories HelenOS

Rev

Rev 2200 | Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

#
# Copyright (c) 2003-2004 Jakub Jermar
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# - Redistributions of source code must retain the above copyright
#   notice, this list of conditions and the following disclaimer.
# - Redistributions in binary form must reproduce the above copyright
#   notice, this list of conditions and the following disclaimer in the
#   documentation and/or other materials provided with the distribution.
# - The name of the author may not be used to endorse or promote products
#   derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#

.text

.global calibrate_delay_loop
.global asm_delay_loop
.global dummy

#.global arch_grab_console
#.global arch_release_console

.global cpu_halt
.global fpu_context_restore
.global fpu_context_save
.global fpu_enable
.global fpu_init

#.global interrupts_disable
#.global interrupts_enable
#.global interrupts_read
#.global interrupts_restore
#.global memcpy
#.global memcpy_from_uspace
#.global memcpy_to_uspace
#.global memsetb

.global panic_printf
.global symbol_table
.global sys_tls_set

#.global tlb_invalidate_asid
#.global tlb_invalidate_pages

.global userspace
    
calibrate_delay_loop:
    # stop gxemul
    ldr r1, =0x10000010
    eor r2, r2
    strb   r3, [r1, r2]    
    bkpt    

asm_delay_loop:
    mov pc, lr // ret

cpu_halt:
    bkpt

fpu_context_restore:
    bkpt
    
fpu_context_save:
    bkpt
    
fpu_enable:
    bkpt

fpu_init:
    bkpt
    
panic_printf:
    bl debug_printf
    # stop gxemul
    ldr r1, =0x10000010
    eor r2, r2
    strb   r3, [r1, r2]    
    bkpt    

symbol_table:
    bkpt

sys_tls_set:
    bkpt

userspace:
    bkpt

dummy:

0:
    bkpt