More use of endpoint_t. Other code cleanup.
This commit is contained in:
@@ -50,7 +50,7 @@ PUBLIC int ioapic_enabled;
|
||||
PUBLIC u32_t ioapic_id_mask[8], lapic_id_mask[8];
|
||||
PUBLIC u32_t lapic_addr_vaddr;
|
||||
PUBLIC vir_bytes lapic_addr;
|
||||
PUBLIC u32_t lapic_eoi_addr;
|
||||
PUBLIC vir_bytes lapic_eoi_addr;
|
||||
PUBLIC u32_t lapic_taskpri_addr;
|
||||
PUBLIC int bsp_lapic_id;
|
||||
|
||||
|
||||
@@ -27,12 +27,12 @@
|
||||
#define DR7_LN_4(bp) (3 << (18+4*(bp))) /* 4 bytes */
|
||||
|
||||
/* debugreg.S */
|
||||
void ld_dr0(u32_t value);
|
||||
void ld_dr1(u32_t value);
|
||||
void ld_dr2(u32_t value);
|
||||
void ld_dr3(u32_t value);
|
||||
void ld_dr6(u32_t value);
|
||||
void ld_dr7(u32_t value);
|
||||
void ld_dr0(phys_bytes value);
|
||||
void ld_dr1(phys_bytes value);
|
||||
void ld_dr2(phys_bytes value);
|
||||
void ld_dr3(phys_bytes value);
|
||||
void ld_dr6(phys_bytes value);
|
||||
void ld_dr7(phys_bytes value);
|
||||
u32_t st_dr0(void);
|
||||
u32_t st_dr1(void);
|
||||
u32_t st_dr2(void);
|
||||
|
||||
Reference in New Issue
Block a user