memdisk: Use real_addr_t for SEG:OFF fields
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 9 Mar 2010 19:45:12 +0000 (14:45 -0500)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Fri, 11 Jun 2010 01:49:10 +0000 (01:49 +0000)
commit345a7cba6786de010359607e40f96f6fccbf40a5
tree7f68723e1f48ebef5c5b45dd064f6d5298609b71
parent2f4137d83abc2a63e982439b0506f6a630a91096
memdisk: Use real_addr_t for SEG:OFF fields

We used uint32_t in a few places where it's also handy
to refer to those fields' segment and offset components.
Now we can do so via the real_addr_t union type.

Additionally, there are a couple of places where we now
have pointer fields instead of uint32_t fields, because
we know what kind of struct the field is pointing to.

Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
memdisk/mstructs.h
memdisk/setup.c