Move reboot() and power_off() to new file, and rename to fit convention.
[pintos-anon] / src / Makefile.build
index 0934551144d38614c9c262e5b5acab01ed3843f1..ceb34121b6aeb5557097ad941f8119156c8ad323 100644 (file)
@@ -31,6 +31,7 @@ devices_SRC += devices/disk.c         # IDE disk device.
 devices_SRC += devices/input.c         # Serial and keyboard input.
 devices_SRC += devices/intq.c          # Interrupt queue.
 devices_SRC += devices/rtc.c           # Real-time clock.
+devices_SRC += devices/shutdown.c      # Reboot and power off.
 
 # Library code shared between kernel and user programs.
 lib_SRC  = lib/debug.c                 # Debug helpers.
@@ -38,7 +39,8 @@ lib_SRC += lib/random.c                       # Pseudo-random numbers.
 lib_SRC += lib/stdio.c                 # I/O library.
 lib_SRC += lib/stdlib.c                        # Utility functions.
 lib_SRC += lib/string.c                        # String functions.
-lib_SRC += lib/arithmetic.c
+lib_SRC += lib/arithmetic.c            # 64-bit arithmetic for GCC.
+lib_SRC += lib/ustar.c                 # Unix standard tar format utilities.
 
 # Kernel-specific library code.
 lib/kernel_SRC  = lib/kernel/debug.c   # Debug helpers.