Various smaller code fixes:
- Use 'static' for functions and structs which are not meant to be public. - Use 'const' for variables which are not meant to be modified. - Move some prototypes into legacy.h where they belong. - Drop prototypes for non-existing functions. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Marc Jones <marc.jones@amd.com> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@460 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
064cd70619
commit
7705f6a682
11 changed files with 61 additions and 77 deletions
|
|
@ -196,11 +196,4 @@ static inline __attribute__((always_inline)) void hlt(void)
|
|||
__asm__ __volatile__("hlt" : : : "memory");
|
||||
}
|
||||
|
||||
/* Random other functions. These are not architecture-specific, except they
|
||||
* really are in many ways. Seperate the PC from the "X86" is hard.
|
||||
*/
|
||||
void uart_init(void);
|
||||
void rtc_init(int invalid);
|
||||
void isa_dma_init(void);
|
||||
|
||||
#endif /* ARCH_X86_CPU_H */
|
||||
|
|
|
|||
|
|
@ -32,3 +32,8 @@
|
|||
#define I82C54_COUNTER0 0x40
|
||||
#define I82C54_COUNTER1 0x41
|
||||
#define I82C54_COUNTER2 0x42
|
||||
|
||||
void setup_i8259(void);
|
||||
void uart_init(void);
|
||||
void rtc_init(int invalid);
|
||||
void isa_dma_init(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue