kern

view src/segm.h @ 40:710739e33da8

- now read_rtc doesn't try to read weekday as it's probably wrong anyway, and doesn't set yearday either - mktime now fixes yearday and weekday - moved init_timer and init_rtc just before enabling the interrupts in main
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 12 Jun 2011 15:45:21 +0300
parents 78d5c304ddd0
children 8ea6debe4265
line source
1 #ifndef SEGM_H_
2 #define SEGM_H_
4 #define SEGM_KCODE 1
5 #define SEGM_KDATA 2
7 void init_segm(void);
9 uint16_t selector(int idx, int rpl);
12 #endif /* SEGM_H_ */