Changeset 3e828ea in mainline for uspace/lib/c/arch/arm64/src/crt0.S


Ignore:
Timestamp:
2019-09-23T12:49:29Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
9be2358
Parents:
9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
git-committer:
Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
Message:

Merge changes from master, especially Meson build

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/arm64/src/crt0.S

    r9259d20 r3e828ea  
    11#
    2 # Copyright (c) 2017 Jiri Svoboda
     2# Copyright (c) 2015 Petr Pavlu
    33# All rights reserved.
    44#
     
    2727#
    2828
    29 cfg_file = doxygen.cfg
    30 gen_cfg = doxygen.cfg.gen
    31 patch_file = doxygen.cfg.diff
    32 output_dirs = latex html
     29#include <abi/asmtool.h>
    3330
    34 all: doxygen.cfg
    35         doxygen $^
     31.text
    3632
    37 clean:
    38         rm -f $(gen_cfg) $(cfg_file)
    39         rm -rf $(output_dirs)
     33.org 0
    4034
    41 $(cfg_file): $(gen_cfg)
    42         cp $^ $@
    43         patch $@ $(patch_file)
     35## User-space task entry point
     36#
     37# x0 contains the PCB pointer
     38#
     39SYMBOL(_start)
     40        #
     41        # Create the first stack frame.
     42        #
     43        mov x29, #0
     44        stp x29, x30, [sp, #-16]!
     45        mov x29, sp
    4446
    45 $(gen_cfg):
    46         doxygen -g $@
     47        # Pass pcb_ptr to __c_start as the first argument (in x0)
     48        bl __c_start
Note: See TracChangeset for help on using the changeset viewer.