isa-serial: Introduce early_init() to init driver ealier

Introduce early_init(), to initialize driver before using early console.
This is required for VMware.

Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com>
[ penberg: squash into one commit for bisectability ]
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
Another early-boot linefeed fix

After the previous patch, we get most of the linefeeds in early boot
fixed (see issue #371), except one after the first line, which is printed
by debug_early().

We need to do in debug_early() exactly the same thing described in the
previous patch, i.e., translate \n in the string to \r\n in the output.

Reviewed-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Nadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
fs: call abort on sys_panic, instead of kprintf

We want backtrace on sys_panic, too.

Signed-off-by: Takuya ASADA <syuu@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>