diff options
author | phk <phk@FreeBSD.org> | 1996-05-02 10:43:17 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-05-02 10:43:17 +0000 |
commit | 779840c457bb3a546512321e6b47d89829e421ca (patch) | |
tree | cb8228f2628c3afe7a8e21ed27769c79832dab3b /sys/i386/boot/netboot/main.c | |
parent | 2476b0058a968684c543c328f819404038e7c419 (diff) | |
download | FreeBSD-src-779840c457bb3a546512321e6b47d89829e421ca.zip FreeBSD-src-779840c457bb3a546512321e6b47d89829e421ca.tar.gz |
First pass at cleaning up macros relating to pages, clusters and all that.
Diffstat (limited to 'sys/i386/boot/netboot/main.c')
-rw-r--r-- | sys/i386/boot/netboot/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/boot/netboot/main.c b/sys/i386/boot/netboot/main.c index bc8f48c..0ff7c3d 100644 --- a/sys/i386/boot/netboot/main.c +++ b/sys/i386/boot/netboot/main.c @@ -278,7 +278,7 @@ cfg_done: offset = N_TXTOFF(head); printf("text=0x%X, ",head.a_text); nfsload(head.a_text); - while (((int)loadpoint) & CLOFSET) + while (((int)loadpoint) & PAGE_MASK) *(loadpoint++) = 0; printf("data=0x%X, ",head.a_data); @@ -287,7 +287,7 @@ cfg_done: printf("bss=0x%X, ",head.a_bss); while(head.a_bss--) *(loadpoint++) = 0; - while (((int)loadpoint) & CLOFSET) + while (((int)loadpoint) & PAGE_MASK) *(loadpoint++) = 0; bootinfo.bi_symtab = (int) loadpoint; |