newlib: fix correction of repetitions in ksys.h
This commit is contained in:
@@ -1106,18 +1106,6 @@ KOSAPI ksys_set_time_err _ksys_set_date(ksys_date_bcd_t date)
|
||||
: "a"(22), "b"(1), "c"(date));
|
||||
}
|
||||
|
||||
/*============= Function 23 - wait for event with timeout. =============*/
|
||||
|
||||
KOSAPI uint32_t _ksys_wait_event_timeout(uint32_t timeout)
|
||||
{
|
||||
unsigned val;
|
||||
asm_inline(
|
||||
"int $0x40"
|
||||
: "=a"(val)
|
||||
: "a"(23), "b"(timeout));
|
||||
return val;
|
||||
}
|
||||
|
||||
/*========= Function 26, subfunction 2 - get keyboard layout. ==========*/
|
||||
|
||||
KOSAPI uint32_t _ksys_keyboard_layout(ksys_keyboard_layout_t layout, unsigned char* buf)
|
||||
@@ -1149,19 +1137,6 @@ KOSAPI ksys_lang_t _ksys_get_lang()
|
||||
return lang;
|
||||
}
|
||||
|
||||
/*===================== Function 18, subfunction 21 ====================*/
|
||||
/*=====Get the slot number of the process / thread by identifier.. =====*/
|
||||
|
||||
KOSAPI int _ksys_get_thread_slot(int PID)
|
||||
{
|
||||
int val;
|
||||
asm_inline(
|
||||
"int $0x40"
|
||||
: "=a"(val)
|
||||
: "a"(18), "b"(21), "c"(PID));
|
||||
return val;
|
||||
}
|
||||
|
||||
/*============= Function 23 - wait for event with timeout. =============*/
|
||||
|
||||
KOSAPI uint32_t _ksys_wait_event_timeout(uint32_t timeout)
|
||||
|
||||
Reference in New Issue
Block a user