misc: Add the SE mode m5 ops to m5ops.h.
authorGabe Black <gabeblack@google.com>
Thu, 26 Mar 2020 23:36:38 +0000 (16:36 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 28 Apr 2020 01:07:43 +0000 (01:07 +0000)
These shouldn't be called in fs mode through the m5 utility and
probably shouldn't be called directly either, but this makes them
consistent with the other functions which are mentioned in
asm/generic/m5ops.h.

Change-Id: I80df8b4d507350bc6d2763e770e38e0370931632
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27236
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
include/gem5/m5ops.h

index 1c080175eb7d8bfb8e175f93152ade9741f08186..3edd4e647af776571040ca94b36c97652d623a99 100644 (file)
@@ -62,6 +62,9 @@ void m5_panic(void);
 void m5_work_begin(uint64_t workid, uint64_t threadid);
 void m5_work_end(uint64_t workid, uint64_t threadid);
 
+void m5_se_syscall();
+void m5_se_page_fault();
+
 #ifdef __cplusplus
 }
 #endif