mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
24 lines
215 B
C
24 lines
215 B
C
#include <printk.h>
|
|
|
|
|
|
char buffer[512];
|
|
|
|
int main(void)
|
|
{
|
|
int i;
|
|
|
|
printk("Hello World!\n");
|
|
|
|
ide_init();
|
|
|
|
ide_read_sector(0, buffer, 0, 0, 512);
|
|
|
|
printk("%s", buffer+4);
|
|
|
|
printk("\nBYE!\n");
|
|
|
|
|
|
|
|
|
|
return(0);
|
|
}
|