Files
system76-embedded-controller/src/arch/8051/arch.c
Tim Crawford 5fd9df0ed0 Add SPDX license identifiers
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,'
2020-09-17 09:17:08 -06:00

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;
}