@@ -125,7 +125,6 @@ struct SendArgs<'a> {
125
125
/// Core implementation of the SEND syscall.
126
126
///
127
127
/// See the note on syscall stubs at the top of this module for rationale.
128
- #[ inline( never) ]
129
128
#[ naked]
130
129
unsafe extern "C" fn sys_send_stub ( _args : & mut SendArgs < ' _ > ) -> RcLen {
131
130
asm ! ( "
@@ -260,7 +259,6 @@ pub struct RecvMessage {
260
259
/// Core implementation of the RECV syscall.
261
260
///
262
261
/// See the note on syscall stubs at the top of this module for rationale.
263
- #[ inline( never) ]
264
262
#[ naked]
265
263
#[ must_use]
266
264
unsafe extern "C" fn sys_recv_stub (
@@ -326,7 +324,6 @@ pub fn sys_reply(peer: TaskId, code: u32, message: &[u8]) {
326
324
/// Core implementation of the REPLY syscall.
327
325
///
328
326
/// See the note on syscall stubs at the top of this module for rationale.
329
- #[ inline( never) ]
330
327
#[ naked]
331
328
unsafe extern "C" fn sys_reply_stub (
332
329
_peer : u32 ,
@@ -390,7 +387,6 @@ pub fn sys_set_timer(deadline: Option<u64>, notifications: u32) {
390
387
/// Core implementation of the SET_TIMER syscall.
391
388
///
392
389
/// See the note on syscall stubs at the top of this module for rationale.
393
- #[ inline( never) ]
394
390
#[ naked]
395
391
unsafe extern "C" fn sys_set_timer_stub (
396
392
_set_timer : u32 ,
@@ -447,7 +443,6 @@ pub fn sys_borrow_read(
447
443
/// Core implementation of the BORROW_READ syscall.
448
444
///
449
445
/// See the note on syscall stubs at the top of this module for rationale.
450
- #[ inline( never) ]
451
446
#[ naked]
452
447
unsafe extern "C" fn sys_borrow_read_stub ( _args : * mut BorrowReadArgs ) -> RcLen {
453
448
asm ! ( "
@@ -506,7 +501,6 @@ pub fn sys_borrow_write(
506
501
/// Core implementation of the BORROW_WRITE syscall.
507
502
///
508
503
/// See the note on syscall stubs at the top of this module for rationale.
509
- #[ inline( never) ]
510
504
#[ naked]
511
505
unsafe extern "C" fn sys_borrow_write_stub (
512
506
_args : * mut BorrowWriteArgs ,
@@ -571,7 +565,6 @@ struct RawBorrowInfo {
571
565
/// Core implementation of the BORROW_INFO syscall.
572
566
///
573
567
/// See the note on syscall stubs at the top of this module for rationale.
574
- #[ inline( never) ]
575
568
#[ naked]
576
569
unsafe extern "C" fn sys_borrow_info_stub (
577
570
_lender : u32 ,
@@ -615,7 +608,6 @@ pub fn sys_irq_control(mask: u32, enable: bool) {
615
608
/// Core implementation of the IRQ_CONTROL syscall.
616
609
///
617
610
/// See the note on syscall stubs at the top of this module for rationale.
618
- #[ inline( never) ]
619
611
#[ naked]
620
612
unsafe extern "C" fn sys_irq_control_stub ( _mask : u32 , _enable : u32 ) {
621
613
asm ! ( "
@@ -651,7 +643,6 @@ pub fn sys_panic(msg: &[u8]) -> ! {
651
643
/// Core implementation of the PANIC syscall.
652
644
///
653
645
/// See the note on syscall stubs at the top of this module for rationale.
654
- #[ inline( never) ]
655
646
#[ naked]
656
647
unsafe extern "C" fn sys_panic_stub ( _msg : * const u8 , _len : usize ) -> ! {
657
648
asm ! ( "
@@ -734,7 +725,6 @@ struct RawTimerState {
734
725
/// Core implementation of the GET_TIMER syscall.
735
726
///
736
727
/// See the note on syscall stubs at the top of this module for rationale.
737
- #[ inline( never) ]
738
728
#[ naked]
739
729
unsafe extern "C" fn sys_get_timer_stub ( _out : * mut RawTimerState ) {
740
730
asm ! ( "
@@ -875,7 +865,6 @@ pub fn sys_refresh_task_id(task_id: TaskId) -> TaskId {
875
865
/// Core implementation of the REFRESH_TASK_ID syscall.
876
866
///
877
867
/// See the note on syscall stubs at the top of this module for rationale.
878
- #[ inline( never) ]
879
868
#[ naked]
880
869
unsafe extern "C" fn sys_refresh_task_id_stub ( _tid : u32 ) -> u32 {
881
870
asm ! ( "
0 commit comments