diff options
Diffstat (limited to 'asm')
| -rw-r--r-- | asm/asm_gdt.h | 2 | ||||
| -rw-r--r-- | asm/asm_mp.h | 1 | ||||
| -rw-r--r-- | asm/asm_pit.h | 10 | ||||
| -rw-r--r-- | asm/asm_task.h | 2 |
4 files changed, 13 insertions, 2 deletions
diff --git a/asm/asm_gdt.h b/asm/asm_gdt.h index 523b783..128dbf3 100644 --- a/asm/asm_gdt.h +++ b/asm/asm_gdt.h @@ -4,4 +4,4 @@ */ /** call as asm_setup_gdt(GDT,sizeof(GDT)) */ -void asm_setup_gdt(uint32_t addr, uint32_t size) +void asm_setup_gdt(uint32_t addr, uint32_t size); diff --git a/asm/asm_mp.h b/asm/asm_mp.h index 3ace14a..f207c12 100644 --- a/asm/asm_mp.h +++ b/asm/asm_mp.h @@ -1,2 +1,3 @@ /** Application processors */ void smp_start(); +void asm_smp_unlock(); diff --git a/asm/asm_pit.h b/asm/asm_pit.h index 58067bf..785acb3 100644 --- a/asm/asm_pit.h +++ b/asm/asm_pit.h @@ -20,3 +20,13 @@ void asm_pit_tick(); /** get number of ticks */ uint32_t asm_pit_get_ticks(); + +void asm_pit_sleep_50ms(); +void asm_pit_sleep_40ms(); +void asm_pit_sleep_10ms(); +void asm_pit_sleep_1ms(); + +void asm_pit_rate_50ms(); +void asm_pit_rate_40ms(); +void asm_pit_rate_10ms(); +void asm_pit_rate_1ms(); diff --git a/asm/asm_task.h b/asm/asm_task.h index 40a8c17..d0babb0 100644 --- a/asm/asm_task.h +++ b/asm/asm_task.h @@ -1 +1 @@ -/* empty */ +void task_pusha(uint32_t esp); |
