1. Move run_bios prototype to device.h
2. Use time.h for get_time() and move tb_freq into functions.c 3. Move read_io and write_io to io.c and make them static 4. Make a couple of functions static in interrupt.c 5. Refactor a cast from char[] to u64 to get rid of potential alignment problems and a warning Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5191 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -159,9 +159,6 @@ u32 ebda_size;
|
||||
#define DEBUG_CHECK_VMEM_WRITE(_addr, _val)
|
||||
#endif
|
||||
|
||||
//defined in net-snk/kernel/timer.c
|
||||
extern u64 get_time(void);
|
||||
|
||||
void update_time(u32);
|
||||
|
||||
#if !defined(CONFIG_YABEL_DIRECTHW) || (!CONFIG_YABEL_DIRECTHW)
|
||||
|
Reference in New Issue
Block a user