Enable interrupts for all threads, set I/O privilege level (IOPL) to 3 for core threads to allow UART access.