boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

00211.c (255B)


      1 extern int printf(const char *format, ...);
      2 
      3 #define ACPI_TYPE_INVALID       0x1E
      4 #define NUM_NS_TYPES            ACPI_TYPE_INVALID+1
      5 int array[NUM_NS_TYPES];
      6 
      7 #define n 0xe
      8 int main()
      9 {
     10     printf("n+1 = %d\n", n+1);
     11 //    printf("n+1 = %d\n", 0xe+1);
     12 }