Add license information to files. Mostly automated with: find src/ -name '*.[c,h]' | xargs sed -i '1s,^,// SPDX-License-Identifier: GPL-3.0-only\n\n,' find src/ -name '*.mk' | xargs sed -i '1s,^,# SPDX-License-Identifier: GPL-3.0-only\n\n,'
17 lines
227 B
C
17 lines
227 B
C
// SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
#include <8051.h>
|
|
|
|
#include <arch/arch.h>
|
|
#include <arch/time.h>
|
|
|
|
void arch_init(void) {
|
|
// Disable interrupts
|
|
EA = 0;
|
|
|
|
time_init();
|
|
|
|
// Enable interrupts
|
|
EA = 1;
|
|
}
|