support non-smp and no serial console cases
This commit is contained in:
parent
64e3a29930
commit
ff2025e3d1
2 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue