Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(73)

Unified Diff: src/pkg/runtime/linux/arm/sys.s

Issue 2150042: code review 2150042: runtime: use manual stack for garbage collection (Closed)
Patch Set: code review 2150042: runtime: use manual stack for garbage collection Created 14 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/runtime/linux/amd64/sys.s ('k') | src/pkg/runtime/linux/mem.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/runtime/linux/arm/sys.s
===================================================================
--- a/src/pkg/runtime/linux/arm/sys.s
+++ b/src/pkg/runtime/linux/arm/sys.s
@@ -25,6 +25,7 @@
#define SYS_gettid (SYS_BASE + 224)
#define SYS_futex (SYS_BASE + 240)
#define SYS_exit_group (SYS_BASE + 248)
+#define SYS_munmap (SYS_BASE + 91)
#define ARM_BASE (SYS_BASE + 0x0f0000)
#define SYS_ARM_cacheflush (ARM_BASE + 2)
@@ -64,6 +65,13 @@
SWI $0
RET
+TEXT ·mmap(SB),7,$0
+ MOVW 0(FP), R0
+ MOVW 4(FP), R1
+ MOVW $SYS_munmap, R7
+ SWI $0
+ RET
+
TEXT gettime(SB),7,$32
/* dummy version - return 0,0 */
MOVW $0, R1
« no previous file with comments | « src/pkg/runtime/linux/amd64/sys.s ('k') | src/pkg/runtime/linux/mem.c » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b