aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include/arch/boot/pointers.hpp
blob: 9bf5cfd4f25d8c770947673bf8ea4289edcd75c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef TEACHOS_ARCH_X86_64_BOOT_POINTERS_HPP
#define TEACHOS_ARCH_X86_64_BOOT_POINTERS_HPP

#include <cstddef>

namespace teachos::arch::boot
{
  /**
   * @brief Address pointing to the start of the multiboot information structure.
   */
  extern "C" size_t const multiboot_information_pointer;

  /**
   * @brief Address pointing to the method that clears all segment registers.
   */
  extern "C" void reload_segment_register();

}  // namespace teachos::arch::boot

#endif  // TEACHOS_ARCH_X86_64_BOOT_POINTERS_HPP