File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ extern "C" {
1111
1212extern void __platform_init ();
1313extern void default_stdout_handlers ();
14+ void __arch_subscribe_irq (unsigned char ) {} // for now
1415
1516char cmdline[256 ];
1617uintptr_t mem_size;
@@ -28,12 +29,6 @@ extern "C" {
2829 void set_stack ();
2930 void * get_cpu_ebp ();
3031
31- // Set to NULL. There are no interrupts in ukvm
32- void (*current_eoi_mechanism)();
33- void (*current_intr_handler)();
34- void (*cpu_sampling_irq_handler)();
35-
36-
3732 void kernel_start ()
3833 {
3934
@@ -67,12 +62,6 @@ extern "C" {
6762 // Call global ctors
6863 __libc_init_array ();
6964
70- // interrupts.asm uses these symbols. This is just to make the compiler happy.
71- // These won't ever be called.
72- current_eoi_mechanism = NULL ;
73- current_intr_handler = NULL ;
74- cpu_sampling_irq_handler = NULL ;
75-
7665 // Initialize OS including devices
7766 OS::start (cmdline, mem_size);
7867
@@ -91,5 +80,6 @@ extern "C" {
9180
9281 // set the stack location to its new includeos location, and call kernel_start
9382 set_stack ();
83+ return 0 ;
9484 }
9585}
You can’t perform that action at this time.
0 commit comments