[Stage1] Add HEX display to screen.h [Stage1] Handle IRQ1 semi-gracefully [Stage1] Try (unsuccessfully) to "wait" for IRQ 1 (os_interrupt_wait())
13 lines
No EOL
232 B
C
13 lines
No EOL
232 B
C
#include "include/utils.h"
|
|
|
|
os_bool os_data_compare(os_u8* str0, os_u8* str1, os_u32 length) {
|
|
os_u32 count = 0;
|
|
while(count < length) {
|
|
if (str0[count] != str1[count]) {
|
|
return OS_FALSE;
|
|
}
|
|
count++;
|
|
}
|
|
|
|
return OS_TRUE;
|
|
} |