support non-smp and no serial console cases

This commit is contained in:
Li-Ta Lo 2001-11-13 06:31:17 +00:00
commit ff2025e3d1
2 changed files with 3 additions and 0 deletions

View file

@ -7,6 +7,8 @@ console_test: .string "\r\n\r\nLinuxBIOS starting...\r\n"
/* uses: ax, dx */
#if defined(SERIAL_CONSOLE)
#define __CONSOLE_INLINE_TX_AL TTYS0_TX_AL
#else
#define __CONSOLE_INLINE_TX_AL
#endif
/* uses: esp, ax, dx */

View file

@ -11,6 +11,7 @@ void startup_other_cpus(unsigned long *processor_map);
#else
#define this_processors_id() 0
#define startup_other_cpus(p) do {} while(0)
#define processor_index(p) 0
#endif
#endif /* SMP_START_STOP_H */