Fixed some inconsistent strict typing declarations.

Better strict typing.
This commit is contained in:
Kees van Reeuwijk
2010-05-25 07:23:24 +00:00
parent 2a8961cdac
commit ac14a989b3
9 changed files with 11 additions and 9 deletions

View File

@@ -93,7 +93,7 @@
#include "kernel/kernel.h"
EXTERN vir_bytes lapic_addr;
EXTERN u32_t lapic_eoi_addr;
EXTERN vir_bytes lapic_eoi_addr;
#define MAX_NR_IOAPICS 32
#define MAX_NR_BUSES 32

View File

@@ -320,7 +320,7 @@ for (rp = BEG_PROC_ADDR; rp < END_PROC_ADDR; ++rp) {
CHECK(rp->p_reg.gs, ds);
CHECK(rp->p_reg.fs, ds);
CHECK(rp->p_reg.ss, ds);
if(rp->p_endpoint != -2) {
if(rp->p_endpoint != SYSTEM) {
CHECK(rp->p_reg.es, ds);
}
CHECK(rp->p_reg.ds, ds);