Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJojo R <jiejie_rong@c-sky.com>2020-09-25 18:01:25 +0300
committerJeff Johnston <jjohnstn@redhat.com>2020-09-25 18:02:34 +0300
commit648365e0e990489ecff21af17b743e74417aab3b (patch)
tree179d4c2cf48cfa156d7e39d708a1d1f110539c21 /libgloss/csky/io-semi.S
parentc1f7c4d1b6d7424d7081fd382ac83a631b7671ff (diff)
Add C-SKY port for libgloss
This patch contain all libgloss for C-SKY Contributor list: - Lifang Xia <lifang_xia@c-sky.com> - Jojo R <jiejie_rong@c-sky.com> - Xianmiao Qu <xianmiao_qu@c-sky.com> - Yunhai Shang <yunhai_shang@c-sky.com>
Diffstat (limited to 'libgloss/csky/io-semi.S')
-rw-r--r--libgloss/csky/io-semi.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/libgloss/csky/io-semi.S b/libgloss/csky/io-semi.S
new file mode 100644
index 000000000..d7cad5964
--- /dev/null
+++ b/libgloss/csky/io-semi.S
@@ -0,0 +1,22 @@
+/* Copyright (c) 2020 C-SKY Microsystems All rights reserved.
+
+ This copyrighted material is made available to anyone wishing to use,
+ modify, copy, or redistribute it subject to the terms and conditions
+ of the FreeBSD License. This program is distributed in the hope that
+ it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
+ including the implied warranties of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. A copy of this license is available at
+ http://www.opensource.org/licenses.
+*/
+
+/* int __hosted (int sys_operate, int *args); */
+.text
+.global __hosted
+.type __hosted, @function
+.align 2
+
+__hosted:
+ nop
+ bkpt
+ .long 0x7fff7fff
+ rts